diff options
Diffstat (limited to 'kpilot/logWidget.cc')
-rw-r--r-- | kpilot/logWidget.cc | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/kpilot/logWidget.cc b/kpilot/logWidget.cc index dbd9c5f..e84d62f 100644 --- a/kpilot/logWidget.cc +++ b/kpilot/logWidget.cc @@ -95,24 +95,24 @@ LogWidget::LogWidget(TQWidget * parent) : TQString initialText ; initialText.append(CSL1("<b>Version:</b> KPilot %1" TE_EOL) - .tqarg(TQString::tqfromLatin1(KPILOT_VERSION))); + .tqarg(TQString::fromLatin1(KPILOT_VERSION))); initialText.append(CSL1("<b>Version:</b> pilot-link %1.%2.%3%4" TE_EOL) .tqarg(PILOT_LINK_VERSION) .tqarg(PILOT_LINK_MAJOR) .tqarg(PILOT_LINK_MINOR) #ifdef PILOT_LINK_PATCH - .tqarg(TQString::tqfromLatin1(PILOT_LINK_PATCH)) + .tqarg(TQString::fromLatin1(PILOT_LINK_PATCH)) #else .tqarg(TQString()) #endif ); #ifdef TDE_VERSION_STRING initialText.append(CSL1("<b>Version:</b> KDE %1" TE_EOL) - .tqarg(TQString::tqfromLatin1(TDE_VERSION_STRING))); + .tqarg(TQString::fromLatin1(TDE_VERSION_STRING))); #endif #ifdef TQT_VERSION_STR initialText.append(CSL1("<b>Version:</b> TQt %1" TE_EOL) - .tqarg(TQString::tqfromLatin1(TQT_VERSION_STR))); + .tqarg(TQString::fromLatin1(TQT_VERSION_STR))); #endif initialText.append(CSL1(TE_EOL)); @@ -172,7 +172,7 @@ LogWidget::LogWidget(TQWidget * parent) : // This latin1() is ok; KPILOT_VERSION is a #define // of a constant string. int textWidth =fontMetrics().width( - TQString::tqfromLatin1(KPILOT_VERSION)) ; + TQString::fromLatin1(KPILOT_VERSION)) ; int textHeight = fontMetrics().height(); #ifdef DEBUG @@ -189,10 +189,10 @@ LogWidget::LogWidget(TQWidget * parent) : black); painter.drawText(splash.width() - 25 - textWidth, splash.height() - 8, - TQString::tqfromLatin1(KPILOT_VERSION)); + TQString::fromLatin1(KPILOT_VERSION)); fSplash = new TQLabel(this); fSplash->setPixmap(splash); - fSplash->tqsetAlignment(AlignCenter); + fSplash->setAlignment(AlignCenter); TQTimer::singleShot(3000,this,TQT_SLOT(hideSplash())); grid->addMultiCellWidget(fSplash,1,3,1,2); grid->addColSpacing(0,10); |