diff options
Diffstat (limited to 'sip/tdeui/kcombobox.sip')
-rw-r--r-- | sip/tdeui/kcombobox.sip | 58 |
1 files changed, 29 insertions, 29 deletions
diff --git a/sip/tdeui/kcombobox.sip b/sip/tdeui/kcombobox.sip index 956c0a8..0873a04 100644 --- a/sip/tdeui/kcombobox.sip +++ b/sip/tdeui/kcombobox.sip @@ -24,7 +24,7 @@ // 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. -class KComboBox : QComboBox, KCompletionBase +class KComboBox : TQComboBox, KCompletionBase { %TypeHeaderCode #include <kcombobox.h> @@ -32,13 +32,13 @@ class KComboBox : QComboBox, KCompletionBase public: - KComboBox (QWidget* /TransferThis/ = 0, const char* = 0); - KComboBox (bool, QWidget* /TransferThis/ = 0, const char* = 0); + KComboBox (TQWidget* /TransferThis/ = 0, const char* = 0); + KComboBox (bool, TQWidget* /TransferThis/ = 0, const char* = 0); void setEditURL (const KURL&); void insertURL (const KURL&, int = -1); - void insertURL (const QPixmap&, const KURL&, int = -1); + void insertURL (const TQPixmap&, const KURL&, int = -1); void changeURL (const KURL&, int); - void changeURL (const QPixmap&, const KURL&, int); + void changeURL (const TQPixmap&, const KURL&, int); int cursorPosition () const; virtual void setAutoCompletion (bool); bool autoCompletion () const; @@ -46,39 +46,39 @@ public: bool isContextMenuEnabled () const; void setURLDropsEnabled (bool); bool isURLDropsEnabled () const; - bool contains (const QString&) const; + bool contains (const TQString&) const; void setTrapReturnKey (bool); bool trapReturnKey () const; - virtual bool eventFilter (QObject*, QEvent*); + virtual bool eventFilter (TQObject*, TQEvent*); KCompletionBox* completionBox (bool); - virtual void setLineEdit (QLineEdit*); + virtual void setLineEdit (TQLineEdit*); signals: void returnPressed (); - void returnPressed (const QString&); - void completion (const QString&); - void substringCompletion (const QString&); + void returnPressed (const TQString&); + void completion (const TQString&); + void substringCompletion (const TQString&); void textRotation (KCompletionBase::KeyBindingType); void completionModeChanged (KGlobalSettings::Completion); - void aboutToShowContextMenu (QPopupMenu*); + void aboutToShowContextMenu (TQPopupMenu*); public slots: void rotateText (KCompletionBase::KeyBindingType); - virtual void setCompletedText (const QString&); - void setCompletedItems (const QStringList&); - void setCurrentItem (const QString&, bool = 0, int = -1); + virtual void setCompletedText (const TQString&); + void setCompletedItems (const TQStringList&); + void setCurrentItem (const TQString&, bool = 0, int = -1); void setCurrentItem (int); protected slots: - virtual void itemSelected (QListBoxItem*); - virtual void makeCompletion (const QString&); + virtual void itemSelected (TQListBoxItem*); + virtual void makeCompletion (const TQString&); protected: - virtual void setCompletedText (const QString&, bool); + virtual void setCompletedText (const TQString&, bool); virtual void create (WId = 0, bool = 1, bool = 1); %If ( KDE_3_1_0 - ) - virtual void wheelEvent (QWheelEvent*); + virtual void wheelEvent (TQWheelEvent*); %End @@ -96,31 +96,31 @@ class KHistoryCombo : KComboBox public: - KHistoryCombo (QWidget* /TransferThis/ = 0, const char* = 0); - KHistoryCombo (bool, QWidget* /TransferThis/ = 0, const char* = 0); - void setHistoryItems (QStringList); - void setHistoryItems (QStringList, bool); - QStringList historyItems () const; - bool removeFromHistory (const QString&); + KHistoryCombo (TQWidget* /TransferThis/ = 0, const char* = 0); + KHistoryCombo (bool, TQWidget* /TransferThis/ = 0, const char* = 0); + void setHistoryItems (TQStringList); + void setHistoryItems (TQStringList, bool); + TQStringList historyItems () const; + bool removeFromHistory (const TQString&); void setPixmapProvider (KPixmapProvider*); KPixmapProvider* pixmapProvider () const; void reset (); public slots: - void addToHistory (const QString&); + void addToHistory (const TQString&); void clearHistory (); signals: void cleared (); protected: - virtual void keyPressEvent (QKeyEvent*); + virtual void keyPressEvent (TQKeyEvent*); %If ( KDE_3_1_0 - ) - virtual void wheelEvent (QWheelEvent*); + virtual void wheelEvent (TQWheelEvent*); %End - void insertItems (const QStringList&); + void insertItems (const TQStringList&); bool useCompletion (); protected: |