summaryrefslogtreecommitdiffstats
path: root/kolourpaint/widgets/kptooltoolbar.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-08-02 19:23:46 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-08-02 19:23:46 +0000
commiteba47f8f0637f451e21348187591e1f1fd58ac74 (patch)
tree448f10b95c656604acc331a3236c1e59bde5c1ad /kolourpaint/widgets/kptooltoolbar.h
parentc7e8736c69373f48b0401319757c742e8607431a (diff)
downloadtdegraphics-eba47f8f0637f451e21348187591e1f1fd58ac74.tar.gz
tdegraphics-eba47f8f0637f451e21348187591e1f1fd58ac74.zip
TQt conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdegraphics@1158446 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kolourpaint/widgets/kptooltoolbar.h')
-rw-r--r--kolourpaint/widgets/kptooltoolbar.h32
1 files changed, 16 insertions, 16 deletions
diff --git a/kolourpaint/widgets/kptooltoolbar.h b/kolourpaint/widgets/kptooltoolbar.h
index c3a7d1b7..417ae022 100644
--- a/kolourpaint/widgets/kptooltoolbar.h
+++ b/kolourpaint/widgets/kptooltoolbar.h
@@ -29,16 +29,16 @@
#ifndef __kp_tool_tool_bar_h__
#define __kp_tool_tool_bar_h__
-#include <qvaluevector.h>
+#include <tqvaluevector.h>
#include <ktoolbar.h>
-class QBoxLayout;
-class QButton;
-class QButtonGroup;
-class QWidget;
-class QGridLayout;
+class TQBoxLayout;
+class TQButton;
+class TQButtonGroup;
+class TQWidget;
+class TQGridLayout;
class kpMainWindow;
class kpTool;
@@ -56,7 +56,7 @@ class kpToolToolBar : public KToolBar
Q_OBJECT
public:
- kpToolToolBar (const QString &label, kpMainWindow *mainWindow, int colsOrRows = 2, const char *name = 0);
+ kpToolToolBar (const TQString &label, kpMainWindow *mainWindow, int colsOrRows = 2, const char *name = 0);
virtual ~kpToolToolBar ();
private:
@@ -102,16 +102,16 @@ public slots:
virtual void setOrientation (Qt::Orientation o);
private:
- void addButton (QButton *button, Qt::Orientation o, int num);
+ void addButton (TQButton *button, Qt::Orientation o, int num);
Qt::Orientation m_lastDockedOrientation;
bool m_lastDockedOrientationSet;
int m_vertCols;
- QButtonGroup *m_buttonGroup;
- QWidget *m_baseWidget;
- QBoxLayout *m_baseLayout;
- QGridLayout *m_toolLayout;
+ TQButtonGroup *m_buttonGroup;
+ TQWidget *m_baseWidget;
+ TQBoxLayout *m_baseLayout;
+ TQGridLayout *m_toolLayout;
kpToolWidgetBrush *m_toolWidgetBrush;
kpToolWidgetEraserSize *m_toolWidgetEraserSize;
@@ -120,12 +120,12 @@ private:
kpToolWidgetOpaqueOrTransparent *m_toolWidgetOpaqueOrTransparent;
kpToolWidgetSpraycanSize *m_toolWidgetSpraycanSize;
- QValueVector <kpToolWidgetBase *> m_toolWidgets;
+ TQValueVector <kpToolWidgetBase *> m_toolWidgets;
private:
struct kpButtonToolPair
{
- kpButtonToolPair (QButton *button, kpTool *tool)
+ kpButtonToolPair (TQButton *button, kpTool *tool)
: m_button (button), m_tool (tool)
{
}
@@ -135,11 +135,11 @@ private:
{
}
- QButton *m_button;
+ TQButton *m_button;
kpTool *m_tool;
};
- QValueVector <kpButtonToolPair> m_buttonToolPairs;
+ TQValueVector <kpButtonToolPair> m_buttonToolPairs;
kpTool *m_previousTool, *m_currentTool;