diff options
author | Slávek Banko <slavek.banko@axis.cz> | 2013-08-21 21:31:42 +0200 |
---|---|---|
committer | Slávek Banko <slavek.banko@axis.cz> | 2013-08-21 21:31:42 +0200 |
commit | dc35d8eaac302891fa34128d0e2e148b4c409544 (patch) | |
tree | 7e7196abc428ea90299b38bde8b04ca24bb1c948 /src/klcddimmerapplet.cpp | |
parent | e6a44e6a474364c8743c97cd87dcf0b47879324f (diff) | |
download | klcddimmer-dc35d8eaac302891fa34128d0e2e148b4c409544.tar.gz klcddimmer-dc35d8eaac302891fa34128d0e2e148b4c409544.zip |
Initial TQt conversion
Diffstat (limited to 'src/klcddimmerapplet.cpp')
-rw-r--r-- | src/klcddimmerapplet.cpp | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/src/klcddimmerapplet.cpp b/src/klcddimmerapplet.cpp index 2c64bfb..a77412f 100644 --- a/src/klcddimmerapplet.cpp +++ b/src/klcddimmerapplet.cpp @@ -19,21 +19,21 @@ ***************************************************************************/ #include "klcddimmerapplet.h" -#include <qpixmap.h> -#include <qlabel.h> +#include <ntqpixmap.h> +#include <ntqlabel.h> #include <kiconloader.h> -#include <qlayout.h> +#include <ntqlayout.h> -KlcdDimmerApplet::KlcdDimmerApplet(QWidget *parent, const char *name) - : QWidget(parent, name) +KlcdDimmerApplet::KlcdDimmerApplet(TQWidget *parent, const char *name) + : TQWidget(parent, name) { // the icon and the text will be aligned vertically centered - layout = new QVBoxLayout(this); + layout = new TQVBoxLayout(this); - brightnessIcon = new QLabel(this); + brightnessIcon = new TQLabel(this); brightnessIcon->setAlignment(AlignCenter); brightnessIcon->setBackgroundOrigin(AncestorOrigin); - brightnessLevel = new QLabel(this); + brightnessLevel = new TQLabel(this); brightnessLevel->setAlignment(AlignCenter); // use the same background of the panel brightnessLevel->setBackgroundOrigin(AncestorOrigin); @@ -49,7 +49,7 @@ KlcdDimmerApplet::~KlcdDimmerApplet() { } -void KlcdDimmerApplet::setBrightnessLevel(const QString &level) +void KlcdDimmerApplet::setBrightnessLevel(const TQString &level) { brightnessLevel->setText(level); } |