diff options
Diffstat (limited to 'src/UiGuiHighlighter.h')
| -rwxr-xr-x | src/UiGuiHighlighter.h | 34 |
1 files changed, 17 insertions, 17 deletions
diff --git a/src/UiGuiHighlighter.h b/src/UiGuiHighlighter.h index 4ac0f35..67212f3 100755 --- a/src/UiGuiHighlighter.h +++ b/src/UiGuiHighlighter.h @@ -20,19 +20,19 @@ #ifndef UIGUIHIGHLIGHTER_H #define UIGUIHIGHLIGHTER_H -#include <tqobject.h> -#include <tqmap.h> -#include <tqfont.h> -#include <tqcolor.h> +#include <tntqobject.h> +#include <tntqmap.h> +#include <tntqfont.h> +#include <tntqcolor.h> -class QAction; -class QSettings; +class TQAction; +class TQSettings; class QsciScintilla; class QsciLexer; -class UiGuiHighlighter : public QObject +class UiGuiHighlighter : public TQObject { Q_OBJECT @@ -43,32 +43,32 @@ public: bool readCurrentSettings(const char *prefix); void writeCurrentSettings(const char *prefix); - QStringList getAvailableHighlighters(); + TQStringList getAvailableHighlighters(); public slots: //! The foreground color for style number \a style is set to \a color. If //! \a style is -1 then the color is set for all styles. - void setColor(const QColor &color, int style = -1); + void setColor(const TQColor &color, int style = -1); //! The font for style number \a style is set to \a font. If \a style is //! -1 then the font is set for all styles. - void setFont(const QFont &font, int style = -1); + void setFont(const TQFont &font, int style = -1); //! Sets the lexer that is responsible for the given \a extension. - int setLexerForExtension( QString extension ); + int setLexerForExtension( TQString extension ); - void setLexerByName( QString lexerName ); + void setLexerByName( TQString lexerName ); - void setHighlighterByAction(QAction* highlighterAction); + void setHighlighterByAction(TQAction* highlighterAction); private: bool _highlightningIsOn; QsciScintilla *_qsciEditorParent; - QMap<int, QFont> _fontForStyles; - QMap<int, QColor> _colorForStyles; + TQMap<int, TQFont> _fontForStyles; + TQMap<int, TQColor> _colorForStyles; QsciLexer* _lexer; - QSettings *_settings; - QMap<QString, QStringList> _mapHighlighternameToExtension; + TQSettings *_settings; + TQMap<TQString, TQStringList> _mapHighlighternameToExtension; }; #endif // UIGUIHIGHLIGHTER_H |
