diff options
author | toma <toma@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2009-11-25 17:56:58 +0000 |
---|---|---|
committer | toma <toma@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2009-11-25 17:56:58 +0000 |
commit | bcb704366cb5e333a626c18c308c7e0448a8e69f (patch) | |
tree | f0d6ab7d78ecdd9207cf46536376b44b91a1ca71 /ksirc/displayMgrMDI.h | |
download | tdenetwork-bcb704366cb5e333a626c18c308c7e0448a8e69f.tar.gz tdenetwork-bcb704366cb5e333a626c18c308c7e0448a8e69f.zip |
Copy the KDE 3.5 branch to branches/trinity for new KDE 3.5 features.
BUG:215923
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdenetwork@1054174 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'ksirc/displayMgrMDI.h')
-rw-r--r-- | ksirc/displayMgrMDI.h | 48 |
1 files changed, 48 insertions, 0 deletions
diff --git a/ksirc/displayMgrMDI.h b/ksirc/displayMgrMDI.h new file mode 100644 index 00000000..81528421 --- /dev/null +++ b/ksirc/displayMgrMDI.h @@ -0,0 +1,48 @@ +#ifndef __displaymgrmdi_h__ +#define __displaymgrmdi_h__ + +#include "displayMgr.h" +#include "mditoplevel.h" + +class DisplayMgrMDI : public QObject, public DisplayMgr +{ + Q_OBJECT +public: + DisplayMgrMDI(); + virtual ~DisplayMgrMDI(); + + virtual void newTopLevel(QWidget *, bool show = FALSE); + virtual void removeTopLevel(QWidget *); + + virtual void show(QWidget *); + virtual void hide(QWidget *); + virtual void raise(QWidget *, bool takefocus = false); + + virtual void setCaption(QWidget *, const QString&); + +public slots: + virtual void slotCycleTabsLeft(); + virtual void slotCycleTabsRight(); + +protected slots: + void reparentReq(); + void moveWindowLeft(); + void moveWindowRight(); + void setTabPosition(int); + void setFullScreen(bool); + +protected: + void moveWindow(int step); + void refreshMenuEntry(); + +private: + MDITopLevel *topLevel(); + + QGuardedPtr<MDITopLevel> m_topLevel; + int m_moveRightTab, m_moveLeftTab; + QPopupMenu *m_popupWindows; +}; + + +#endif + |