diff options
Diffstat (limited to 'sip/tdeui/kpopupmenu.sip')
-rw-r--r-- | sip/tdeui/kpopupmenu.sip | 64 |
1 files changed, 32 insertions, 32 deletions
diff --git a/sip/tdeui/kpopupmenu.sip b/sip/tdeui/kpopupmenu.sip index b3fcb50..e7a8a6f 100644 --- a/sip/tdeui/kpopupmenu.sip +++ b/sip/tdeui/kpopupmenu.sip @@ -24,7 +24,7 @@ // 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. -class KPopupTitle : QWidget +class KPopupTitle : TQWidget { %TypeHeaderCode #include <kpopupmenu.h> @@ -32,19 +32,19 @@ class KPopupTitle : QWidget public: - KPopupTitle (QWidget* /TransferThis/ = 0, const char* = 0); - KPopupTitle (KPixmapEffect::GradientType, const QColor&, const QColor&, QWidget* /TransferThis/ = 0, const char* = 0); - KPopupTitle (const KPixmap&, const QColor&, const QColor&, QWidget* /TransferThis/ = 0, const char* = 0); - void setTitle (const QString&, const QPixmap* = 0); - QString title (); - QPixmap icon (); - QSize sizeHint () const; + KPopupTitle (TQWidget* /TransferThis/ = 0, const char* = 0); + KPopupTitle (KPixmapEffect::GradientType, const TQColor&, const TQColor&, TQWidget* /TransferThis/ = 0, const char* = 0); + KPopupTitle (const KPixmap&, const TQColor&, const TQColor&, TQWidget* /TransferThis/ = 0, const char* = 0); + void setTitle (const TQString&, const TQPixmap* = 0); + TQString title (); + TQPixmap icon (); + TQSize sizeHint () const; public slots: %If ( KDE_3_1_0 - ) - void setText (const QString&); - void setIcon (const QPixmap&); + void setText (const TQString&); + void setIcon (const TQPixmap&); %End @@ -54,7 +54,7 @@ protected: void calcSize (); %End - void paintEvent (QPaintEvent*); + void paintEvent (TQPaintEvent*); protected: //igx virtual void virtual_hook (int, void*); @@ -62,7 +62,7 @@ protected: }; // class KPopupTitle -class KPopupMenu : QPopupMenu +class KPopupMenu : TQPopupMenu { %TypeHeaderCode #include <kpopupmenu.h> @@ -70,31 +70,31 @@ class KPopupMenu : QPopupMenu public: - KPopupMenu (QWidget* /TransferThis/ = 0, const char* = 0); - int insertTitle (const QString&, int = -1, int = -1); - int insertTitle (const QPixmap&, const QString&, int = -1, int = -1); - void changeTitle (int, const QString&); - void changeTitle (int, const QPixmap&, const QString&); - QString title (int = -1); - QPixmap titlePixmap (int); + KPopupMenu (TQWidget* /TransferThis/ = 0, const char* = 0); + int insertTitle (const TQString&, int = -1, int = -1); + int insertTitle (const TQPixmap&, const TQString&, int = -1, int = -1); + void changeTitle (int, const TQString&); + void changeTitle (int, const TQPixmap&, const TQString&); + TQString title (int = -1); + TQPixmap titlePixmap (int); %If ( KDE_3_1_0 - ) void setKeyboardShortcutsEnabled (bool); void setKeyboardShortcutsExecute (bool); %End - KPopupMenu (const QString&, QWidget* /TransferThis/ = 0, const char* = 0); - void setTitle (const QString&); + KPopupMenu (const TQString&, TQWidget* /TransferThis/ = 0, const char* = 0); + void setTitle (const TQString&); %If ( KDE_3_2_0 - ) - QPopupMenu* contextMenu (); + TQPopupMenu* contextMenu (); void hideContextMenu (); static KPopupMenu* contextMenuFocus (); static int contextMenuFocusItem (); %If ( KDE_3_4_0 - ) virtual void activateItemAt (int); - Qt::ButtonState state () const; + TQt::ButtonState state () const; %End %End @@ -103,26 +103,26 @@ public: signals: %If ( KDE_3_2_0 - ) - void aboutToShowContextMenu (KPopupMenu*, int, QPopupMenu*); + void aboutToShowContextMenu (KPopupMenu*, int, TQPopupMenu*); %End protected: %If ( KDE_3_1_0 - ) - virtual void closeEvent (QCloseEvent*); - virtual void keyPressEvent (QKeyEvent*); + virtual void closeEvent (TQCloseEvent*); + virtual void keyPressEvent (TQKeyEvent*); %If ( KDE_3_4_0 - ) - virtual void mouseReleaseEvent (QMouseEvent*); + virtual void mouseReleaseEvent (TQMouseEvent*); %End %If ( KDE_3_2_0 - ) - virtual void mousePressEvent (QMouseEvent*); + virtual void mousePressEvent (TQMouseEvent*); virtual bool focusNextPrevChild (bool); - virtual void contextMenuEvent (QContextMenuEvent*); - virtual void hideEvent (QHideEvent*); + virtual void contextMenuEvent (TQContextMenuEvent*); + virtual void hideEvent (TQHideEvent*); %End %End @@ -132,12 +132,12 @@ protected: protected slots: %If ( KDE_3_1_0 - ) - QString underlineText (const QString&, uint); + TQString underlineText (const TQString&, uint); void resetKeyboardVars (bool = 0); %If ( KDE_3_2_0 - ) void itemHighlighted (int); - void showCtxMenu (QPoint); + void showCtxMenu (TQPoint); void ctxMenuHiding (); void ctxMenuHideShowingMenu (); %End |