diff options
Diffstat (limited to 'kgamma/kcmkgamma/displaynumber.cpp')
-rw-r--r-- | kgamma/kcmkgamma/displaynumber.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/kgamma/kcmkgamma/displaynumber.cpp b/kgamma/kcmkgamma/displaynumber.cpp index b3486e38..1bc0473b 100644 --- a/kgamma/kcmkgamma/displaynumber.cpp +++ b/kgamma/kcmkgamma/displaynumber.cpp @@ -20,16 +20,16 @@ #include "displaynumber.h" -DisplayNumber::DisplayNumber(TQWidget *parent, int digits, \ - int prec, const char *name) : TQLabel(parent,name) { +DisplayNumber::DisplayNumber(TQWidget *tqparent, int digits, \ + int prec, const char *name) : TQLabel(tqparent,name) { setPrecision(prec); setWidth(digits); setFrameStyle(TQFrame::Panel | TQFrame::Sunken); - setBackgroundMode(Qt::PaletteBase); - setAlignment(Qt::AlignCenter); - setFocusPolicy(NoFocus); + setBackgroundMode(TQt::PaletteBase); + tqsetAlignment(TQt::AlignCenter); + setFocusPolicy(TQ_NoFocus); } DisplayNumber::~DisplayNumber(){ |