forked from qt-creator/qt-creator
IOptionsPage: replace virtual fuctions by data members
Change-Id: I8297df85109b67b79f90c33263a5dc7b89efbb60 Reviewed-by: Eike Ziller <eike.ziller@nokia.com>
This commit is contained in:
@@ -42,21 +42,14 @@ namespace Internal {
|
||||
class DocSettingsPage : public Core::IOptionsPage
|
||||
{
|
||||
Q_OBJECT
|
||||
typedef QHash<QString, QString> NameSpaceToPathHash;
|
||||
|
||||
public:
|
||||
DocSettingsPage();
|
||||
|
||||
QString id() const;
|
||||
QString displayName() const;
|
||||
QString category() const;
|
||||
QString displayCategory() const;
|
||||
QIcon categoryIcon() const;
|
||||
|
||||
QWidget *createPage(QWidget *parent);
|
||||
void apply();
|
||||
void finish() {}
|
||||
virtual bool matches(const QString &s) const;
|
||||
bool matches(const QString &s) const;
|
||||
|
||||
private slots:
|
||||
void addDocumentation();
|
||||
@@ -73,6 +66,7 @@ private:
|
||||
QString m_searchKeywords;
|
||||
QString m_recentDialogPath;
|
||||
|
||||
typedef QHash<QString, QString> NameSpaceToPathHash;
|
||||
NameSpaceToPathHash m_filesToRegister;
|
||||
NameSpaceToPathHash m_filesToUnregister;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user