diff options
Diffstat (limited to 'sip/tdecore/kcompletion.sip')
-rw-r--r-- | sip/tdecore/kcompletion.sip | 54 |
1 files changed, 27 insertions, 27 deletions
diff --git a/sip/tdecore/kcompletion.sip b/sip/tdecore/kcompletion.sip index 268480d..4967a6d 100644 --- a/sip/tdecore/kcompletion.sip +++ b/sip/tdecore/kcompletion.sip @@ -24,7 +24,7 @@ // 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. -class KCompletion : QObject +class KCompletion : TQObject { %TypeHeaderCode #include <kcompletion.h> @@ -41,12 +41,12 @@ public: }; KCompletion (); - virtual QString makeCompletion (const QString&); - QStringList substringCompletion (const QString&) const; - QString previousMatch (); - QString nextMatch (); - virtual const QString& lastMatch () const; - QStringList items () const; + virtual TQString makeCompletion (const TQString&); + TQStringList substringCompletion (const TQString&) const; + TQString previousMatch (); + TQString nextMatch (); + virtual const TQString& lastMatch () const; + TQStringList items () const; %If ( KDE_3_3_0 - ) bool isEmpty () const; @@ -58,10 +58,10 @@ public: CompOrder order () const; virtual void setIgnoreCase (bool); bool ignoreCase () const; - QStringList allMatches (); - QStringList allMatches (const QString&); + TQStringList allMatches (); + TQStringList allMatches (const TQString&); //ig KCompletionMatches allWeightedMatches (); -//ig KCompletionMatches allWeightedMatches (const QString&); +//ig KCompletionMatches allWeightedMatches (const TQString&); virtual void setEnableSounds (bool); bool isSoundsEnabled () const; bool hasMultipleMatches () const; @@ -69,24 +69,24 @@ public: void disableSounds (); public slots: - void slotMakeCompletion (const QString&); + void slotMakeCompletion (const TQString&); void slotPreviousMatch (); void slotNextMatch (); - void insertItems (const QStringList&); - virtual void setItems (const QStringList&); - void addItem (const QString&); - void addItem (const QString&, uint); - void removeItem (const QString&); + void insertItems (const TQStringList&); + virtual void setItems (const TQStringList&); + void addItem (const TQString&); + void addItem (const TQString&, uint); + void removeItem (const TQString&); virtual void clear (); signals: - void match (const QString&); - void matches (const QStringList&); + void match (const TQString&); + void matches (const TQStringList&); void multipleMatches (); protected: - virtual void postProcessMatch (QString*); - virtual void postProcessMatches (QStringList*); + virtual void postProcessMatch (TQString*); + virtual void postProcessMatches (TQStringList*); //ig virtual void postProcessMatches (KCompletionMatches*) const; protected: @@ -115,7 +115,7 @@ public: SubstringCompletion }; - typedef QMap<KCompletionBase::KeyBindingType,KShortcut> KeyBindingMap; + typedef TQMap<KCompletionBase::KeyBindingType,KShortcut> KeyBindingMap; KCompletionBase (); KCompletion* completionObject (bool = 1); virtual void setCompletionObject (KCompletion*, bool = 1); @@ -130,8 +130,8 @@ public: bool setKeyBinding (KCompletionBase::KeyBindingType, const KShortcut&); const KShortcut& getKeyBinding (KCompletionBase::KeyBindingType) const; void useGlobalKeyBindings (); - virtual void setCompletedText (const QString&) = 0; - virtual void setCompletedItems (const QStringList&) = 0; + virtual void setCompletedText (const TQString&) = 0; + virtual void setCompletedItems (const TQStringList&) = 0; KCompletion* compObj () const; protected: @@ -144,7 +144,7 @@ protected: }; // class KCompletionBase -//ig typedef KSortableValueList<QString> KCompletionMatchesList; +//ig typedef KSortableValueList<TQString> KCompletionMatchesList; %MappedType KCompletionBase::KeyBindingMap @@ -167,8 +167,8 @@ protected: // Get it. - const QMap<KCompletionBase::KeyBindingType,KShortcut> map = *sipCpp; - QMap<KCompletionBase::KeyBindingType,KShortcut>::ConstIterator it; + const TQMap<KCompletionBase::KeyBindingType,KShortcut> map = *sipCpp; + TQMap<KCompletionBase::KeyBindingType,KShortcut>::ConstIterator it; PyObject *key; PyObject *value; @@ -197,7 +197,7 @@ protected: if (sipIsErr == NULL) return PyDict_Check(sipPy); - QMap<KCompletionBase::KeyBindingType,KShortcut> *kbmap = new QMap<KCompletionBase::KeyBindingType,KShortcut>; + TQMap<KCompletionBase::KeyBindingType,KShortcut> *kbmap = new TQMap<KCompletionBase::KeyBindingType,KShortcut>; PyObject *key, *value; SIP_SSIZE_T pos = 0; |