summaryrefslogtreecommitdiffstats
path: root/kiconedit/kicongrid.h
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-02-04 14:16:27 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-02-04 14:16:27 -0600
commit580d345952faf597f69347256e0ad3411725988a (patch)
treeff47470421577a3e0e9f387b324e184e4d008d53 /kiconedit/kicongrid.h
parent81576b133797828eaca3ac819f4adca21de8d327 (diff)
downloadtdegraphics-580d345952faf597f69347256e0ad3411725988a.tar.gz
tdegraphics-580d345952faf597f69347256e0ad3411725988a.zip
Rename KIcon to enhance compatibility with KDE4
Diffstat (limited to 'kiconedit/kicongrid.h')
-rw-r--r--kiconedit/kicongrid.h24
1 files changed, 12 insertions, 12 deletions
diff --git a/kiconedit/kicongrid.h b/kiconedit/kicongrid.h
index 0b1cbc83..eb604ae0 100644
--- a/kiconedit/kicongrid.h
+++ b/kiconedit/kicongrid.h
@@ -33,7 +33,7 @@
class KCommandHistory;
class KRuler;
-class KIconEditGrid;
+class TDEIconEditGrid;
class TQScrollView;
enum Direction {
@@ -44,7 +44,7 @@ enum Direction {
class DrawCommand : public KCommand {
public:
- DrawCommand( int xx, int yy, uint newcol, TQImage* img, KIconEditGrid* g ) {
+ DrawCommand( int xx, int yy, uint newcol, TQImage* img, TDEIconEditGrid* g ) {
x = xx;
y = yy;
newcolor = newcol;
@@ -64,12 +64,12 @@ class DrawCommand : public KCommand {
uint newcolor;
uint oldcolor;
TQImage* image;
- KIconEditGrid* grid;
+ TDEIconEditGrid* grid;
};
class RepaintCommand : public KCommand {
public:
- RepaintCommand( TQRect a, KIconEditGrid* g ) {
+ RepaintCommand( TQRect a, TDEIconEditGrid* g ) {
area = a;
grid = g;
}
@@ -83,7 +83,7 @@ class RepaintCommand : public KCommand {
return "repainted";
}
protected:
- KIconEditGrid* grid;
+ TDEIconEditGrid* grid;
TQRect area;
};
@@ -97,7 +97,7 @@ public:
KRuler *hruler() { return _hruler;}
KRuler *vruler() { return _vruler;}
TQFrame *corner() { return _corner;}
- KIconEditGrid *grid() { return _grid; }
+ TDEIconEditGrid *grid() { return _grid; }
void setShowRulers(bool mode);
void setAcceptDrop(bool a);
const TQRect viewRect();
@@ -117,25 +117,25 @@ protected:
void setSizes();
TQFrame *_corner;
- KIconEditGrid *_grid;
+ TDEIconEditGrid *_grid;
KRuler *_hruler, *_vruler;
TQScrollView *viewport;
bool acceptdrop;
};
/**
-* KIconEditGrid
-* @short KIconEditGrid
+* TDEIconEditGrid
+* @short TDEIconEditGrid
* @author Thomas Tanghus <tanghus@kde.org>
* @version 0.3
*/
-class KIconEditGrid : public KColorGrid
+class TDEIconEditGrid : public KColorGrid
{
Q_OBJECT
public:
- KIconEditGrid( TQImage *image, KCommandHistory* h, TQWidget * parent = 0, const char *name = 0);
- virtual ~KIconEditGrid();
+ TDEIconEditGrid( TQImage *image, KCommandHistory* h, TQWidget * parent = 0, const char *name = 0);
+ virtual ~TDEIconEditGrid();
enum DrawTool { Line, Freehand, FloodFill, Spray, Rect, FilledRect, Circle,
FilledCircle, Ellipse, FilledEllipse, Eraser, SelectRect, SelectCircle, Find };