diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:52:55 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:52:55 +0000 |
commit | 5f5ee2367157176ed223b86343eb0a9e4022e020 (patch) | |
tree | 6a9c87f14ee38e90eff3c77c784f14e4f38fd5a1 /kmilo/kmilod/kmilod.cpp | |
parent | 4facf42feec57b22dcf46badc115ad6c5b5cc512 (diff) | |
download | tdeutils-5f5ee2367157176ed223b86343eb0a9e4022e020.tar.gz tdeutils-5f5ee2367157176ed223b86343eb0a9e4022e020.zip |
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdeutils@1157653 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kmilo/kmilod/kmilod.cpp')
-rw-r--r-- | kmilo/kmilod/kmilod.cpp | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/kmilo/kmilod/kmilod.cpp b/kmilo/kmilod/kmilod.cpp index 98203b1..aa40b6d 100644 --- a/kmilo/kmilod/kmilod.cpp +++ b/kmilo/kmilod/kmilod.cpp @@ -28,7 +28,7 @@ #include "kmilod.h" #include "monitor.h" -#include <qfile.h> +#include <tqfile.h> #include <klocale.h> #include <kdebug.h> @@ -43,13 +43,13 @@ using namespace KMilo; extern "C" { - KDE_EXPORT KDEDModule *create_kmilod(const QCString &name) { + KDE_EXPORT KDEDModule *create_kmilod(const TQCString &name) { return new KMiloD(name); } } -KMiloD::KMiloD(const QCString &name) : KDEDModule(name), _interval(100) +KMiloD::KMiloD(const TQCString &name) : KDEDModule(name), _interval(100) { _monitors.setAutoDelete(true); _miface = new KMiloInterface(this); @@ -80,7 +80,7 @@ KMiloD::KMiloD(const QCString &name) : KDEDModule(name), _interval(100) } // Start the timer - QObject::connect(&_timer, SIGNAL(timeout()), this, SLOT(doTimer())); + TQObject::connect(&_timer, TQT_SIGNAL(timeout()), this, TQT_SLOT(doTimer())); if (shouldPoll) { _timer.start(_interval); } @@ -192,21 +192,21 @@ void KMiloD::doTimer() { } -void KMiloD::displayText(const QString& text) { - _display->displayText(text, QPixmap()); +void KMiloD::displayText(const TQString& text) { + _display->displayText(text, TQPixmap()); } -void KMiloD::displayText(const QString& text, const QPixmap& customPixmap) { +void KMiloD::displayText(const TQString& text, const TQPixmap& customPixmap) { _display->displayText(text, customPixmap); } -void KMiloD::displayProgress(const QString& text, int progress) { - _display->displayProgress(text, progress, QPixmap()); +void KMiloD::displayProgress(const TQString& text, int progress) { + _display->displayProgress(text, progress, TQPixmap()); } -void KMiloD::displayProgress(const QString& text, int progress, const QPixmap& customPixmap ) { +void KMiloD::displayProgress(const TQString& text, int progress, const TQPixmap& customPixmap ) { _display->displayProgress(text, progress, customPixmap); } |