summaryrefslogtreecommitdiffstats
path: root/kicker/extensions/dockbar/dockbarextension.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:33:34 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:33:34 +0000
commitc663b6440964f6ac48027143ac9e63298991f9d0 (patch)
tree6d8b0c5a5f9db1ee16acf98b1397cea9126b281d /kicker/extensions/dockbar/dockbarextension.h
parenta061f7191beebb0e4a3b0c0a7c534ec5f22f2dc7 (diff)
downloadtdebase-c663b6440964f6ac48027143ac9e63298991f9d0.tar.gz
tdebase-c663b6440964f6ac48027143ac9e63298991f9d0.zip
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdebase@1157639 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kicker/extensions/dockbar/dockbarextension.h')
-rw-r--r--kicker/extensions/dockbar/dockbarextension.h22
1 files changed, 11 insertions, 11 deletions
diff --git a/kicker/extensions/dockbar/dockbarextension.h b/kicker/extensions/dockbar/dockbarextension.h
index 0003ec6fa..e735ec708 100644
--- a/kicker/extensions/dockbar/dockbarextension.h
+++ b/kicker/extensions/dockbar/dockbarextension.h
@@ -24,7 +24,7 @@ CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
#ifndef __dockbarextension_h__
#define __dockbarextension_h__
-#include <qvaluevector.h>
+#include <tqvaluevector.h>
#include <kpanelextension.h>
#include "dockcontainer.h"
@@ -35,12 +35,12 @@ class DockBarExtension : public KPanelExtension
Q_OBJECT
public:
- DockBarExtension(const QString& configFile, Type t = Normal,
- int actions = 0, QWidget *parent = 0, const char *name = 0);
+ DockBarExtension(const TQString& configFile, Type t = Normal,
+ int actions = 0, TQWidget *parent = 0, const char *name = 0);
virtual ~DockBarExtension();
- QSize sizeHint(Position, QSize maxSize) const;
+ TQSize sizeHint(Position, TQSize maxSize) const;
Position preferedPosition() const { return Right; }
protected slots:
@@ -49,24 +49,24 @@ protected slots:
void settingsChanged(DockContainer*);
protected:
- void resizeEvent(QResizeEvent*);
- void embedWindow(WId win, QString command, QString resName, QString resClass);
+ void resizeEvent(TQResizeEvent*);
+ void embedWindow(WId win, TQString command, TQString resName, TQString resClass);
void addContainer(DockContainer*, int pos=-1);
void removeContainer(DockContainer*);
void saveContainerConfig();
void loadContainerConfig();
void layoutContainers();
- int findContainerAtPoint(const QPoint&);
- void mousePressEvent(QMouseEvent *);
- void mouseReleaseEvent(QMouseEvent *);
- void mouseMoveEvent(QMouseEvent *);
+ int findContainerAtPoint(const TQPoint&);
+ void mousePressEvent(TQMouseEvent *);
+ void mouseReleaseEvent(TQMouseEvent *);
+ void mouseMoveEvent(TQMouseEvent *);
private:
KWinModule* kwin_module;
DockContainer::Vector containers;
// handle the dragging of applets
DockContainer *dragging_container, *original_container;
- QPoint mclic_pos, mclic_dock_pos;
+ TQPoint mclic_pos, mclic_dock_pos;
int dragged_container_original_pos;
};