summaryrefslogtreecommitdiffstats
path: root/lib/syncAction.cc
diff options
context:
space:
mode:
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);