summaryrefslogtreecommitdiffstats
path: root/src/kvirc/ui/kvi_frame.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/kvirc/ui/kvi_frame.h')
-rw-r--r--src/kvirc/ui/kvi_frame.h32
1 files changed, 13 insertions, 19 deletions
diff --git a/src/kvirc/ui/kvi_frame.h b/src/kvirc/ui/kvi_frame.h
index d735a7c6..ebc7e67c 100644
--- a/src/kvirc/ui/kvi_frame.h
+++ b/src/kvirc/ui/kvi_frame.h
@@ -43,7 +43,7 @@ class KviMdiChild;
class KviWindow;
class KviConsole;
class KviTaskBarBase;
-class QSplitter;
+class TQSplitter;
class KviConfig;
class KviMexToolBar;
class KviIrcContext;
@@ -91,12 +91,13 @@ class KVIRC_API KviFrame : public KviTalMainWindow // , public KviIrcContextMana
friend class KviUserListView;
friend class KviUserListViewArea;
Q_OBJECT
+ TQ_OBJECT
public:
KviFrame();
~KviFrame();
protected:
// subwindows
- QSplitter * m_pSplitter; // the frame is splitted vertically and thus can host widgets
+ TQSplitter * m_pSplitter; // the frame is splitted vertically and thus can host widgets
KviMenuBar * m_pMenuBar; // the main menu bar
KviMdiManager * m_pMdi; // the mdi manager widget (child of the splitter)
KviPointerList<KviMexToolBar> * m_pModuleExtensionToolBarList; // the module extension toolbars
@@ -109,10 +110,10 @@ protected:
KviDockExtension * m_pDockExtension; // the frame's dock extension: this should be prolly moved ?
KviAccel * m_pAccel; // the global accelelrator
public:
- // the mdi manager: handles mdi children
+ // the mdi manager: handles mdi tqchildren
KviMdiManager * mdiManager(){ return m_pMdi; };
// the splitter is the central widget for this frame
- QSplitter * splitter(){ return m_pSplitter; };
+ TQSplitter * splitter(){ return m_pSplitter; };
// KviTaskBarBase is the base class for KviTreeTaskBar and the KviClassicTaskBar
KviTaskBarBase * taskBar(){ return m_pTaskBar; };
// well.. the menu bar :D
@@ -137,7 +138,7 @@ public:
// window list. This is useful for asynchronous functions
// that keep a window pointer and need to ensure that it is still
// valid after an uncontrolled delay. (Think of a /timer implementation)
- bool windowExists(KviWindow * wnd){ return (m_pWinList->findRef(wnd) != -1); };
+ bool windowExists(KviWindow * wnd){ return (m_pWinList->tqfindRef(wnd) != -1); };
// The number of consoles in this frame
unsigned int consoleCount();
// Creates a new console window. DON'T use the KviConsole constructor directly.
@@ -167,16 +168,9 @@ public:
// Helper to fill the toolbars popup
// it is used by KviToolBar and KviMenuBar
void fillToolBarsPopup(KviTalPopupMenu * p);
- int registerAccelerator(const QString &szKeySequence,QObject * recv,const char * slot);
+ int registerAccelerator(const TQString &szKeySequence,TQObject * recv,const char * slot);
void unregisterAccelerator(int id);
-#if QT_VERSION == 0x030201
-
- unsigned int windowState();
- void setWindowState(unsigned int GNWState);
-
-#endif
-
public slots:
void newConsole();
void executeInternalCommand(int index);
@@ -193,7 +187,7 @@ protected:
void createTaskBar();
void recreateTaskBar();
- KviMdiChild * dockWindow(KviWindow *wnd,bool bShow = true,bool bCascade = true,QRect * setGeom = 0);
+ KviMdiChild * dockWindow(KviWindow *wnd,bool bShow = true,bool bCascade = true,TQRect * setGeom = 0);
void undockWindow(KviWindow *wnd);
void closeWindow(KviWindow *wnd);
@@ -210,17 +204,17 @@ protected:
void childConnectionServerInfoChange(KviIrcConnection * c);
void childWindowSelectionStateChange(KviWindow * pWnd,bool bGotSelectionNow);
- virtual void closeEvent(QCloseEvent *e);
- virtual void resizeEvent(QResizeEvent *e);
- virtual void moveEvent(QMoveEvent *e);
+ virtual void closeEvent(TQCloseEvent *e);
+ virtual void resizeEvent(TQResizeEvent *e);
+ virtual void moveEvent(TQMoveEvent *e);
virtual bool focusNextPrevChild(bool next);
virtual void windowActivationChange(bool bOldActive);
void updatePseudoTransparency();
- KviAccel * installAccelerators(QWidget * wnd);
+ KviAccel * installAccelerators(TQWidget * wnd);
- virtual void hideEvent ( QHideEvent * e);
+ virtual void hideEvent ( TQHideEvent * e);
protected slots:
void switchToNextWindow();
void switchToPrevWindow();