summaryrefslogtreecommitdiffstats
path: root/kolourpaint/pixmapfx/kpeffectreducecolors.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/pixmapfx/kpeffectreducecolors.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/pixmapfx/kpeffectreducecolors.h')
-rw-r--r--kolourpaint/pixmapfx/kpeffectreducecolors.h24
1 files changed, 12 insertions, 12 deletions
diff --git a/kolourpaint/pixmapfx/kpeffectreducecolors.h b/kolourpaint/pixmapfx/kpeffectreducecolors.h
index a14cffc7..bf44ef3e 100644
--- a/kolourpaint/pixmapfx/kpeffectreducecolors.h
+++ b/kolourpaint/pixmapfx/kpeffectreducecolors.h
@@ -33,13 +33,13 @@
#include <kpcoloreffect.h>
-class QRadioButton;
-class QImage;
+class TQRadioButton;
+class TQImage;
class kpMainWindow;
-QImage convertImageDepth (const QImage &image, int depth, bool dither);
+TQImage convertImageDepth (const TQImage &image, int depth, bool dither);
class kpEffectReduceColorsCommand : public kpColorEffectCommand
@@ -51,11 +51,11 @@ public:
kpMainWindow *mainWindow);
virtual ~kpEffectReduceColorsCommand ();
- QString commandName (int depth, int dither) const;
+ TQString commandName (int depth, int dither) const;
// (always preserves mask)
- static void apply (QPixmap *destPixmapPtr, int depth, bool dither);
- static QPixmap apply (const QPixmap &pm, int depth, bool dither);
+ static void apply (TQPixmap *destPixmapPtr, int depth, bool dither);
+ static TQPixmap apply (const TQPixmap &pm, int depth, bool dither);
//
@@ -63,7 +63,7 @@ public:
//
protected:
- virtual QPixmap applyColorEffect (const QPixmap &pixmap);
+ virtual TQPixmap applyColorEffect (const TQPixmap &pixmap);
int m_depth;
bool m_dither;
@@ -77,7 +77,7 @@ Q_OBJECT
public:
kpEffectReduceColorsWidget (bool actOnSelection,
kpMainWindow *mainWindow,
- QWidget *parent, const char *name = 0);
+ TQWidget *parent, const char *name = 0);
virtual ~kpEffectReduceColorsWidget ();
@@ -89,20 +89,20 @@ public:
// kpColorEffectWidget interface
//
- virtual QString caption () const;
+ virtual TQString caption () const;
virtual bool isNoOp () const;
- virtual QPixmap applyColorEffect (const QPixmap &pixmap);
+ virtual TQPixmap applyColorEffect (const TQPixmap &pixmap);
virtual kpColorEffectCommand *createCommand () const;
protected:
- QRadioButton *m_blackAndWhiteRadioButton,
+ TQRadioButton *m_blackAndWhiteRadioButton,
*m_blackAndWhiteDitheredRadioButton,
*m_8BitRadioButton,
*m_8BitDitheredRadioButton,
*m_24BitRadioButton;
- QRadioButton *m_defaultRadioButton;
+ TQRadioButton *m_defaultRadioButton;
};