Commit 5a604ac4 authored by Dāvis Mosāns's avatar Dāvis Mosāns
Browse files

Remove deprecated TestProject::TestProject(KUrl, QObject)

REVIEW: 120106
parent a6558c0d
......@@ -39,16 +39,6 @@ TestProject::TestProject(const Path& path, QObject* parent)
ICore::self()->projectController()->projectModel()->appendRow( m_root );
}
TestProject::TestProject(const KUrl& url, QObject* parent)
: IProject(parent)
, m_root(0)
, m_projectConfiguration(KSharedConfig::openConfig())
{
m_path = url.isValid() ? Path(url) : Path("/tmp/kdev-testproject/");
m_root = new ProjectFolderItem(this, m_path);
ICore::self()->projectController()->projectModel()->appendRow( m_root );
}
void TestProject::setPath(const Path& path)
{
m_path = path;
......
......@@ -46,7 +46,6 @@ public:
* @p url Path to project directory.
*/
TestProject(const Path& url = Path(), QObject* parent = 0);
KDEVPLATFORMTESTS_DEPRECATED TestProject(const KUrl& url, QObject* parent = 0);
virtual ~TestProject();
IProjectFileManager* projectFileManager() const { return 0; }
IBuildSystemManager* buildSystemManager() const { return 0; }
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment