Commit 9f46078a authored by Oswald Buddenhagen's avatar Oswald Buddenhagen

purge dead code

Change-Id: Iddd3ddd1a1128fa7f8b147fe56a1ce08f14b7075
Reviewed-by: default avatarDaniel Teske <daniel.teske@digia.com>
parent 9fd21d87
......@@ -55,14 +55,6 @@ using namespace ProjectExplorer;
using namespace QmakeProjectManager;
using namespace QmakeProjectManager::Internal;
// Known file types of a Qt 4 project
static const char *qmakeFileTypes[] = {
"CppHeaderFiles",
"CppSourceFiles",
"Qt4FormFiles",
"Qt4ResourceFiles"
};
QmakeManager::QmakeManager(QmakeProjectManagerPlugin *plugin)
: m_plugin(plugin),
m_contextNode(0),
......@@ -305,22 +297,3 @@ void QmakeManager::handleSubDirContextMenu(QmakeManager::Action action, bool isF
bc->setSubNodeBuild(0);
bc->setFileNodeBuild(0);
}
QString QmakeManager::fileTypeId(ProjectExplorer::FileType type)
{
switch (type) {
case HeaderType:
return QLatin1String(qmakeFileTypes[0]);
case SourceType:
return QLatin1String(qmakeFileTypes[1]);
case FormType:
return QLatin1String(qmakeFileTypes[2]);
case ResourceType:
return QLatin1String(qmakeFileTypes[3]);
case UnknownFileType:
default:
break;
}
return QString();
}
......@@ -76,9 +76,6 @@ public:
ProjectExplorer::FileNode *contextFile() const;
void setContextFile(ProjectExplorer::FileNode *file);
// Return the id string of a file
static QString fileTypeId(ProjectExplorer::FileType type);
enum Action { BUILD, REBUILD, CLEAN };
public slots:
......
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