diff options
Diffstat (limited to 'ksirc/displayMgrSDI.cpp')
-rw-r--r-- | ksirc/displayMgrSDI.cpp | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/ksirc/displayMgrSDI.cpp b/ksirc/displayMgrSDI.cpp new file mode 100644 index 00000000..ee5de75b --- /dev/null +++ b/ksirc/displayMgrSDI.cpp @@ -0,0 +1,40 @@ +#include "displayMgrSDI.h" + +#include <qwidget.h> + +DisplayMgrSDI::DisplayMgrSDI() +{ +} + +DisplayMgrSDI::~DisplayMgrSDI(){ +} + +void DisplayMgrSDI::newTopLevel(QWidget *w, bool show){ + if(show == TRUE) + w->show(); +} + +void DisplayMgrSDI::removeTopLevel(QWidget *){ +} + +void DisplayMgrSDI::show(QWidget *w){ + w->show(); +} + +void DisplayMgrSDI::hide(QWidget *w){ + w->hide(); +} + +void DisplayMgrSDI::raise(QWidget *w, bool takefocus){ + w->show(); + w->raise(); + if(takefocus) + w->setActiveWindow(); + +} + + +void DisplayMgrSDI::setCaption(QWidget *w, const QString& cap){ + w->setCaption(cap); +} + |