summaryrefslogtreecommitdiffstats
path: root/superkaramba/src/themewidget.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'superkaramba/src/themewidget.cpp')
-rw-r--r--superkaramba/src/themewidget.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/superkaramba/src/themewidget.cpp b/superkaramba/src/themewidget.cpp
index 3addd2a..75a9a0d 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 <tqlayout.h>
+#include <layout.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>").tqarg(i));
+ running->setText(i18n("<p align=\"center\">%1 running</p>").arg(i));
else
running->setText("");
}
@@ -101,12 +101,12 @@ void ThemeWidget::showButton(bool show)
void ThemeWidget::setDescriptionMaxHeight()
{
- if(layoutText->tqgeometry().height() <= 0)
+ if(layoutText->geometry().height() <= 0)
return;
- int height = layoutText->tqgeometry().height() - themeName->height() -
+ int height = layoutText->geometry().height() - themeName->height() -
layoutText->spacing();
if(buttonGo->isVisible())
- height -= layoutButton->tqgeometry().height() + layoutText->spacing();
+ height -= layoutButton->geometry().height() + layoutText->spacing();
description->setMaximumHeight(height);
}