summaryrefslogtreecommitdiffstats
path: root/libkdegames/kgamelcd.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'libkdegames/kgamelcd.cpp')
-rw-r--r--libkdegames/kgamelcd.cpp26
1 files changed, 13 insertions, 13 deletions
diff --git a/libkdegames/kgamelcd.cpp b/libkdegames/kgamelcd.cpp
index c87930b5..cc6aa5a8 100644
--- a/libkdegames/kgamelcd.cpp
+++ b/libkdegames/kgamelcd.cpp
@@ -28,8 +28,8 @@
//-----------------------------------------------------------------------------
-KGameLCD::KGameLCD(uint nbDigits, TQWidget *parent, const char *name)
- : TQLCDNumber(nbDigits, parent, name), _htime(800)
+KGameLCD::KGameLCD(uint nbDigits, TQWidget *tqparent, const char *name)
+ : TQLCDNumber(nbDigits, tqparent, name), _htime(800)
{
const TQPalette &p = palette();
_fgColor = p.color(TQPalette::Active, TQColorGroup::Foreground);
@@ -110,8 +110,8 @@ void KGameLCD::highlight(bool light)
}
//-----------------------------------------------------------------------------
-KGameLCDClock::KGameLCDClock(TQWidget *parent, const char *name)
-: KGameLCD(5, parent, name)
+KGameLCDClock::KGameLCDClock(TQWidget *tqparent, const char *name)
+: KGameLCD(5, tqparent, name)
{
_timerClock = new TQTimer(this);
connect(_timerClock, TQT_SIGNAL(timeout()), TQT_SLOT(timeoutClock()));
@@ -191,17 +191,17 @@ public:
TQValueVector<TQLabel *> _leadings;
};
-KGameLCDList::KGameLCDList(const TQString &title, TQWidget *parent,
+KGameLCDList::KGameLCDList(const TQString &title, TQWidget *tqparent,
const char *name)
- : TQWidget(parent, name)
+ : TQWidget(tqparent, name)
{
init(title);
}
-KGameLCDList::KGameLCDList(TQWidget *parent, const char *name)
- : TQWidget(parent, name)
+KGameLCDList::KGameLCDList(TQWidget *tqparent, const char *name)
+ : TQWidget(tqparent, name)
{
- init(TQString::null);
+ init(TQString());
}
KGameLCDList::~KGameLCDList()
@@ -217,13 +217,13 @@ void KGameLCDList::init(const TQString &title)
top->setColStretch(1, 1);
_title = new TQLabel(title, this);
- _title->setAlignment(AlignCenter);
+ _title->tqsetAlignment(AlignCenter);
top->addMultiCellWidget(_title, 0, 0, 0, 1, AlignCenter);
}
void KGameLCDList::append(TQLCDNumber *lcd)
{
- append(TQString::null, lcd);
+ append(TQString(), lcd);
}
void KGameLCDList::append(const TQString &leading, TQLCDNumber *lcd)
@@ -232,11 +232,11 @@ void KGameLCDList::append(const TQString &leading, TQLCDNumber *lcd)
TQLabel *label = 0;
if ( !leading.isEmpty() ) {
label = new TQLabel(leading, this);
- static_cast<TQGridLayout *>(layout())->addWidget(label, i+1, 0);
+ static_cast<TQGridLayout *>(tqlayout())->addWidget(label, i+1, 0);
}
d->_leadings.push_back(label);
_lcds.push_back(lcd);
- static_cast<TQGridLayout *>(layout())->addWidget(lcd, i+1, 1);
+ static_cast<TQGridLayout *>(tqlayout())->addWidget(lcd, i+1, 1);
}
void KGameLCDList::clear()