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/tdeui/qxembed.sip | |
parent | fd35f4a8382b7d223bc0325b9ca3f88515778aa0 (diff) | |
download | pytde-203ba231d0276943aae36111f9ec1e949f3c6a4c.tar.gz pytde-203ba231d0276943aae36111f9ec1e949f3c6a4c.zip |
Initial TQt conversion
Diffstat (limited to 'sip/tdeui/qxembed.sip')
-rw-r--r-- | sip/tdeui/qxembed.sip | 44 |
1 files changed, 22 insertions, 22 deletions
diff --git a/sip/tdeui/qxembed.sip b/sip/tdeui/qxembed.sip index d091384..3b198a8 100644 --- a/sip/tdeui/qxembed.sip +++ b/sip/tdeui/qxembed.sip @@ -24,7 +24,7 @@ // 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. -class QXEmbed : QWidget +class TQXEmbed : TQWidget { %TypeHeaderCode #include <qxembed.h> @@ -32,7 +32,7 @@ class QXEmbed : QWidget public: - QXEmbed (QWidget* /TransferThis/ = 0, const char* = 0, WFlags = 0); + TQXEmbed (TQWidget* /TransferThis/ = 0, const char* = 0, WFlags = 0); static void initialize (); %If ( KDE_3_1_1 - ) @@ -43,17 +43,17 @@ public: XPLAIN }; - void setProtocol (QXEmbed::Protocol); - QXEmbed::Protocol protocol (); + void setProtocol (TQXEmbed::Protocol); + TQXEmbed::Protocol protocol (); %End void embed (WId); WId embeddedWinId () const; - static void embedClientIntoWindow (QWidget*, WId); - static bool processClientCmdline (QWidget*, SIP_PYLIST) [bool (QWidget*, int&, char**)]; + static void embedClientIntoWindow (TQWidget*, WId); + static bool processClientCmdline (TQWidget*, SIP_PYLIST) [bool (TQWidget*, int&, char**)]; %MethodCode //returns (bool) -//takes client | (QWidget) | argv | (a Python list of strings which may be modified) +//takes client | (TQWidget) | argv | (a Python list of strings which may be modified) //returns //takes list (a Python list of strings) | index (int) @@ -65,11 +65,11 @@ public: char **strings; - if ((strings = (char **)PyQtListToArray(a1)) == NULL) + if ((strings = (char **)PyTQtListToArray(a1)) == NULL) return NULL; Py_BEGIN_ALLOW_THREADS - sipRes = QXEmbed::processClientCmdline (a0, n, strings); + sipRes = TQXEmbed::processClientCmdline (a0, n, strings); Py_END_ALLOW_THREADS sipFree((ANY *)strings); @@ -82,15 +82,15 @@ public: void setAutoDelete (bool); bool autoDelete () const; - QSize sizeHint () const; - QSize minimumSizeHint () const; - QSizePolicy sizePolicy () const; - bool eventFilter (QObject*, QEvent*); + TQSize sizeHint () const; + TQSize minimumSizeHint () const; + TQSizePolicy sizePolicy () const; + bool eventFilter (TQObject*, TQEvent*); bool customWhatsThis () const; void enterWhatsThisMode (); %If ( KDE_3_2_0 - ) - virtual void reparent (QWidget* /Transfer/, WFlags, const QPoint&, bool = 0); + virtual void reparent (TQWidget* /Transfer/, WFlags, const TQPoint&, bool = 0); %End @@ -98,16 +98,16 @@ signals: void embeddedWindowDestroyed (); protected: - bool event (QEvent*); - void keyPressEvent (QKeyEvent*); - void keyReleaseEvent (QKeyEvent*); - void focusInEvent (QFocusEvent*); - void focusOutEvent (QFocusEvent*); - void resizeEvent (QResizeEvent*); - void showEvent (QShowEvent*); + bool event (TQEvent*); + void keyPressEvent (TQKeyEvent*); + void keyReleaseEvent (TQKeyEvent*); + void focusInEvent (TQFocusEvent*); + void focusOutEvent (TQFocusEvent*); + void resizeEvent (TQResizeEvent*); + void showEvent (TQShowEvent*); //ig bool x11Event (XEvent*); virtual void windowChanged (WId); bool focusNextPrevChild (bool); -}; // class QXEmbed +}; // class TQXEmbed |