summaryrefslogtreecommitdiffstats
path: root/lib/syncAction.cc
diff options
context:
space:
mode:
authorTimothy Pearson <[email protected]>2011-12-18 18:12:52 -0600
committerTimothy Pearson <[email protected]>2011-12-18 18:12:52 -0600
commite2574db445c23b812a26740475cbacbbd964639b (patch)
tree316cf67e705010864637b7293c323abdc26f371b /lib/syncAction.cc
parentd55caffa62947ca831ae0c21aada3b55eec24027 (diff)
downloadkpilot-e2574db445c23b812a26740475cbacbbd964639b.tar.gz
kpilot-e2574db445c23b812a26740475cbacbbd964639b.zip
Rename old tq methods that no longer need a unique name
Diffstat (limited to 'lib/syncAction.cc')
-rw-r--r--lib/syncAction.cc12
1 files changed, 6 insertions, 6 deletions
diff --git a/lib/syncAction.cc b/lib/syncAction.cc
index 55278a1..404498b 100644
--- a/lib/syncAction.cc
+++ b/lib/syncAction.cc
@@ -101,7 +101,7 @@ SyncAction::~SyncAction()
if (!r)
{
emit logError(i18n("The conduit %1 could not be executed.")
- .tqarg(TQString::tqfromLatin1(name())));
+ .tqarg(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"));
@@ -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);