diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-03 22:23:44 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-03 22:23:44 -0600 |
commit | 203ba231d0276943aae36111f9ec1e949f3c6a4c (patch) | |
tree | f039f7a5b5fc2da88a96876971bac580d87f6788 /sip/kspell2 | |
parent | fd35f4a8382b7d223bc0325b9ca3f88515778aa0 (diff) | |
download | pytde-203ba231d0276943aae36111f9ec1e949f3c6a4c.tar.gz pytde-203ba231d0276943aae36111f9ec1e949f3c6a4c.zip |
Initial TQt conversion
Diffstat (limited to 'sip/kspell2')
-rw-r--r-- | sip/kspell2/backgroundchecker.sip | 16 | ||||
-rw-r--r-- | sip/kspell2/broker.sip | 8 | ||||
-rw-r--r-- | sip/kspell2/configdialog.sip | 2 | ||||
-rw-r--r-- | sip/kspell2/configwidget.sip | 4 | ||||
-rw-r--r-- | sip/kspell2/defaultdictionary.sip | 16 | ||||
-rw-r--r-- | sip/kspell2/dialog.sip | 16 | ||||
-rw-r--r-- | sip/kspell2/dictionary.sip | 16 | ||||
-rw-r--r-- | sip/kspell2/filter.sip | 18 | ||||
-rw-r--r-- | sip/kspell2/highlighter.sip | 10 | ||||
-rw-r--r-- | sip/kspell2/settings.sip | 16 |
10 files changed, 61 insertions, 61 deletions
diff --git a/sip/kspell2/backgroundchecker.sip b/sip/kspell2/backgroundchecker.sip index 8efd997..3f6a0eb 100644 --- a/sip/kspell2/backgroundchecker.sip +++ b/sip/kspell2/backgroundchecker.sip @@ -28,20 +28,20 @@ namespace KSpell2 { -class BackgroundChecker : QObject +class BackgroundChecker : TQObject { %TypeHeaderCode #include <backgroundchecker.h> %End public: - BackgroundChecker (const Broker::Ptr&, QObject* = 0, const char* = 0); - void checkText (const QString&); + BackgroundChecker (const Broker::Ptr&, TQObject* = 0, const char* = 0); + void checkText (const TQString&); KSpell2::Filter* filter () const; KSpell2::Broker* broker () const; - void changeLanguage (const QString&); - bool checkWord (const QString&); - QStringList suggest (const QString&) const; + void changeLanguage (const TQString&); + bool checkWord (const TQString&); + TQStringList suggest (const TQString&) const; public slots: virtual void setFilter (KSpell2::Filter*); @@ -50,11 +50,11 @@ public slots: virtual void continueChecking (); signals: - void misspelling (const QString&, int); + void misspelling (const TQString&, int); void done (); protected: - virtual QString getMoreText (); + virtual TQString getMoreText (); virtual void finishedCurrentFeed (); protected slots: diff --git a/sip/kspell2/broker.sip b/sip/kspell2/broker.sip index 4f880e1..9b1ed03 100644 --- a/sip/kspell2/broker.sip +++ b/sip/kspell2/broker.sip @@ -28,7 +28,7 @@ namespace KSpell2 { -class Broker : QObject, KShared +class Broker : TQObject, KShared { %TypeHeaderCode #include <broker.h> @@ -40,9 +40,9 @@ public: public: KSpell2::DefaultDictionary* defaultDictionary () const; - KSpell2::Dictionary* dictionary (const QString& = QString ::null , const QString& = QString ::null ) const; - QStringList clients () const; - QStringList languages () const; + KSpell2::Dictionary* dictionary (const TQString& = TQString ::null , const TQString& = TQString ::null ) const; + TQStringList clients () const; + TQStringList languages () const; KSpell2::Settings* settings () const; signals: diff --git a/sip/kspell2/configdialog.sip b/sip/kspell2/configdialog.sip index 19ed07e..94a0c19 100644 --- a/sip/kspell2/configdialog.sip +++ b/sip/kspell2/configdialog.sip @@ -35,7 +35,7 @@ class ConfigDialog : KDialogBase %End public: - ConfigDialog (KSpell2::Broker*, QWidget*); + ConfigDialog (KSpell2::Broker*, TQWidget*); protected slots: virtual void slotOk (); diff --git a/sip/kspell2/configwidget.sip b/sip/kspell2/configwidget.sip index 402f63b..ecf6012 100644 --- a/sip/kspell2/configwidget.sip +++ b/sip/kspell2/configwidget.sip @@ -28,14 +28,14 @@ namespace KSpell2 { -class ConfigWidget : QWidget +class ConfigWidget : TQWidget { %TypeHeaderCode #include <configwidget.h> %End public: - ConfigWidget (KSpell2::Broker*, QWidget*, const char* = 0); + ConfigWidget (KSpell2::Broker*, TQWidget*, const char* = 0); bool backgroundCheckingButtonShown () const; public slots: diff --git a/sip/kspell2/defaultdictionary.sip b/sip/kspell2/defaultdictionary.sip index 4d70d8b..5190f7e 100644 --- a/sip/kspell2/defaultdictionary.sip +++ b/sip/kspell2/defaultdictionary.sip @@ -28,23 +28,23 @@ namespace KSpell2 { -class DefaultDictionary : QObject, KSpell2::Dictionary +class DefaultDictionary : TQObject, KSpell2::Dictionary { %TypeHeaderCode #include <defaultdictionary.h> %End public: - DefaultDictionary (const QString&, KSpell2::Broker*); + DefaultDictionary (const TQString&, KSpell2::Broker*); public: bool isValid () const; - virtual bool check (const QString&); - virtual QStringList suggest (const QString&); - virtual bool checkAndSuggest (const QString&, QStringList&); - virtual bool storeReplacement (const QString&, const QString&); - virtual bool addToPersonal (const QString&); - virtual bool addToSession (const QString&); + virtual bool check (const TQString&); + virtual TQStringList suggest (const TQString&); + virtual bool checkAndSuggest (const TQString&, TQStringList&); + virtual bool storeReplacement (const TQString&, const TQString&); + virtual bool addToPersonal (const TQString&); + virtual bool addToSession (const TQString&); signals: void changed (); diff --git a/sip/kspell2/dialog.sip b/sip/kspell2/dialog.sip index 4444f81..42b287a 100644 --- a/sip/kspell2/dialog.sip +++ b/sip/kspell2/dialog.sip @@ -35,23 +35,23 @@ class Dialog : KDialogBase %End public: - Dialog (KSpell2::BackgroundChecker*, QWidget*, const char* = 0); - QString originalBuffer () const; - QString buffer () const; + Dialog (KSpell2::BackgroundChecker*, TQWidget*, const char* = 0); + TQString originalBuffer () const; + TQString buffer () const; void show (); void activeAutoCorrect (bool); public slots: - void setBuffer (const QString&); + void setBuffer (const TQString&); void setFilter (KSpell2::Filter*); signals: - void done (const QString&); - void misspelling (const QString&, int); - void replace (const QString&, int, const QString&); + void done (const TQString&); + void misspelling (const TQString&, int); + void replace (const TQString&, int, const TQString&); void stop (); void cancel (); - void autoCorrect (const QString&, const QString&); + void autoCorrect (const TQString&, const TQString&); }; // class Dialog diff --git a/sip/kspell2/dictionary.sip b/sip/kspell2/dictionary.sip index 0f33b56..f0241ba 100644 --- a/sip/kspell2/dictionary.sip +++ b/sip/kspell2/dictionary.sip @@ -35,17 +35,17 @@ class Dictionary %End public: - virtual bool check (const QString&) = 0; - virtual QStringList suggest (const QString&) = 0; - virtual bool checkAndSuggest (const QString&, QStringList&) = 0; - virtual bool storeReplacement (const QString&, const QString&) = 0; - virtual bool addToPersonal (const QString&) = 0; - virtual bool addToSession (const QString&) = 0; - QString language () const; + virtual bool check (const TQString&) = 0; + virtual TQStringList suggest (const TQString&) = 0; + virtual bool checkAndSuggest (const TQString&, TQStringList&) = 0; + virtual bool storeReplacement (const TQString&, const TQString&) = 0; + virtual bool addToPersonal (const TQString&) = 0; + virtual bool addToSession (const TQString&) = 0; + TQString language () const; bool isDefault () const; protected: - Dictionary (const QString&, bool = 0); + Dictionary (const TQString&, bool = 0); protected: diff --git a/sip/kspell2/filter.sip b/sip/kspell2/filter.sip index 863d355..9094dfc 100644 --- a/sip/kspell2/filter.sip +++ b/sip/kspell2/filter.sip @@ -36,9 +36,9 @@ class Word public: Word (); - Word (const QString&, int, bool = 0); + Word (const TQString&, int, bool = 0); Word (const KSpell2::Word&); - QString word; + TQString word; uint start; bool end; @@ -60,22 +60,22 @@ public: void setSettings (KSpell2::Settings*); KSpell2::Settings* settings () const; bool atEnd () const; - void setBuffer (const QString&); - QString buffer () const; + void setBuffer (const TQString&); + TQString buffer () const; void restart (); virtual KSpell2::Word nextWord () const; virtual KSpell2::Word previousWord () const; virtual KSpell2::Word wordAtPosition (uint) const; virtual void setCurrentPosition (int); virtual int currentPosition () const; - virtual void replace (const KSpell2::Word&, const QString&); - virtual QString context () const; + virtual void replace (const KSpell2::Word&, const TQString&); + virtual TQString context () const; protected: bool trySkipLinks () const; - bool ignore (const QString&) const; - QChar skipToLetter (uint&) const; - bool shouldBeSkipped (bool, bool, const QString&) const; + bool ignore (const TQString&) const; + TQChar skipToLetter (uint&) const; + bool shouldBeSkipped (bool, bool, const TQString&) const; protected: diff --git a/sip/kspell2/highlighter.sip b/sip/kspell2/highlighter.sip index 0e7ea2d..ee6388f 100644 --- a/sip/kspell2/highlighter.sip +++ b/sip/kspell2/highlighter.sip @@ -28,19 +28,19 @@ namespace KSpell2 { -class Highlighter : QSyntaxHighlighter +class Highlighter : TQSyntaxHighlighter { %TypeHeaderCode #include <highlighter.h> %End public: - Highlighter (QTextEdit*, const QString& = QString ::null , KSpell2::Filter* = Filter ::defaultFilter ()); - virtual int highlightParagraph (const QString&, int); + Highlighter (TQTextEdit*, const TQString& = TQString ::null , KSpell2::Filter* = Filter ::defaultFilter ()); + virtual int highlightParagraph (const TQString&, int); KSpell2::Filter* currentFilter () const; void setCurrentFilter (KSpell2::Filter*); - QString currentLanguage () const; - void setCurrentLanguage (const QString&); + TQString currentLanguage () const; + void setCurrentLanguage (const TQString&); protected: virtual void setMisspelled (int, int); diff --git a/sip/kspell2/settings.sip b/sip/kspell2/settings.sip index 6b4f030..999779b 100644 --- a/sip/kspell2/settings.sip +++ b/sip/kspell2/settings.sip @@ -35,20 +35,20 @@ class Settings %End public: - void setDefaultLanguage (const QString&); - QString defaultLanguage () const; - void setDefaultClient (const QString&); - QString defaultClient () const; + void setDefaultLanguage (const TQString&); + TQString defaultLanguage () const; + void setDefaultClient (const TQString&); + TQString defaultClient () const; void setCheckUppercase (bool); bool checkUppercase () const; void setSkipRunTogether (bool); bool skipRunTogether () const; void setBackgroundCheckerEnabled (bool); bool backgroundCheckerEnabled () const; - void setCurrentIgnoreList (const QStringList&); - void addWordToIgnore (const QString&); - QStringList currentIgnoreList () const; - bool ignore (const QString&); + void setCurrentIgnoreList (const TQStringList&); + void addWordToIgnore (const TQString&); + TQStringList currentIgnoreList () const; + bool ignore (const TQString&); void save (); KSharedConfig* sharedConfig () const; |