diff options
Diffstat (limited to 'libtdegames/highscore/kexthighscore_tab.cpp')
-rw-r--r-- | libtdegames/highscore/kexthighscore_tab.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/libtdegames/highscore/kexthighscore_tab.cpp b/libtdegames/highscore/kexthighscore_tab.cpp index d47b35a6..811b1132 100644 --- a/libtdegames/highscore/kexthighscore_tab.cpp +++ b/libtdegames/highscore/kexthighscore_tab.cpp @@ -20,7 +20,7 @@ #include "kexthighscore_tab.h" #include "kexthighscore_tab.moc" -#include <tqlayout.h> +#include <layout.h> #include <tqlabel.h> #include <tqvgroupbox.h> #include <tqgrid.h> @@ -97,7 +97,7 @@ void AdditionalTab::allSelected() TQString AdditionalTab::percent(uint n, uint total, bool withBraces) { if ( n==0 || total==0 ) return TQString(); - TQString s = TQString("%1%").tqarg(100.0 * n / total, 0, 'f', 1); + TQString s = TQString("%1%").arg(100.0 * n / total, 0, 'f', 1); return (withBraces ? TQString("(") + s + ")" : s); } @@ -120,7 +120,7 @@ StatisticsTab::StatisticsTab(TQWidget *parent) : AdditionalTab(parent, "statistics_tab") { // construct GUI - TQVBoxLayout *top = static_cast<TQVBoxLayout *>(tqlayout()); + TQVBoxLayout *top = static_cast<TQVBoxLayout *>(layout()); TQHBoxLayout *hbox = new TQHBoxLayout(top); TQVBoxLayout *vbox = new TQVBoxLayout(hbox); @@ -209,7 +209,7 @@ HistogramTab::HistogramTab(TQWidget *parent) : AdditionalTab(parent, "histogram_tab") { // construct GUI - TQVBoxLayout *top = static_cast<TQVBoxLayout *>(tqlayout()); + TQVBoxLayout *top = static_cast<TQVBoxLayout *>(layout()); _list = new KListView(this); _list->setSelectionMode(TQListView::NoSelection); |