You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
tdenetwork/ksirc/displayMgrMDI.h

50 lines
1.0 KiB

#ifndef __displaymgrmdi_h__
#define __displaymgrmdi_h__
#include "displayMgr.h"
#include "mditoplevel.h"
class DisplayMgrMDI : public TQObject, public DisplayMgr
{
Q_OBJECT
public:
DisplayMgrMDI();
virtual ~DisplayMgrMDI();
virtual void newTopLevel(TQWidget *, bool show = FALSE);
virtual void removeTopLevel(TQWidget *);
virtual void show(TQWidget *);
virtual void hide(TQWidget *);
virtual void raise(TQWidget *, bool takefocus = false);
virtual void setCaption(TQWidget *, const TQString&);
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();
TQGuardedPtr<MDITopLevel> m_topLevel;
int m_moveRightTab, m_moveLeftTab;
TQPopupMenu *m_popupWindows;
};
#endif