summaryrefslogtreecommitdiffstats
path: root/sip/tdeui/kpopupmenu.sip
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-03 22:23:44 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-03 22:23:44 -0600
commit203ba231d0276943aae36111f9ec1e949f3c6a4c (patch)
treef039f7a5b5fc2da88a96876971bac580d87f6788 /sip/tdeui/kpopupmenu.sip
parentfd35f4a8382b7d223bc0325b9ca3f88515778aa0 (diff)
downloadpytde-203ba231d0276943aae36111f9ec1e949f3c6a4c.tar.gz
pytde-203ba231d0276943aae36111f9ec1e949f3c6a4c.zip
Initial TQt conversion
Diffstat (limited to 'sip/tdeui/kpopupmenu.sip')
-rw-r--r--sip/tdeui/kpopupmenu.sip64
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