aboutsummaryrefslogtreecommitdiffstats
path: root/src/modules/objects/class_workspace.h
diff options
context:
space:
mode:
authorGravatar Noldor2009-08-26 15:32:22 +0000
committerGravatar Noldor2009-08-26 15:32:22 +0000
commit5cc6199846f7e797df52a9dad916f27bf3d6265d (patch)
treef60f116c7850408bb4eff0972e6ff0f103fdee79 /src/modules/objects/class_workspace.h
parentRemoved old references to kvi_run_netscape.sh, we'll stick with freedesktop's... (diff)
downloadKVIrc-5cc6199846f7e797df52a9dad916f27bf3d6265d.tar.gz
KVIrc-5cc6199846f7e797df52a9dad916f27bf3d6265d.tar.bz2
KVIrc-5cc6199846f7e797df52a9dad916f27bf3d6265d.zip
Fixed kvs widgets on statusbar and some doc fixes
git-svn-id: https://svn.kvirc.de/svn/trunk/kvirc@3428 17fca916-40b9-46aa-a4ea-0a15b648b75c
Diffstat (limited to 'src/modules/objects/class_workspace.h')
-rw-r--r--src/modules/objects/class_workspace.h28
1 files changed, 17 insertions, 11 deletions
diff --git a/src/modules/objects/class_workspace.h b/src/modules/objects/class_workspace.h
index 6eac95c9e..65369388a 100644
--- a/src/modules/objects/class_workspace.h
+++ b/src/modules/objects/class_workspace.h
@@ -26,7 +26,8 @@
//=============================================================================
#include "class_widget.h"
-
+#include <QHash>
+#include <QMdiSubWindow>
class KviKvsObject_workspace : public KviKvsObject_widget
{
public:
@@ -34,18 +35,23 @@ public:
public:
QWidget * widget() { return (QWidget *)object(); };
protected:
-
+ QHash<kvs_hobject_t, QMdiSubWindow*> *pWidgetDict;
virtual bool init(KviKvsRunTimeContext * pContext,KviKvsVariantList *pParams);
- bool functionactiveWindow(KviKvsObjectFunctionCall *c);
- bool functionscrollBarsEnabled(KviKvsObjectFunctionCall *c);
- bool functionsetscrollBarsEnabled(KviKvsObjectFunctionCall *c);
- bool functioncascade(KviKvsObjectFunctionCall *c);
- bool functiontile(KviKvsObjectFunctionCall *c);
- bool functioncloseActiveWindow(KviKvsObjectFunctionCall *c);
- bool functioncloseAllWindows(KviKvsObjectFunctionCall *c);
- bool functionactivateNextWindow(KviKvsObjectFunctionCall *c);
- bool functionactivatePrevWindow(KviKvsObjectFunctionCall *c);
+ bool addSubWindow(KviKvsObjectFunctionCall *c);
+ bool removeSubWindow(KviKvsObjectFunctionCall *c);
+ bool cascade(KviKvsObjectFunctionCall *c);
+ bool tile(KviKvsObjectFunctionCall *c);
+ bool closeActiveWindow(KviKvsObjectFunctionCall *c);
+ bool closeAllWindows(KviKvsObjectFunctionCall *c);
+ bool activateNextWindow(KviKvsObjectFunctionCall *c);
+ bool activatePrevWindow(KviKvsObjectFunctionCall *c);
+ bool scrollBarsEnabled(KviKvsObjectFunctionCall *c);
+ bool setscrollBarsEnabled(KviKvsObjectFunctionCall *c);
+
+ bool activeWindow(KviKvsObjectFunctionCall *c);
+
+
};
#endif //!_CLASS_WORKSPACE_H_