summaryrefslogtreecommitdiffstats
path: root/kcoloredit/kxycolorselector.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 /kcoloredit/kxycolorselector.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 'kcoloredit/kxycolorselector.h')
-rw-r--r--kcoloredit/kxycolorselector.h18
1 files changed, 9 insertions, 9 deletions
diff --git a/kcoloredit/kxycolorselector.h b/kcoloredit/kxycolorselector.h
index 3213c59c..6225d74f 100644
--- a/kcoloredit/kxycolorselector.h
+++ b/kcoloredit/kxycolorselector.h
@@ -18,7 +18,7 @@
#ifndef KXYCOLORSELECTOR_H
#define KXYCOLORSELECTOR_H
-#include <qwidget.h>
+#include <tqwidget.h>
#include <kselect.h>
#include "main.h"
@@ -46,7 +46,7 @@ public:
/** Constructs a two-dimensional color component selector widget,
* with a type TYPE_NONE and ranges 0 .. MAX_COLOR_COMPONENT_VALUE
*/
- KXYColorSelector(QWidget *parent=0, const char *name=0);
+ KXYColorSelector(TQWidget *parent=0, const char *name=0);
~KXYColorSelector();
/** Set the type of the selector */
void setType(const int type);
@@ -72,26 +72,26 @@ protected:
/** Draws the contents of the widget on a pixmap,
* which is used for buffering.
*/
- virtual void drawPalette( QPixmap *pixmap );
+ virtual void drawPalette( TQPixmap *pixmap );
/** @reimplemented */
- virtual void resizeEvent( QResizeEvent * );
+ virtual void resizeEvent( TQResizeEvent * );
/** Reimplemented from KXYSelector. This drawing is
* buffered in a pixmap here. As real drawing
* routine, drawPalette() is used.
*/
- virtual void drawContents( QPainter *painter );
+ virtual void drawContents( TQPainter *painter );
/** Draws the cursor */
- virtual void drawCursor(QPainter* painter, int x, int y);
+ virtual void drawCursor(TQPainter* painter, int x, int y);
/** set a color at a given coordinate */
- virtual void setColor(QColor* const color, const int x, const int y);
+ virtual void setColor(TQColor* const color, const int x, const int y);
/** @return STANDARD_PALETTE_SIZE colors used to dither the
* pixmap if number of color planes <= 8
*/
- QColor* standardColorsPalette();
+ TQColor* standardColorsPalette();
private:
/* The buffering pixmap */
- QPixmap pixmap;
+ TQPixmap pixmap;
};
#endif