From 125aaf861505176a7d8acc8ca36ca0094862785d Mon Sep 17 00:00:00 2001 From: Leandro Melo Date: Wed, 26 May 2010 10:58:44 +0200 Subject: Settings page for the generic highlighter. --- src/plugins/texteditor/generichighlighter/manager.h | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'src/plugins/texteditor/generichighlighter/manager.h') diff --git a/src/plugins/texteditor/generichighlighter/manager.h b/src/plugins/texteditor/generichighlighter/manager.h index 347a86c86b..9444984531 100644 --- a/src/plugins/texteditor/generichighlighter/manager.h +++ b/src/plugins/texteditor/generichighlighter/manager.h @@ -42,6 +42,7 @@ QT_BEGIN_NAMESPACE class QFileInfo; class QStringList; +class QDir; template class QFutureInterface; QT_END_NAMESPACE @@ -63,14 +64,17 @@ public: bool isBuildingDefinition(const QString &id) const; const QSharedPointer &definition(const QString &id); -private slots: +public slots: void registerMimeTypes(); + +private slots: void registerMimeType(int index) const; private: Manager(); Q_DISABLE_COPY(Manager) + void clear(); void gatherDefinitionsMimeTypes(QFutureInterface &future); void parseDefinitionMetadata(const QFileInfo &fileInfo, QString *comment, -- cgit v1.2.1