summaryrefslogtreecommitdiffstats
path: root/kmail/localsubscriptiondialog.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:53:50 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:53:50 +0000
commit7be55ffa061c026e35e2d6a0effe1161ddb0d41f (patch)
tree8474f9b444b2756228600050f07a7ff25de532b2 /kmail/localsubscriptiondialog.cpp
parentf587f20a6d09f1729dd0a8c1cd8ee0110aec7451 (diff)
downloadtdepim-7be55ffa061c026e35e2d6a0effe1161ddb0d41f.tar.gz
tdepim-7be55ffa061c026e35e2d6a0effe1161ddb0d41f.zip
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdepim@1157655 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kmail/localsubscriptiondialog.cpp')
-rw-r--r--kmail/localsubscriptiondialog.cpp18
1 files changed, 9 insertions, 9 deletions
diff --git a/kmail/localsubscriptiondialog.cpp b/kmail/localsubscriptiondialog.cpp
index f5dfc2b62..0816ba40a 100644
--- a/kmail/localsubscriptiondialog.cpp
+++ b/kmail/localsubscriptiondialog.cpp
@@ -46,8 +46,8 @@
namespace KMail {
-LocalSubscriptionDialog::LocalSubscriptionDialog( QWidget *parent, const QString &caption,
- ImapAccountBase *acct, QString startPath )
+LocalSubscriptionDialog::LocalSubscriptionDialog( TQWidget *parent, const TQString &caption,
+ ImapAccountBase *acct, TQString startPath )
: SubscriptionDialog( parent, caption, acct, startPath ),
mAccount( acct )
{
@@ -76,7 +76,7 @@ void LocalSubscriptionDialog::processFolderListing()
if (done == 1000)
{
emit listChanged();
- QTimer::singleShot(0, this, SLOT(processItems()));
+ TQTimer::singleShot(0, this, TQT_SLOT(processItems()));
return;
}
++mCount;
@@ -94,10 +94,10 @@ void LocalSubscriptionDialog::setCheckedStateOfAllItems()
{
// iterate over all items and check them, unless they are
// in the account's local subscription blacklist
- QDictIterator<GroupItem> it( mItemDict );
+ TQDictIterator<GroupItem> it( mItemDict );
for ( ; it.current(); ++it ) {
GroupItem *item = it.current();
- QString path = it.currentKey();
+ TQString path = it.currentKey();
item->setOn( mAccount->locallySubscribedTo( path ) );
}
}
@@ -107,7 +107,7 @@ void LocalSubscriptionDialog::doSave()
{
bool somethingHappened = false;
// subscribe
- QListViewItemIterator it(subView);
+ TQListViewItemIterator it(subView);
for ( ; it.current(); ++it) {
static_cast<ImapAccountBase*>(account())->changeLocalSubscription(
static_cast<GroupItem*>(it.current())->info().path, true );
@@ -115,13 +115,13 @@ void LocalSubscriptionDialog::doSave()
}
// unsubscribe
- QListViewItemIterator it2(unsubView);
+ TQListViewItemIterator it2(unsubView);
if ( unsubView->childCount() > 0 ) {
- const QString message = i18n("Locally unsubscribing from folders will remove all "
+ const TQString message = i18n("Locally unsubscribing from folders will remove all "
"information that is present locally about those folders. The folders will "
"not be changed on the server. Press cancel now if you want to make sure "
"all local changes have been written to the server by checking mail first.");
- const QString caption = i18n("Local changes will be lost when unsubscribing");
+ const TQString caption = i18n("Local changes will be lost when unsubscribing");
if ( KMessageBox::warningContinueCancel( this, message, caption )
!= KMessageBox::Cancel ) {
somethingHappened = true;