diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-16 10:00:17 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-16 10:00:17 -0600 |
commit | 955e20356d63ed405198c8143617a8a0ca8bfc02 (patch) | |
tree | 9a9ab22c86d212a5655014ad752e96b04c0c86a9 /superkaramba/src/themewidget.cpp | |
parent | bf280726d5d22f33d33e4f9e771220c725249407 (diff) | |
download | tdeutils-955e20356d63ed405198c8143617a8a0ca8bfc02.tar.gz tdeutils-955e20356d63ed405198c8143617a8a0ca8bfc02.zip |
Revert "Rename a number of old tq methods that are no longer tq specific"
This reverts commit bf280726d5d22f33d33e4f9e771220c725249407.
Diffstat (limited to 'superkaramba/src/themewidget.cpp')
-rw-r--r-- | superkaramba/src/themewidget.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/superkaramba/src/themewidget.cpp b/superkaramba/src/themewidget.cpp index 75a9a0d..3addd2a 100644 --- a/superkaramba/src/themewidget.cpp +++ b/superkaramba/src/themewidget.cpp @@ -23,7 +23,7 @@ #include <kdebug.h> #include <klocale.h> #include <tqlabel.h> -#include <layout.h> +#include <tqlayout.h> ThemeWidget::ThemeWidget(TQWidget *parent, const char *name) : ThemeWidgetLayout(parent, name), m_themeFile(0) @@ -75,7 +75,7 @@ void ThemeWidget::updateRunning() { int i = instances(); if(i > 0) - running->setText(i18n("<p align=\"center\">%1 running</p>").arg(i)); + running->setText(i18n("<p align=\"center\">%1 running</p>").tqarg(i)); else running->setText(""); } @@ -101,12 +101,12 @@ void ThemeWidget::showButton(bool show) void ThemeWidget::setDescriptionMaxHeight() { - if(layoutText->geometry().height() <= 0) + if(layoutText->tqgeometry().height() <= 0) return; - int height = layoutText->geometry().height() - themeName->height() - + int height = layoutText->tqgeometry().height() - themeName->height() - layoutText->spacing(); if(buttonGo->isVisible()) - height -= layoutButton->geometry().height() + layoutText->spacing(); + height -= layoutButton->tqgeometry().height() + layoutText->spacing(); description->setMaximumHeight(height); } |