summaryrefslogtreecommitdiffstats
path: root/kiconedit/kicongrid.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-19 19:03:33 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-19 19:03:33 +0000
commite69e8b1d09fb579316595b4e6a850e717358a8b1 (patch)
treea24fc20865f65772f530d16177520190594ffdd2 /kiconedit/kicongrid.h
parenteecec9afb81fdebb0f22e9da22635874c403f854 (diff)
downloadtdegraphics-e69e8b1d09fb579316595b4e6a850e717358a8b1.tar.gz
tdegraphics-e69e8b1d09fb579316595b4e6a850e717358a8b1.zip
TQt4 port kdegraphics
This enables compilation under both Qt3 and Qt4 git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdegraphics@1237557 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kiconedit/kicongrid.h')
-rw-r--r--kiconedit/kicongrid.h12
1 files changed, 7 insertions, 5 deletions
diff --git a/kiconedit/kicongrid.h b/kiconedit/kicongrid.h
index da61f3a1..3ef73690 100644
--- a/kiconedit/kicongrid.h
+++ b/kiconedit/kicongrid.h
@@ -80,18 +80,19 @@ class RepaintCommand : public KCommand {
}
TQString name() const {
- return "repainted";
+ return "tqrepainted";
}
protected:
KIconEditGrid* grid;
TQRect area;
};
-class KGridView : public QFrame
+class KGridView : public TQFrame
{
Q_OBJECT
+ TQ_OBJECT
public:
- KGridView( TQImage *image, KCommandHistory* history, TQWidget * parent = 0, const char *name = 0);
+ KGridView( TQImage *image, KCommandHistory* history, TQWidget * tqparent = 0, const char *name = 0);
KRuler *hruler() { return _hruler;}
KRuler *vruler() { return _vruler;}
@@ -131,8 +132,9 @@ protected:
class KIconEditGrid : public KColorGrid
{
Q_OBJECT
+ TQ_OBJECT
public:
- KIconEditGrid( TQImage *image, KCommandHistory* h, TQWidget * parent = 0, const char *name = 0);
+ KIconEditGrid( TQImage *image, KCommandHistory* h, TQWidget * tqparent = 0, const char *name = 0);
virtual ~KIconEditGrid();
enum DrawTool { Line, Freehand, FloodFill, Spray, Rect, FilledRect, Circle,
@@ -189,7 +191,7 @@ public slots:
void editSelectAll();
void editClear();
void getImage(TQImage *image);
-//#if QT_VERSION <= 140
+//#if [[[TQT_VERSION IS DEPRECATED]]] <= 140
void editResize();
//#endif
void setSize(const TQSize s);