diff options
Diffstat (limited to 'klines')
-rw-r--r-- | klines/linesboard.cpp | 4 | ||||
-rw-r--r-- | klines/mwidget.cpp | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/klines/linesboard.cpp b/klines/linesboard.cpp index 4de4f474..768965fa 100644 --- a/klines/linesboard.cpp +++ b/klines/linesboard.cpp @@ -711,13 +711,13 @@ void LinesBoard::showDemoText(const TQString &text) demoLabel->setAutoMask( FALSE ); demoLabel->setFrameStyle( TQFrame::Plain | TQFrame::Box ); demoLabel->setLineWidth( 1 ); - demoLabel->tqsetAlignment( AlignHCenter | AlignTop ); + demoLabel->setAlignment( AlignHCenter | AlignTop ); demoLabel->setPalette(TQToolTip::palette()); demoLabel->polish(); } demoLabel->setText(text); demoLabel->adjustSize(); - TQSize s = demoLabel->tqsizeHint(); + TQSize s = demoLabel->sizeHint(); TQPoint p = TQPoint(x() + (width()-s.width())/2, y() + (height()-s.height())/2); demoLabel->move(mapToGlobal(p)); demoLabel->show(); diff --git a/klines/mwidget.cpp b/klines/mwidget.cpp index 1492d390..fbb69161 100644 --- a/klines/mwidget.cpp +++ b/klines/mwidget.cpp @@ -46,7 +46,7 @@ MainWidget::MainWidget( TQWidget* parent, const char* name ) // warning("width: %i height: %i", width(), height() ); -// warning("wh: %i hh: %i", tqsizeHint().width(), tqsizeHint().height() ); +// warning("wh: %i hh: %i", sizeHint().width(), sizeHint().height() ); } |