summaryrefslogtreecommitdiffstats
path: root/sip/kmdi
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/kmdi
parentfd35f4a8382b7d223bc0325b9ca3f88515778aa0 (diff)
downloadpytde-203ba231d0276943aae36111f9ec1e949f3c6a4c.tar.gz
pytde-203ba231d0276943aae36111f9ec1e949f3c6a4c.zip
Initial TQt conversion
Diffstat (limited to 'sip/kmdi')
-rw-r--r--sip/kmdi/kmdichildarea.sip28
-rw-r--r--sip/kmdi/kmdichildfrm.sip88
-rw-r--r--sip/kmdi/kmdichildfrmcaption.sip18
-rw-r--r--sip/kmdi/kmdichildview.sip58
-rw-r--r--sip/kmdi/kmdimainfrm.sip74
-rw-r--r--sip/kmdi/kmditaskbar.sip16
-rw-r--r--sip/kmdi/kmditoolviewaccessor.sip16
7 files changed, 149 insertions, 149 deletions
diff --git a/sip/kmdi/kmdichildarea.sip b/sip/kmdi/kmdichildarea.sip
index 3df86c0..5fb48b6 100644
--- a/sip/kmdi/kmdichildarea.sip
+++ b/sip/kmdi/kmdichildarea.sip
@@ -24,7 +24,7 @@
// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
-class KMdiChildArea : QFrame
+class KMdiChildArea : TQFrame
{
%TypeHeaderCode
#include <kmdichildarea.h>
@@ -32,26 +32,26 @@ class KMdiChildArea : QFrame
public:
-//ig QPtrList<KMdiChildFrm>* m_pZ;
- QSize m_defaultChildFrmSize;
+//ig TQPtrList<KMdiChildFrm>* m_pZ;
+ TQSize m_defaultChildFrmSize;
protected:
public:
- KMdiChildArea (QWidget*);
+ KMdiChildArea (TQWidget*);
void manageChild (KMdiChildFrm*, bool = 1, bool = 1);
void destroyChild (KMdiChildFrm*, bool = 1);
void destroyChildButNotItsView (KMdiChildFrm*, bool = 1);
void setTopChild (KMdiChildFrm*, bool = 0);
KMdiChildFrm* topChild () const;
int getVisibleChildCount () const;
- QPoint getCascadePoint (int = -1);
- void setMdiCaptionFont (const QFont&);
- void setMdiCaptionActiveForeColor (const QColor&);
- void setMdiCaptionActiveBackColor (const QColor&);
- void setMdiCaptionInactiveForeColor (const QColor&);
- void setMdiCaptionInactiveBackColor (const QColor&);
- static void getCaptionColors (const QPalette&, QColor&, QColor&, QColor&, QColor&);
+ TQPoint getCascadePoint (int = -1);
+ void setMdiCaptionFont (const TQFont&);
+ void setMdiCaptionActiveForeColor (const TQColor&);
+ void setMdiCaptionActiveBackColor (const TQColor&);
+ void setMdiCaptionInactiveForeColor (const TQColor&);
+ void setMdiCaptionInactiveBackColor (const TQColor&);
+ static void getCaptionColors (const TQPalette&, TQColor&, TQColor&, TQColor&, TQColor&);
public slots:
void cascadeWindows ();
@@ -66,15 +66,15 @@ public slots:
protected:
void tileAllInternal (int);
- virtual void resizeEvent (QResizeEvent*);
- void mousePressEvent (QMouseEvent*);
+ virtual void resizeEvent (TQResizeEvent*);
+ void mousePressEvent (TQMouseEvent*);
void childMinimized (KMdiChildFrm*, bool);
signals:
void noMaximizedChildFrmLeft (KMdiChildFrm*);
void nowMaximized (bool);
void sysButtonConnectionsMustChange (KMdiChildFrm*, KMdiChildFrm*);
- void popupWindowMenu (QPoint);
+ void popupWindowMenu (TQPoint);
void lastChildFrmClosed ();
//force
diff --git a/sip/kmdi/kmdichildfrm.sip b/sip/kmdi/kmdichildfrm.sip
index 62f78fb..0bfe8b4 100644
--- a/sip/kmdi/kmdichildfrm.sip
+++ b/sip/kmdi/kmdichildfrm.sip
@@ -24,7 +24,7 @@
// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
-class KMdiWin32IconButton : QLabel
+class KMdiWin32IconButton : TQLabel
{
%TypeHeaderCode
#include <kmdichildfrm.h>
@@ -32,8 +32,8 @@ class KMdiWin32IconButton : QLabel
public:
- KMdiWin32IconButton (QWidget*, const char* = 0);
- virtual void mousePressEvent (QMouseEvent*);
+ KMdiWin32IconButton (TQWidget*, const char* = 0);
+ virtual void mousePressEvent (TQMouseEvent*);
signals:
void pressed ();
@@ -41,7 +41,7 @@ signals:
}; // class KMdiWin32IconButton
-class KMdiChildFrmMoveEvent : QCustomEvent
+class KMdiChildFrmMoveEvent : TQCustomEvent
{
%TypeHeaderCode
#include <kmdichildfrm.h>
@@ -49,12 +49,12 @@ class KMdiChildFrmMoveEvent : QCustomEvent
public:
- KMdiChildFrmMoveEvent (QMoveEvent*);
+ KMdiChildFrmMoveEvent (TQMoveEvent*);
}; // class KMdiChildFrmMoveEvent
-class KMdiChildFrmDragBeginEvent : QCustomEvent
+class KMdiChildFrmDragBeginEvent : TQCustomEvent
{
%TypeHeaderCode
#include <kmdichildfrm.h>
@@ -62,12 +62,12 @@ class KMdiChildFrmDragBeginEvent : QCustomEvent
public:
- KMdiChildFrmDragBeginEvent (QMouseEvent*);
+ KMdiChildFrmDragBeginEvent (TQMouseEvent*);
}; // class KMdiChildFrmDragBeginEvent
-class KMdiChildFrmDragEndEvent : QCustomEvent
+class KMdiChildFrmDragEndEvent : TQCustomEvent
{
%TypeHeaderCode
#include <kmdichildfrm.h>
@@ -75,12 +75,12 @@ class KMdiChildFrmDragEndEvent : QCustomEvent
public:
- KMdiChildFrmDragEndEvent (QMouseEvent*);
+ KMdiChildFrmDragEndEvent (TQMouseEvent*);
}; // class KMdiChildFrmDragEndEvent
-class KMdiChildFrmResizeBeginEvent : QCustomEvent
+class KMdiChildFrmResizeBeginEvent : TQCustomEvent
{
%TypeHeaderCode
#include <kmdichildfrm.h>
@@ -88,12 +88,12 @@ class KMdiChildFrmResizeBeginEvent : QCustomEvent
public:
- KMdiChildFrmResizeBeginEvent (QMouseEvent*);
+ KMdiChildFrmResizeBeginEvent (TQMouseEvent*);
}; // class KMdiChildFrmResizeBeginEvent
-class KMdiChildFrmResizeEndEvent : QCustomEvent
+class KMdiChildFrmResizeEndEvent : TQCustomEvent
{
%TypeHeaderCode
#include <kmdichildfrm.h>
@@ -101,12 +101,12 @@ class KMdiChildFrmResizeEndEvent : QCustomEvent
public:
- KMdiChildFrmResizeEndEvent (QMouseEvent*);
+ KMdiChildFrmResizeEndEvent (TQMouseEvent*);
}; // class KMdiChildFrmResizeEndEvent
-class KMdiChildFrm : QFrame
+class KMdiChildFrm : TQFrame
{
%TypeHeaderCode
#include <kmdichildfrm.h>
@@ -129,19 +129,19 @@ protected:
public:
KMdiChildFrm (KMdiChildArea*);
void setClient (KMdiChildView*, bool = 0);
- void unsetClient (QPoint = QPoint (0 ,0 ));
- void setIcon (const QPixmap&);
- QPixmap* icon () const;
+ void unsetClient (TQPoint = TQPoint (0 ,0 ));
+ void setIcon (const TQPixmap&);
+ TQPixmap* icon () const;
void enableClose (bool);
- void setCaption (const QString&);
- const QString& caption ();
+ void setCaption (const TQString&);
+ const TQString& caption ();
void setState (KMdiChildFrm::MdiWindowState, bool = 1);
KMdiChildFrm::MdiWindowState state () const;
- QRect mdiAreaContentsRect () const;
- QRect restoreGeometry () const;
- void setRestoreGeometry (const QRect&);
+ TQRect mdiAreaContentsRect () const;
+ TQRect restoreGeometry () const;
+ void setRestoreGeometry (const TQRect&);
void updateRects ();
- QPopupMenu* systemMenu () const;
+ TQPopupMenu* systemMenu () const;
int captionHeight () const;
void redecorateButtons ();
bool isInDrag () const;
@@ -153,13 +153,13 @@ public slots:
void slot_resizeViaSystemMenu ();
protected:
- virtual void resizeEvent (QResizeEvent*);
- virtual void mouseMoveEvent (QMouseEvent*);
- virtual void mousePressEvent (QMouseEvent*);
- virtual void mouseReleaseEvent (QMouseEvent*);
- virtual void moveEvent (QMoveEvent*);
- virtual void leaveEvent (QEvent*);
- virtual bool eventFilter (QObject*, QEvent*);
+ virtual void resizeEvent (TQResizeEvent*);
+ virtual void mouseMoveEvent (TQMouseEvent*);
+ virtual void mousePressEvent (TQMouseEvent*);
+ virtual void mouseReleaseEvent (TQMouseEvent*);
+ virtual void moveEvent (TQMoveEvent*);
+ virtual void leaveEvent (TQEvent*);
+ virtual bool eventFilter (TQObject*, TQEvent*);
void resizeWindow (int, int, int);
void setResizeCursor (int);
void unsetResizeCursor ();
@@ -176,14 +176,14 @@ protected slots:
void showSystemMenu ();
protected:
-//ig void linkChildren (QDict<FocusPolicy>*);
- QDict<QWidget::FocusPolicy>* unlinkChildren ();
+//ig void linkChildren (TQDict<FocusPolicy>*);
+ TQDict<TQWidget::FocusPolicy>* unlinkChildren ();
int getResizeCorner (int, int);
protected:
%If ( - KDE_3_2_2 )
- void linkChildren (QDict<QWidget::FocusPolicy>*);
+ void linkChildren (TQDict<TQWidget::FocusPolicy>*);
%End
@@ -191,8 +191,8 @@ protected:
-%MappedType QDict<QWidget::FocusPolicy>
-//converts a Python dict of QWidget::FocusPolicy
+%MappedType TQDict<TQWidget::FocusPolicy>
+//converts a Python dict of TQWidget::FocusPolicy
{
%TypeHeaderCode
#include <qdict.h>
@@ -213,12 +213,12 @@ protected:
// Get it.
- QDict<QWidget::FocusPolicy> qdict = *sipCpp;
- QDictIterator<QWidget::FocusPolicy> it (qdict);
+ TQDict<TQWidget::FocusPolicy> qdict = *sipCpp;
+ TQDictIterator<TQWidget::FocusPolicy> it (qdict);
while (it.current ())
{
- QString current_key = it.currentKey ();
+ TQString current_key = it.currentKey ();
PyObject *a0 = sipConvertFromInstance (&current_key, sipClass_QString, sipTransferObj);
PyObject *a1 = PyInt_FromLong ((long) it.current ());
@@ -236,23 +236,23 @@ protected:
%ConvertToTypeCode
- // Convert a Python dictionary to a QDict<int> on the heap.
+ // Convert a Python dictionary to a TQDict<int> on the heap.
if (sipIsErr == NULL)
return PyDict_Check(sipPy);
- QDict<QWidget::FocusPolicy>* qdict = new QDict<QWidget::FocusPolicy>;
+ TQDict<TQWidget::FocusPolicy>* qdict = new TQDict<TQWidget::FocusPolicy>;
PyObject *key, *value;
SIP_SSIZE_T pos = 0;
- QString *a0;
- QWidget::FocusPolicy a1;
+ TQString *a0;
+ TQWidget::FocusPolicy a1;
while (PyDict_Next(sipPy, &pos, &key, &value))
{
int iserr = 0, a0_state;
- a0 = (QString *)sipForceConvertToType(key, sipType_QString, sipTransferObj, SIP_NOT_NONE, &a0_state, &iserr);
+ a0 = (TQString *)sipForceConvertToType(key, sipType_QString, sipTransferObj, SIP_NOT_NONE, &a0_state, &iserr);
if (iserr || !PyInt_Check(value))
{
@@ -264,7 +264,7 @@ protected:
return 0;
}
- a1 = (QWidget::FocusPolicy) PyInt_AS_LONG (value);
+ a1 = (TQWidget::FocusPolicy) PyInt_AS_LONG (value);
qdict->insert (*a0, &a1);
diff --git a/sip/kmdi/kmdichildfrmcaption.sip b/sip/kmdi/kmdichildfrmcaption.sip
index 6004cf1..d057c59 100644
--- a/sip/kmdi/kmdichildfrmcaption.sip
+++ b/sip/kmdi/kmdichildfrmcaption.sip
@@ -24,7 +24,7 @@
// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
-class KMdiChildFrmCaption : QWidget
+class KMdiChildFrmCaption : TQWidget
{
%TypeHeaderCode
#include <kmdichildfrmcaption.h>
@@ -34,22 +34,22 @@ class KMdiChildFrmCaption : QWidget
public:
KMdiChildFrmCaption (KMdiChildFrm*);
void setActive (bool);
- void setCaption (const QString&);
+ void setCaption (const TQString&);
int heightHint ();
public slots:
void slot_moveViaSystemMenu ();
protected:
- virtual void paintEvent (QPaintEvent*);
- virtual void mousePressEvent (QMouseEvent*);
- virtual void mouseDoubleClickEvent (QMouseEvent*);
- virtual void mouseReleaseEvent (QMouseEvent*);
- virtual void mouseMoveEvent (QMouseEvent*);
- QString abbreviateText (QString, int);
+ virtual void paintEvent (TQPaintEvent*);
+ virtual void mousePressEvent (TQMouseEvent*);
+ virtual void mouseDoubleClickEvent (TQMouseEvent*);
+ virtual void mouseReleaseEvent (TQMouseEvent*);
+ virtual void mouseMoveEvent (TQMouseEvent*);
+ TQString abbreviateText (TQString, int);
public:
- QString m_szCaption;
+ TQString m_szCaption;
protected:
diff --git a/sip/kmdi/kmdichildview.sip b/sip/kmdi/kmdichildview.sip
index 874c170..344c184 100644
--- a/sip/kmdi/kmdichildview.sip
+++ b/sip/kmdi/kmdichildview.sip
@@ -24,7 +24,7 @@
// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
-class KMdiChildView : QWidget
+class KMdiChildView : TQWidget
{
%TypeHeaderCode
#include <kmdichildview.h>
@@ -34,37 +34,37 @@ class KMdiChildView : QWidget
protected:
public:
- KMdiChildView (const QString&, QWidget* = 0, const char* = 0, WFlags = 0);
- KMdiChildView (QWidget* = 0, const char* = 0, WFlags = 0);
+ KMdiChildView (const TQString&, TQWidget* = 0, const char* = 0, WFlags = 0);
+ KMdiChildView (TQWidget* = 0, const char* = 0, WFlags = 0);
void activate ();
- void setFirstFocusableChildWidget (QWidget*);
- void setLastFocusableChildWidget (QWidget*);
- QWidget* focusedChildWidget ();
+ void setFirstFocusableChildWidget (TQWidget*);
+ void setLastFocusableChildWidget (TQWidget*);
+ TQWidget* focusedChildWidget ();
bool isAttached () const;
- const QString& caption () const;
- const QString& tabCaption () const;
- virtual void setCaption (const QString&);
- virtual void setTabCaption (const QString&);
- virtual void setMDICaption (const QString&);
+ const TQString& caption () const;
+ const TQString& tabCaption () const;
+ virtual void setCaption (const TQString&);
+ virtual void setTabCaption (const TQString&);
+ virtual void setMDICaption (const TQString&);
KMdiChildFrm* mdiParent () const;
bool isMinimized () const;
bool isMaximized () const;
- QRect internalGeometry () const;
- void setInternalGeometry (const QRect&);
- QRect externalGeometry () const;
- void setExternalGeometry (const QRect&);
- virtual QPixmap* myIconPtr ();
+ TQRect internalGeometry () const;
+ void setInternalGeometry (const TQRect&);
+ TQRect externalGeometry () const;
+ void setExternalGeometry (const TQRect&);
+ virtual TQPixmap* myIconPtr ();
virtual void minimize (bool);
virtual void maximize (bool);
- QRect restoreGeometry ();
- void setRestoreGeometry (const QRect&);
+ TQRect restoreGeometry ();
+ void setRestoreGeometry (const TQRect&);
void removeEventFilterForAllChildren ();
void setWindowMenuID (int);
virtual void setMinimumSize (int, int);
virtual void setMaximumSize (int, int);
bool isToolView () const;
void updateTimeStamp ();
- const QDateTime& getTimeStamp () const;
+ const TQDateTime& getTimeStamp () const;
public slots:
virtual void attach ();
@@ -84,12 +84,12 @@ public slots:
virtual void showNormal ();
protected:
- virtual void closeEvent (QCloseEvent*);
- virtual bool eventFilter (QObject*, QEvent*);
- virtual void focusInEvent (QFocusEvent*);
- virtual void focusOutEvent (QFocusEvent*);
- virtual void resizeEvent (QResizeEvent*);
- void trackIconAndCaptionChanges (QWidget*);
+ virtual void closeEvent (TQCloseEvent*);
+ virtual bool eventFilter (TQObject*, TQEvent*);
+ virtual void focusInEvent (TQFocusEvent*);
+ virtual void focusOutEvent (TQFocusEvent*);
+ virtual void resizeEvent (TQResizeEvent*);
+ void trackIconAndCaptionChanges (TQWidget*);
protected slots:
void slot_childDestroyed ();
@@ -103,8 +103,8 @@ signals:
void lostFocus (KMdiChildView*);
void deactivated (KMdiChildView*);
void childWindowCloseRequest (KMdiChildView*);
- void windowCaptionChanged (const QString&);
- void tabCaptionChanged (const QString&);
+ void windowCaptionChanged (const TQString&);
+ void tabCaptionChanged (const TQString&);
void mdiParentNowMaximized (bool);
void clickedInWindowMenu (int);
void clickedInDockMenu (int);
@@ -113,8 +113,8 @@ signals:
void isRestoredNow ();
void isAttachedNow ();
void isDetachedNow ();
- void iconUpdated (QWidget*, QPixmap);
- void captionUpdated (QWidget*, const QString&);
+ void iconUpdated (TQWidget*, TQPixmap);
+ void captionUpdated (TQWidget*, const TQString&);
}; // class KMdiChildView
diff --git a/sip/kmdi/kmdimainfrm.sip b/sip/kmdi/kmdimainfrm.sip
index 5405cad..9f39aef 100644
--- a/sip/kmdi/kmdimainfrm.sip
+++ b/sip/kmdi/kmdimainfrm.sip
@@ -24,7 +24,7 @@
// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
-class KMdiViewCloseEvent : QCustomEvent
+class KMdiViewCloseEvent : TQCustomEvent
{
%TypeHeaderCode
#include <kmdimainfrm.h>
@@ -47,16 +47,16 @@ class KMdiMainFrm : KParts::DockMainWindow
protected:
public:
- KMdiMainFrm (QWidget*, const char* = "", KMdi::MdiMode = KMdi ::ChildframeMode , WFlags = WType_TopLevel |WDestructiveClose );
+ KMdiMainFrm (TQWidget*, const char* = "", KMdi::MdiMode = KMdi ::ChildframeMode , WFlags = WType_TopLevel |WDestructiveClose );
void setStandardMDIMenuEnabled (bool = 1);
void setManagedDockPositionModeEnabled (bool);
bool isInMaximizedChildFrmMode ();
KMdi::MdiMode mdiMode ();
KMdiChildView* activeWindow ();
- virtual QPopupMenu* taskBarPopup (KMdiChildView*, bool = 0);
- virtual QPopupMenu* windowPopup (KMdiChildView*, bool = 1);
+ virtual TQPopupMenu* taskBarPopup (KMdiChildView*, bool = 0);
+ virtual TQPopupMenu* windowPopup (KMdiChildView*, bool = 1);
virtual void applyOptions ();
- KMdiChildView* findWindow (const QString&);
+ KMdiChildView* findWindow (const TQString&);
enum ExistsAs
{
@@ -66,40 +66,40 @@ public:
};
bool windowExists (KMdiChildView*, KMdiMainFrm::ExistsAs);
- virtual bool event (QEvent*);
+ virtual bool event (TQEvent*);
virtual void setSysButtonsAtMenuPosition ();
virtual int taskBarHeight ();
- virtual void setUndockPositioningOffset (QPoint);
+ virtual void setUndockPositioningOffset (TQPoint);
//ig KMdiIterator<KMdiChildView*>* createIterator ();
//ig void deleteIterator (KMdiIterator<KMdiChildView*>*);
- QPopupMenu* windowMenu () const;
- virtual void setBackgroundColor (const QColor&);
- virtual void setBackgroundPixmap (const QPixmap&);
- void setDefaultChildFrmSize (const QSize&);
- QSize defaultChildFrmSize ();
+ TQPopupMenu* windowMenu () const;
+ virtual void setBackgroundColor (const TQColor&);
+ virtual void setBackgroundPixmap (const TQPixmap&);
+ void setDefaultChildFrmSize (const TQSize&);
+ TQSize defaultChildFrmSize ();
virtual void setMinimumSize (int, int);
int childFrameModeHeight ();
virtual void setMenuForSDIModeSysButtons (KMenuBar* = 0);
static int frameDecorOfAttachedViews ();
void fakeSDIApplication ();
bool isFakingSDIApplication () const;
- virtual bool eventFilter (QObject*, QEvent*);
- void findRootDockWidgets (QPtrList<KDockWidget>*, QValueList<QRect>*);
+ virtual bool eventFilter (TQObject*, TQEvent*);
+ void findRootDockWidgets (TQPtrList<KDockWidget>*, TQValueList<TQRect>*);
void setSwitching (const bool);
bool switching () const;
public slots:
- KMdiChildView* createWrapper (QWidget*, const QString&, const QString&);
+ KMdiChildView* createWrapper (TQWidget*, const TQString&, const TQString&);
virtual void addWindow (KMdiChildView*, int = KMdi ::StandardAdd );
%If ( KDE_3_3_0 - )
void addWindow (KMdiChildView*, int, int);
%End
- virtual void addWindow (KMdiChildView*, QPoint, int = KMdi ::StandardAdd );
- virtual void addWindow (KMdiChildView*, QRect, int = KMdi ::StandardAdd );
- virtual KMdiToolViewAccessor* addToolWindow (QWidget*, KDockWidget::DockPosition = KDockWidget ::DockNone , QWidget* = 0, int = 50, const QString& = 0, const QString& = 0);
- virtual void deleteToolWindow (QWidget*);
+ virtual void addWindow (KMdiChildView*, TQPoint, int = KMdi ::StandardAdd );
+ virtual void addWindow (KMdiChildView*, TQRect, int = KMdi ::StandardAdd );
+ virtual KMdiToolViewAccessor* addToolWindow (TQWidget*, KDockWidget::DockPosition = KDockWidget ::DockNone , TQWidget* = 0, int = 50, const TQString& = 0, const TQString& = 0);
+ virtual void deleteToolWindow (TQWidget*);
virtual void deleteToolWindow (KMdiToolViewAccessor*);
KMdiToolViewAccessor* createToolWindow ();
virtual void removeWindowFromMdi (KMdiChildView*);
@@ -145,14 +145,14 @@ public slots:
virtual void activateView (int);
protected:
- virtual void resizeEvent (QResizeEvent*);
+ virtual void resizeEvent (TQResizeEvent*);
virtual void createTaskBar ();
virtual void createMdiManager ();
void blockClearingOfWindowMenu (bool);
- void findToolViewsDockedToMain (QPtrList<KDockWidget>*, KDockWidget::DockPosition);
- void dockToolViewsIntoContainers (QPtrList<KDockWidget>&, KDockWidget*);
- QStringList prepareIdealToTabs (KDockWidget*);
- void idealToolViewsToStandardTabs (QStringList, KDockWidget::DockPosition, int);
+ void findToolViewsDockedToMain (TQPtrList<KDockWidget>*, KDockWidget::DockPosition);
+ void dockToolViewsIntoContainers (TQPtrList<KDockWidget>&, KDockWidget*);
+ TQStringList prepareIdealToTabs (KDockWidget*);
+ void idealToolViewsToStandardTabs (TQStringList, KDockWidget::DockPosition, int);
//force
%If ( KDE_3_4_0 - )
KTabWidget* tabWidget() const;
@@ -172,7 +172,7 @@ protected slots:
void updateSysButtonConnections (KMdiChildFrm*, KMdiChildFrm*);
void windowMenuItemActivated (int);
void dockMenuItemActivated (int);
- void popupWindowMenu (QPoint);
+ void popupWindowMenu (TQPoint);
void dragEndTimeOut ();
void closeViewButtonPressed ();
@@ -180,7 +180,7 @@ signals:
void lastChildFrmClosed ();
void lastChildViewClosed ();
void leftTopLevelMode ();
- void childViewIsDetachedNow (QWidget*);
+ void childViewIsDetachedNow (TQWidget*);
void collapseOverlapContainers ();
void mdiModeHasBeenChangedTo (KMdi::MdiMode);
void viewActivated (KMdiChildView*);
@@ -200,7 +200,7 @@ signals:
-%MappedType QPtrList<KDockWidget>
+%MappedType TQPtrList<KDockWidget>
//converts a Python list of KDockWidget
{
%TypeHeaderCode
@@ -220,7 +220,7 @@ signals:
// Get it.
- QPtrList<KDockWidget> *cpplist = (QPtrList<KDockWidget> *)sipCpp;
+ TQPtrList<KDockWidget> *cpplist = (TQPtrList<KDockWidget> *)sipCpp;
KDockWidget *cpp;
PyObject *inst;
@@ -242,7 +242,7 @@ signals:
if (sipIsErr == NULL)
return PyList_Check(sipPy);
- QPtrList<KDockWidget> *cpplist = new QPtrList<KDockWidget>;
+ TQPtrList<KDockWidget> *cpplist = new TQPtrList<KDockWidget>;
PyObject *elem;
KDockWidget *cpp;
@@ -270,8 +270,8 @@ signals:
};
-%MappedType QValueList<QRect>
-//converts a Python list of QRect
+%MappedType TQValueList<TQRect>
+//converts a Python list of TQRect
{
%TypeHeaderCode
#include <qvaluelist.h>
@@ -286,14 +286,14 @@ signals:
if ((pylist = PyList_New(0)) == NULL)
return NULL;
- QValueList<QRect> *cpplist = (QValueList<QRect> *)sipCpp;
+ TQValueList<TQRect> *cpplist = (TQValueList<TQRect> *)sipCpp;
PyObject *inst;
// Get it.
- QValueList<QRect>::Iterator it;
+ TQValueList<TQRect>::Iterator it;
for( it = cpplist->begin(); it != cpplist->end(); ++it )
{
- if (((inst = sipConvertFromNewType(new QRect(*it), sipType_QRect, NULL)) == NULL)
+ if (((inst = sipConvertFromNewType(new TQRect(*it), sipType_QRect, NULL)) == NULL)
|| PyList_Append (pylist, inst) < 0)
{
Py_DECREF (pylist);
@@ -309,16 +309,16 @@ signals:
if (sipIsErr == NULL)
return PyList_Check(sipPy);
- QValueList<QRect> *cpplist = new QValueList<QRect>;
+ TQValueList<TQRect> *cpplist = new TQValueList<TQRect>;
PyObject *elem;
- QRect *cpp;
+ TQRect *cpp;
int iserr = 0;
for (int i = 0; i < PyList_Size (sipPy); i++)
{
elem = PyList_GET_ITEM (sipPy, i);
- cpp = (QRect *)sipForceConvertToType(elem, sipType_QRect, sipTransferObj, SIP_NOT_NONE|SIP_NO_CONVERTORS, NULL, &iserr);
+ cpp = (TQRect *)sipForceConvertToType(elem, sipType_QRect, sipTransferObj, SIP_NOT_NONE|SIP_NO_CONVERTORS, NULL, &iserr);
if (iserr)
{
diff --git a/sip/kmdi/kmditaskbar.sip b/sip/kmdi/kmditaskbar.sip
index 023a6e3..d7fde53 100644
--- a/sip/kmdi/kmditaskbar.sip
+++ b/sip/kmdi/kmditaskbar.sip
@@ -24,7 +24,7 @@
// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
-class KMdiTaskBarButton : QPushButton
+class KMdiTaskBarButton : TQPushButton
{
%TypeHeaderCode
#include <kmditaskbar.h>
@@ -33,9 +33,9 @@ class KMdiTaskBarButton : QPushButton
public:
KMdiTaskBarButton (KMdiTaskBar*, KMdiChildView*);
- QString actualText () const;
- void fitText (const QString&, int);
- void setText (const QString&);
+ TQString actualText () const;
+ void fitText (const TQString&, int);
+ void setText (const TQString&);
signals:
void clicked (KMdiChildView*);
@@ -44,10 +44,10 @@ signals:
void buttonTextChanged (int);
public slots:
- void setNewText (const QString&);
+ void setNewText (const TQString&);
protected slots:
- void mousePressEvent (QMouseEvent*);
+ void mousePressEvent (TQMouseEvent*);
public:
KMdiChildView* m_pWindow;
@@ -65,7 +65,7 @@ class KMdiTaskBar : KToolBar
public:
- KMdiTaskBar (KMdiMainFrm*, Qt::Dock);
+ KMdiTaskBar (KMdiMainFrm*, TQt::Dock);
KMdiTaskBarButton* addWinButton (KMdiChildView*);
void removeWinButton (KMdiChildView*, bool = 1);
KMdiTaskBarButton* getNextWindowButton (bool, KMdiChildView*);
@@ -74,7 +74,7 @@ public:
bool isSwitchedOn () const;
protected:
- void resizeEvent (QResizeEvent*);
+ void resizeEvent (TQResizeEvent*);
protected slots:
void layoutTaskBar (int = 0);
diff --git a/sip/kmdi/kmditoolviewaccessor.sip b/sip/kmdi/kmditoolviewaccessor.sip
index c2ea2d7..a0a8a46 100644
--- a/sip/kmdi/kmditoolviewaccessor.sip
+++ b/sip/kmdi/kmditoolviewaccessor.sip
@@ -24,7 +24,7 @@
// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
-class KMdiToolViewAccessor : QObject
+class KMdiToolViewAccessor : TQObject
{
%TypeHeaderCode
#include <kmditoolviewaccessor.h>
@@ -32,22 +32,22 @@ class KMdiToolViewAccessor : QObject
private:
- KMdiToolViewAccessor (KMdiMainFrm*, QWidget*, const QString& = 0, const QString& = 0);
+ KMdiToolViewAccessor (KMdiMainFrm*, TQWidget*, const TQString& = 0, const TQString& = 0);
KMdiToolViewAccessor (KMdiMainFrm*);
public:
- QWidget* wrapperWidget ();
- QWidget* wrappedWidget ();
- void place (KDockWidget::DockPosition = KDockWidget ::DockNone , QWidget* = 0, int = 50);
- void placeAndShow (KDockWidget::DockPosition = KDockWidget ::DockNone , QWidget* = 0, int = 50);
+ TQWidget* wrapperWidget ();
+ TQWidget* wrappedWidget ();
+ void place (KDockWidget::DockPosition = KDockWidget ::DockNone , TQWidget* = 0, int = 50);
+ void placeAndShow (KDockWidget::DockPosition = KDockWidget ::DockNone , TQWidget* = 0, int = 50);
void show ();
public slots:
- void setWidgetToWrap (QWidget*, const QString& = 0, const QString& = 0);
+ void setWidgetToWrap (TQWidget*, const TQString& = 0, const TQString& = 0);
void hide ();
protected:
- bool eventFilter (QObject*, QEvent*);
+ bool eventFilter (TQObject*, TQEvent*);
}; // class KMdiToolViewAccessor