From e7366c97c998679efa80cf61c88e64a11a3d3c33 Mon Sep 17 00:00:00 2001 From: tpearson Date: Wed, 10 Aug 2011 22:19:39 +0000 Subject: rename the following methods: tqparent parent tqmask mask git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdegraphics@1246260 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- kgamma/kcmkgamma/displaynumber.cpp | 4 ++-- kgamma/kcmkgamma/displaynumber.h | 2 +- kgamma/kcmkgamma/gammactrl.cpp | 4 ++-- kgamma/kcmkgamma/gammactrl.h | 2 +- kgamma/kcmkgamma/kgamma.cpp | 4 ++-- kgamma/kcmkgamma/kgamma.h | 2 +- 6 files changed, 9 insertions(+), 9 deletions(-) (limited to 'kgamma/kcmkgamma') diff --git a/kgamma/kcmkgamma/displaynumber.cpp b/kgamma/kcmkgamma/displaynumber.cpp index 1bc0473b..8ca9beed 100644 --- a/kgamma/kcmkgamma/displaynumber.cpp +++ b/kgamma/kcmkgamma/displaynumber.cpp @@ -20,8 +20,8 @@ #include "displaynumber.h" -DisplayNumber::DisplayNumber(TQWidget *tqparent, int digits, \ - int prec, const char *name) : TQLabel(tqparent,name) { +DisplayNumber::DisplayNumber(TQWidget *parent, int digits, \ + int prec, const char *name) : TQLabel(parent,name) { setPrecision(prec); setWidth(digits); diff --git a/kgamma/kcmkgamma/displaynumber.h b/kgamma/kcmkgamma/displaynumber.h index 19e41de6..5e9e96b8 100644 --- a/kgamma/kcmkgamma/displaynumber.h +++ b/kgamma/kcmkgamma/displaynumber.h @@ -28,7 +28,7 @@ class DisplayNumber : public TQLabel { Q_OBJECT TQ_OBJECT public: - DisplayNumber(TQWidget *tqparent=0, int digits=0, int prec=0, const char *name=0); + DisplayNumber(TQWidget *parent=0, int digits=0, int prec=0, const char *name=0); ~DisplayNumber(); void setFont( const TQFont & f ); void setNum(double num); diff --git a/kgamma/kcmkgamma/gammactrl.cpp b/kgamma/kcmkgamma/gammactrl.cpp index efedeefa..4cb49405 100644 --- a/kgamma/kcmkgamma/gammactrl.cpp +++ b/kgamma/kcmkgamma/gammactrl.cpp @@ -26,9 +26,9 @@ #include "displaynumber.h" #include "gammactrl.moc" -GammaCtrl::GammaCtrl(TQWidget *tqparent, XVidExtWrap *xvid, int channel, \ +GammaCtrl::GammaCtrl(TQWidget *parent, XVidExtWrap *xvid, int channel, \ const TQString& mingamma, const TQString& maxgamma, const TQString& setgamma, \ - const char *name) : TQHBox(tqparent, name) + const char *name) : TQHBox(parent, name) { int maxslider = (int)( ( maxgamma.toDouble() - mingamma.toDouble() \ + 0.0005 ) * 20 ); diff --git a/kgamma/kcmkgamma/gammactrl.h b/kgamma/kcmkgamma/gammactrl.h index 75dfa775..8147ea03 100644 --- a/kgamma/kcmkgamma/gammactrl.h +++ b/kgamma/kcmkgamma/gammactrl.h @@ -34,7 +34,7 @@ class GammaCtrl : public TQHBox { TQ_OBJECT public: /** construktor */ - GammaCtrl(TQWidget *tqparent=0, XVidExtWrap *xvid=0, int channel=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 */ diff --git a/kgamma/kcmkgamma/kgamma.cpp b/kgamma/kcmkgamma/kgamma.cpp index 961a617e..519549c3 100644 --- a/kgamma/kcmkgamma/kgamma.cpp +++ b/kgamma/kcmkgamma/kgamma.cpp @@ -55,8 +55,8 @@ extern "C" } } -KGamma::KGamma(TQWidget *tqparent, const char *name, const TQStringList&) - :KCModule(tqparent,name) +KGamma::KGamma(TQWidget *parent, const char *name, const TQStringList&) + :KCModule(parent,name) { bool ok; GammaCorrection = true; diff --git a/kgamma/kcmkgamma/kgamma.h b/kgamma/kcmkgamma/kgamma.h index 51175ecd..38194a43 100644 --- a/kgamma/kcmkgamma/kgamma.h +++ b/kgamma/kcmkgamma/kgamma.h @@ -30,7 +30,7 @@ class KGamma: public KCModule Q_OBJECT TQ_OBJECT public: - KGamma(TQWidget *tqparent, const char *name, const TQStringList&); + KGamma(TQWidget *parent, const char *name, const TQStringList&); virtual ~KGamma(); void load(); -- cgit v1.2.1