MacroExpander: Remove unused method and include

Change-Id: I6f0d9656efcea7bcaf6552ae20bd9cd0acbe46f6
Reviewed-by: Christian Stenger <christian.stenger@digia.com>
This commit is contained in:
hjk
2014-11-05 17:35:24 +01:00
parent cf45c854e0
commit e5a174a353
3 changed files with 5 additions and 9 deletions

View File

@@ -29,10 +29,11 @@
****************************************************************************/ ****************************************************************************/
#include "macroexpander.h" #include "macroexpander.h"
#include "qtcassert.h"
#include "qtcprocess.h"
#include "algorithm.h" #include "algorithm.h"
#include "qtcassert.h"
#include "qtcprocess.h"
#include "stringutils.h"
#include <QCoreApplication> #include <QCoreApplication>
#include <QDebug> #include <QDebug>
@@ -417,11 +418,6 @@ MacroExpanders MacroExpander::subExpanders() const
return expanders; return expanders;
} }
AbstractMacroExpander *MacroExpander::abstractExpander() const
{
return d;
}
QString MacroExpander::displayName() const QString MacroExpander::displayName() const
{ {
return d->m_displayName; return d->m_displayName;

View File

@@ -31,7 +31,7 @@
#ifndef UTILS_MACROEXPANDER_H #ifndef UTILS_MACROEXPANDER_H
#define UTILS_MACROEXPANDER_H #define UTILS_MACROEXPANDER_H
#include "stringutils.h" #include "utils_global.h"
#include <functional> #include <functional>
@@ -89,7 +89,6 @@ public:
QString variableDescription(const QByteArray &variable) const; QString variableDescription(const QByteArray &variable) const;
MacroExpanders subExpanders() const; MacroExpanders subExpanders() const;
AbstractMacroExpander *abstractExpander() const;
QString displayName() const; QString displayName() const;
void setDisplayName(const QString &displayName); void setDisplayName(const QString &displayName);

View File

@@ -126,6 +126,7 @@
#include <utils/macroexpander.h> #include <utils/macroexpander.h>
#include <utils/parameteraction.h> #include <utils/parameteraction.h>
#include <utils/qtcassert.h> #include <utils/qtcassert.h>
#include <utils/stringutils.h>
#include <QtPlugin> #include <QtPlugin>
#include <QDebug> #include <QDebug>