diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-04-13 00:46:47 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-04-13 00:46:47 +0000 |
commit | 67e29a054cfcb1b0d2fe6b0a316cf6b3eec087b7 (patch) | |
tree | 5f52a9eada2e9f3654fc327d7c14dfef570a6ecb /knode/kngroupdialog.cpp | |
parent | 2ee4bf4fd5eff93b2fbef0ff8e8063edffc5da5c (diff) | |
download | tdepim-67e29a054cfcb1b0d2fe6b0a316cf6b3eec087b7.tar.gz tdepim-67e29a054cfcb1b0d2fe6b0a316cf6b3eec087b7.zip |
Initial conversion of kdepim to TQt
This will probably require some tweaking before it will build under Qt4,
however Qt3 builds are OK. Any alterations this commit makes to kdepim
behaviour under Qt3 are unintentional and should be fixed.
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdepim@1227832 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'knode/kngroupdialog.cpp')
-rw-r--r-- | knode/kngroupdialog.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/knode/kngroupdialog.cpp b/knode/kngroupdialog.cpp index bff6dfd5b..eadaf06b9 100644 --- a/knode/kngroupdialog.cpp +++ b/knode/kngroupdialog.cpp @@ -34,8 +34,8 @@ #include <tqpushbutton.h> -KNGroupDialog::KNGroupDialog(TQWidget *parent, KNNntpAccount *a) : - KNGroupBrowser(parent, i18n("Subscribe to Newsgroups"),a, User1 | User2, true, i18n("New &List"), i18n("New &Groups...") ) +KNGroupDialog::KNGroupDialog(TQWidget *tqparent, KNNntpAccount *a) : + KNGroupBrowser(tqparent, i18n("Subscribe to Newsgroups"),a, User1 | User2, true, i18n("New &List"), i18n("New &Groups...") ) { rightLabel->setText(i18n("Current changes:")); subView=new TQListView(page); @@ -138,7 +138,7 @@ void KNGroupDialog::toSubscribe(TQSortedList<KNGroupInfo> *l) } if (moderated) // warn the user KMessageBox::information(knGlobals.topWidget,i18n("You have subscribed to a moderated newsgroup.\nYour articles will not appear in the group immediately.\nThey have to go through a moderation process."), - TQString::null,"subscribeModeratedWarning"); + TQString(),"subscribeModeratedWarning"); } @@ -292,7 +292,7 @@ void KNGroupDialog::slotUser2() topL->addMultiCellWidget(takeLast, 0, 0, 0, 1); TQLabel *l = new TQLabel(KGlobal::locale()->formatDate(lastDate, false),btnGrp); - topL->addWidget(l, 1, 1, Qt::AlignLeft); + topL->addWidget(l, 1, 1, TQt::AlignLeft); connect(takeLast, TQT_SIGNAL(toggled(bool)), l, TQT_SLOT(setEnabled(bool))); @@ -301,7 +301,7 @@ void KNGroupDialog::slotUser2() KDatePicker *dateSel = new KDatePicker(btnGrp, lastDate); dateSel->setMinimumSize(dateSel->tqsizeHint()); - topL->addWidget(dateSel, 3, 1, Qt::AlignLeft); + topL->addWidget(dateSel, 3, 1, TQt::AlignLeft); connect(takeCustom, TQT_SIGNAL(toggled(bool)), dateSel, TQT_SLOT(setEnabled(bool))); |