kate
toolviewmanager.h
Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020 #ifndef _KATE_TOOLVIEWMANAGER_INCLUDE_
00021 #define _KATE_TOOLVIEWMANAGER_INCLUDE_
00022
00023 #include <qwidget.h>
00024 #include <kurl.h>
00025
00026 namespace Kate
00027 {
00028
00032 class KDE_EXPORT ToolViewManager : public QObject
00033 {
00034 friend class PrivateToolViewManager;
00035
00036 Q_OBJECT
00037
00038 public:
00042 ToolViewManager (void *toolViewManager);
00043
00047 virtual ~ToolViewManager ();
00048
00049 public:
00053 enum Position {Left, Right, Top, Bottom};
00054
00063 QWidget *createToolView (const QString &identifier, ToolViewManager::Position pos, const QPixmap &icon, const QString &text);
00064
00071 bool moveToolView (QWidget *widget, ToolViewManager::Position pos);
00072
00078 bool showToolView (QWidget *widget);
00079
00085 bool hideToolView (QWidget *widget);
00086
00087 private:
00091 class PrivateToolViewManager *d;
00092 };
00093
00094 }
00095
00096 #endif