summaryrefslogtreecommitdiffstats
path: root/lib/syncAction.cc
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-15 15:32:24 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-15 15:32:24 -0600
commit631a19d8c5c5f69dc0d941c1997806fb422c79a6 (patch)
tree48a1a5d40ca2aa276b04f95398d9fba3fd9d7d8a /lib/syncAction.cc
parent87cd441352f3f2f1b2279bb47ebbb54ced81194f (diff)
downloadkpilot-631a19d8c5c5f69dc0d941c1997806fb422c79a6.tar.gz
kpilot-631a19d8c5c5f69dc0d941c1997806fb422c79a6.zip
Rename a number of old tq methods that are no longer tq specific
Diffstat (limited to 'lib/syncAction.cc')
-rw-r--r--lib/syncAction.cc18
1 files changed, 9 insertions, 9 deletions
diff --git a/lib/syncAction.cc b/lib/syncAction.cc
index 55278a1..a527a12 100644
--- a/lib/syncAction.cc
+++ b/lib/syncAction.cc
@@ -36,7 +36,7 @@
#include <tqtimer.h>
#include <tqvbox.h>
-#include <tqlayout.h>
+#include <layout.h>
#include <tqcheckbox.h>
#include <tqlabel.h>
#include <tqmessagebox.h>
@@ -101,7 +101,7 @@ SyncAction::~SyncAction()
if (!r)
{
emit logError(i18n("The conduit %1 could not be executed.")
- .tqarg(TQString::tqfromLatin1(name())));
+ .arg(TQString::fromLatin1(name())));
delayDone();
}
}
@@ -142,7 +142,7 @@ SyncAction::SyncMode::SyncMode(const TQStringList &args) :
int i = 0;
while(maps[i].name)
{
- if (args.contains(TQString::tqfromLatin1(maps[i].name)))
+ if (args.contains(TQString::fromLatin1(maps[i].name)))
{
fMode = maps[i].mode;
break;
@@ -181,7 +181,7 @@ TQStringList SyncAction::SyncMode::list() const
{
if ( fMode == maps[i].mode )
{
- l.append(TQString::tqfromLatin1(maps[i].name));
+ l.append(TQString::fromLatin1(maps[i].name));
break;
}
i++;
@@ -189,7 +189,7 @@ TQStringList SyncAction::SyncMode::list() const
if ( !maps[i].name )
{
WARNINGKPILOT << "Mode " << fMode << " does not have a name." << endl;
- l.append(TQString::tqfromLatin1(maps[0].name));
+ l.append(TQString::fromLatin1(maps[0].name));
}
if (isTest()) l.append(CSL1("--test"));
@@ -217,11 +217,11 @@ TQString SyncAction::SyncMode::name() const
if (isTest())
{
- s.append(CSL1(" [%1]").tqarg(i18n("Test Sync")));
+ s.append(CSL1(" [%1]").arg(i18n("Test Sync")));
}
if (isLocal())
{
- s.append(CSL1(" [%1]").tqarg(i18n("Local Sync")));
+ s.append(CSL1(" [%1]").arg(i18n("Local Sync")));
}
return s;
}
@@ -357,7 +357,7 @@ int SyncAction::questionYesNo(const TQString & text,
label1->setPixmap(TQMessageBox::standardIcon(TQMessageBox::Information));
lay->add( label1 );
TQLabel *label2 = new TQLabel( text, contents);
- label2->setMinimumSize(label2->tqsizeHint());
+ label2->setMinimumSize(label2->sizeHint());
lay->add(label2);
lay->addStretch(1);
@@ -469,7 +469,7 @@ int SyncAction::questionYesNoCancel(const TQString & text,
label1->setPixmap(TQMessageBox::standardIcon(TQMessageBox::Information));
lay->add( label1 );
TQLabel *label2 = new TQLabel( text, contents);
- label2->setMinimumSize(label2->tqsizeHint());
+ label2->setMinimumSize(label2->sizeHint());
lay->add(label2);
lay->addStretch(1);