summaryrefslogtreecommitdiffstats
path: root/kgamma/kcmkgamma/gammactrl.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 /kgamma/kcmkgamma/gammactrl.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 'kgamma/kcmkgamma/gammactrl.h')
-rw-r--r--kgamma/kcmkgamma/gammactrl.h24
1 files changed, 12 insertions, 12 deletions
diff --git a/kgamma/kcmkgamma/gammactrl.h b/kgamma/kcmkgamma/gammactrl.h
index 0d6ea890..97a1ab9e 100644
--- a/kgamma/kcmkgamma/gammactrl.h
+++ b/kgamma/kcmkgamma/gammactrl.h
@@ -21,35 +21,35 @@
#ifndef GAMMACTRL_H
#define GAMMACTRL_H
-#include <qhbox.h>
-#include <qslider.h>
+#include <tqhbox.h>
+#include <tqslider.h>
-class QString;
+class TQString;
class DisplayNumber;
class XVidExtWrap;
-class GammaCtrl : public QHBox {
+class GammaCtrl : public TQHBox {
Q_OBJECT
public:
/** construktor */
- GammaCtrl(QWidget *parent=0, XVidExtWrap *xvid=0, int channel=0, \
- const QString& mingamma="0.40", const QString& maxgamma="3.50", \
- const QString& setgamma="1.00", const char *name=0 );
+ GammaCtrl(TQWidget *parent=0, XVidExtWrap *xvid=0, int channel=0, \
+ const TQString& mingamma="0.40", const TQString& maxgamma="3.50", \
+ const TQString& setgamma="1.00", const char *name=0 );
/** destruktor */
~GammaCtrl();
/** Return the current gamma value with precision prec */
- QString gamma(int);
+ TQString gamma(int);
/** Set gamma, slider and textfield */
- void setGamma(const QString&);
+ void setGamma(const TQString&);
/** Set slider and textfield */
- void setControl(const QString&);
+ void setControl(const TQString&);
/** Disable the slider */
void disableSlider() { slider->setDisabled(true);};
private:
- QString mgamma;
- QSlider *slider;
+ TQString mgamma;
+ TQSlider *slider;
DisplayNumber *textfield;
bool suspended, changed;
int gchannel, oldpos;