diff options
Diffstat (limited to 'sip/kspell/ksyntaxhighlighter.sip')
-rw-r--r-- | sip/kspell/ksyntaxhighlighter.sip | 32 |
1 files changed, 16 insertions, 16 deletions
diff --git a/sip/kspell/ksyntaxhighlighter.sip b/sip/kspell/ksyntaxhighlighter.sip index 55d5b8e..983b447 100644 --- a/sip/kspell/ksyntaxhighlighter.sip +++ b/sip/kspell/ksyntaxhighlighter.sip @@ -26,7 +26,7 @@ %If ( KDE_3_2_0 - ) -class KSyntaxHighlighter : QSyntaxHighlighter +class KSyntaxHighlighter : TQSyntaxHighlighter { %TypeHeaderCode #include <ksyntaxhighlighter.h> @@ -41,8 +41,8 @@ public: RichTextMode }; - KSyntaxHighlighter (QTextEdit*, bool = 0, const QColor& = Qt ::black , const QColor& = QColor (0x00 ,0x80 ,0x00 ), const QColor& = QColor (0x00 ,0x80 ,0x00 ), const QColor& = QColor (0x00 ,0x80 ,0x00 ), KSyntaxHighlighter::SyntaxMode = PlainTextMode ); - int highlightParagraph (const QString&, int); + KSyntaxHighlighter (TQTextEdit*, bool = 0, const TQColor& = TQt ::black , const TQColor& = TQColor (0x00 ,0x80 ,0x00 ), const TQColor& = TQColor (0x00 ,0x80 ,0x00 ), const TQColor& = TQColor (0x00 ,0x80 ,0x00 ), KSyntaxHighlighter::SyntaxMode = PlainTextMode ); + int highlightParagraph (const TQString&, int); }; // class KSyntaxHighlighter @@ -59,12 +59,12 @@ class KSpellingHighlighter : KSyntaxHighlighter public: - KSpellingHighlighter (QTextEdit*, const QColor& = Qt ::red , bool = 0, const QColor& = Qt ::black , const QColor& = QColor (0x00 ,0x80 ,0x00 ), const QColor& = QColor (0x00 ,0x80 ,0x00 ), const QColor& = QColor (0x00 ,0x80 ,0x00 )); - virtual int highlightParagraph (const QString&, int); - virtual bool isMisspelled (const QString&) = 0; + KSpellingHighlighter (TQTextEdit*, const TQColor& = TQt ::red , bool = 0, const TQColor& = TQt ::black , const TQColor& = TQColor (0x00 ,0x80 ,0x00 ), const TQColor& = TQColor (0x00 ,0x80 ,0x00 ), const TQColor& = TQColor (0x00 ,0x80 ,0x00 )); + virtual int highlightParagraph (const TQString&, int); + virtual bool isMisspelled (const TQString&) = 0; bool intraWordEditing () const; void setIntraWordEditing (bool); - static QStringList personalWords (); + static TQStringList personalWords (); }; // class KSpellingHighlighter @@ -73,7 +73,7 @@ public: %If ( KDE_3_2_0 - ) -class KDictSpellingHighlighter : QObject, KSpellingHighlighter +class KDictSpellingHighlighter : TQObject, KSpellingHighlighter { %TypeHeaderCode #include <ksyntaxhighlighter.h> @@ -81,8 +81,8 @@ class KDictSpellingHighlighter : QObject, KSpellingHighlighter public: - KDictSpellingHighlighter (QTextEdit*, bool = 1, bool = 1, const QColor& = Qt ::red , bool = 0, const QColor& = Qt ::black , const QColor& = QColor (0x00 ,0x80 ,0x00 ), const QColor& = QColor (0x00 ,0x70 ,0x00 ), const QColor& = QColor (0x00 ,0x60 ,0x00 ), KSpellConfig* = 0); - virtual bool isMisspelled (const QString&); + KDictSpellingHighlighter (TQTextEdit*, bool = 1, bool = 1, const TQColor& = TQt ::red , bool = 0, const TQColor& = TQt ::black , const TQColor& = TQColor (0x00 ,0x80 ,0x00 ), const TQColor& = TQColor (0x00 ,0x70 ,0x00 ), const TQColor& = TQColor (0x00 ,0x60 ,0x00 ), KSpellConfig* = 0); + virtual bool isMisspelled (const TQString&); static void dictionaryChanged (); void restartBackgroundSpellCheck (); void setActive (bool); @@ -91,16 +91,16 @@ public: bool automatic () const; signals: - void activeChanged (const QString&); - void newSuggestions (const QString&, const QStringList&, uint); + void activeChanged (const TQString&); + void newSuggestions (const TQString&, const TQStringList&, uint); protected: - QString spellKey (); - bool eventFilter (QObject*, QEvent*); + TQString spellKey (); + bool eventFilter (TQObject*, TQEvent*); protected slots: - void slotMisspelling (const QString&, const QStringList&, uint); - void slotCorrected (const QString&, const QString&, uint); + void slotMisspelling (const TQString&, const TQStringList&, uint); + void slotCorrected (const TQString&, const TQString&, uint); void slotRehighlight (); void slotDictionaryChanged (); void slotSpellReady (KSpell*); |