summaryrefslogtreecommitdiffstats
path: root/kmilo/powerbook2/pb_monitor.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:52:55 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:52:55 +0000
commit5f5ee2367157176ed223b86343eb0a9e4022e020 (patch)
tree6a9c87f14ee38e90eff3c77c784f14e4f38fd5a1 /kmilo/powerbook2/pb_monitor.cpp
parent4facf42feec57b22dcf46badc115ad6c5b5cc512 (diff)
downloadtdeutils-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/powerbook2/pb_monitor.cpp')
-rw-r--r--kmilo/powerbook2/pb_monitor.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/kmilo/powerbook2/pb_monitor.cpp b/kmilo/powerbook2/pb_monitor.cpp
index 84c72d5..340d38b 100644
--- a/kmilo/powerbook2/pb_monitor.cpp
+++ b/kmilo/powerbook2/pb_monitor.cpp
@@ -45,12 +45,12 @@ extern "C" {
}
#define BUFFERLEN 200
-const QString tpmodes[] = { I18N_NOOP("No Tap"), I18N_NOOP("Tap"), I18N_NOOP("Drag"), I18N_NOOP("Lock") };
+const TQString tpmodes[] = { I18N_NOOP("No Tap"), I18N_NOOP("Tap"), I18N_NOOP("Drag"), I18N_NOOP("Lock") };
namespace KMilo {
-PowerBookMonitor::PowerBookMonitor(QObject *parent, const char *name,
- const QStringList& args)
+PowerBookMonitor::PowerBookMonitor(TQObject *parent, const char *name,
+ const TQStringList& args)
: Monitor(parent, name, args),
m_progress( 0 )
{
@@ -79,7 +79,7 @@ Monitor::DisplayType PowerBookMonitor::poll()
Monitor::DisplayType rc = None;
// Drain the queue, send the last message
struct tagitem* tag = readMessage();
- m_message = QString::null;
+ m_message = TQString::null;
while ( tag && tag->tag != TAG_END ) {
switch ( tag->tag ) {
case TAG_VOLUME:
@@ -97,7 +97,7 @@ Monitor::DisplayType PowerBookMonitor::poll()
case TAG_TPMODE:
{
rc = Monitor::Tap;
- QString marg = tpmodes[ tag->data & 3 ];
+ TQString marg = tpmodes[ tag->data & 3 ];
m_message = i18n( "Operating mode set to: %1." ).arg( marg );
}
break;
@@ -120,7 +120,7 @@ int PowerBookMonitor::progress() const
return m_progress;
}
-QString PowerBookMonitor::message() const
+TQString PowerBookMonitor::message() const
{
return m_message;
}