summaryrefslogtreecommitdiffstats
path: root/src/klcddimmerapplet.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/klcddimmerapplet.cpp')
-rw-r--r--src/klcddimmerapplet.cpp18
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);
}