author | Michael Krelin <hacker@klever.net> | 2007-07-04 11:23:42 (UTC) |
---|---|---|
committer | Michael Krelin <hacker@klever.net> | 2007-07-04 11:23:42 (UTC) |
commit | a08aff328d4393031d5ba7d622c2b05705a89d73 (patch) (unidiff) | |
tree | 8ee90d686081c52e7c69b5ce946e9b1a7d690001 /kmicromail/editaccounts.cpp | |
parent | 11edc920afe4f274c0964436633aa632c8288a40 (diff) | |
download | kdepimpi-p1.zip kdepimpi-p1.tar.gz kdepimpi-p1.tar.bz2 |
initial public commit of qt4 portp1
-rw-r--r-- | kmicromail/editaccounts.cpp | 40 |
1 files changed, 20 insertions, 20 deletions
diff --git a/kmicromail/editaccounts.cpp b/kmicromail/editaccounts.cpp index 2c0f2d8..f274dc3 100644 --- a/kmicromail/editaccounts.cpp +++ b/kmicromail/editaccounts.cpp | |||
@@ -18,3 +18,3 @@ | |||
18 | #include <qtabwidget.h> | 18 | #include <qtabwidget.h> |
19 | #include <qlistview.h> | 19 | #include <q3listview.h> |
20 | #include <qspinbox.h> | 20 | #include <qspinbox.h> |
@@ -27,4 +27,4 @@ using namespace Opie::Core; | |||
27 | 27 | ||
28 | AccountListItem::AccountListItem( QListView *parent, Account *a) | 28 | AccountListItem::AccountListItem( Q3ListView *parent, Account *a) |
29 | : QListViewItem( parent ) | 29 | : Q3ListViewItem( parent ) |
30 | { | 30 | { |
@@ -53,3 +53,3 @@ AccountListItem::AccountListItem( QListView *parent, Account *a) | |||
53 | 53 | ||
54 | EditAccounts::EditAccounts( Settings *s, QWidget *parent, const char *name, bool modal, WFlags flags ) | 54 | EditAccounts::EditAccounts( Settings *s, QWidget *parent, const char *name, bool modal, Qt::WFlags flags ) |
55 | : EditAccountsUI( parent, name, modal, flags ) | 55 | : EditAccountsUI( parent, name, modal, flags ) |
@@ -310,3 +310,3 @@ void EditAccounts::accept() | |||
310 | 310 | ||
311 | SelectMailType::SelectMailType( QString *selection, QWidget *parent, const char *name, bool modal, WFlags flags ) | 311 | SelectMailType::SelectMailType( QString *selection, QWidget *parent, const char *name, bool modal, Qt::WFlags flags ) |
312 | : SelectMailTypeUI( parent, name, modal, flags ) | 312 | : SelectMailTypeUI( parent, name, modal, flags ) |
@@ -327,3 +327,3 @@ void SelectMailType::slotSelection( const QString &sel ) | |||
327 | 327 | ||
328 | IMAPconfig::IMAPconfig( IMAPaccount *account, QWidget *parent, const char *name, bool modal, WFlags flags ) | 328 | IMAPconfig::IMAPconfig( IMAPaccount *account, QWidget *parent, const char *name, bool modal, Qt::WFlags flags ) |
329 | : IMAPconfigUI( parent, name, modal, flags ) | 329 | : IMAPconfigUI( parent, name, modal, flags ) |
@@ -410,3 +410,3 @@ void IMAPconfig::accept() | |||
410 | 410 | ||
411 | POP3config::POP3config( POP3account *account, QWidget *parent, const char *name, bool modal, WFlags flags ) | 411 | POP3config::POP3config( POP3account *account, QWidget *parent, const char *name, bool modal, Qt::WFlags flags ) |
412 | : POP3configUI( parent, name, modal, flags ) | 412 | : POP3configUI( parent, name, modal, flags ) |
@@ -491,3 +491,3 @@ void POP3config::accept() | |||
491 | 491 | ||
492 | SMTPconfig::SMTPconfig( SMTPaccount *account, QWidget *parent, const char *name, bool modal, WFlags flags ) | 492 | SMTPconfig::SMTPconfig( SMTPaccount *account, QWidget *parent, const char *name, bool modal, Qt::WFlags flags ) |
493 | : SMTPconfigUI( parent, name, modal, flags ) | 493 | : SMTPconfigUI( parent, name, modal, flags ) |
@@ -500,3 +500,3 @@ SMTPconfig::SMTPconfig( SMTPaccount *account, QWidget *parent, const char *name, | |||
500 | // fillValues(); | 500 | // fillValues(); |
501 | QIconSet icon; | 501 | QIcon icon; |
502 | //icon = SmallIcon("fileexport"); | 502 | //icon = SmallIcon("fileexport"); |
@@ -574,3 +574,3 @@ void SMTPconfig::accept() | |||
574 | 574 | ||
575 | NNTPconfig::NNTPconfig( NNTPaccount *account, QWidget *parent, const char *name, bool modal, WFlags flags ) | 575 | NNTPconfig::NNTPconfig( NNTPaccount *account, QWidget *parent, const char *name, bool modal, Qt::WFlags flags ) |
576 | : NNTPconfigUI( parent, name, modal, flags ) | 576 | : NNTPconfigUI( parent, name, modal, flags ) |
@@ -595,4 +595,4 @@ void NNTPconfig::slotShowSub() | |||
595 | for ( QStringList::Iterator it = subscribedGroups.begin(); it != subscribedGroups.end(); ++it ) { | 595 | for ( QStringList::Iterator it = subscribedGroups.begin(); it != subscribedGroups.end(); ++it ) { |
596 | QCheckListItem *item; | 596 | Q3CheckListItem *item; |
597 | item = new QCheckListItem( ListViewGroups, (*it), QCheckListItem::CheckBox ); | 597 | item = new Q3CheckListItem( ListViewGroups, (*it), Q3CheckListItem::CheckBox ); |
598 | item->setOn( true ); | 598 | item->setOn( true ); |
@@ -608,5 +608,5 @@ void NNTPconfig::slotShowFilter() | |||
608 | for ( QStringList::Iterator it = allGroups.begin(); it != allGroups.end(); ++it ) { | 608 | for ( QStringList::Iterator it = allGroups.begin(); it != allGroups.end(); ++it ) { |
609 | QCheckListItem *item; | 609 | Q3CheckListItem *item; |
610 | if ( GroupFilter->text().isEmpty() || (*it).find( GroupFilter->text() ) >= 0 ) { | 610 | if ( GroupFilter->text().isEmpty() || (*it).find( GroupFilter->text() ) >= 0 ) { |
611 | item = new QCheckListItem( ListViewGroups, (*it), QCheckListItem::CheckBox ); | 611 | item = new Q3CheckListItem( ListViewGroups, (*it), Q3CheckListItem::CheckBox ); |
612 | ++count; | 612 | ++count; |
@@ -631,4 +631,4 @@ void NNTPconfig::slotGetNG() { | |||
631 | for ( QStringList::Iterator it = allGroups.begin(); it != allGroups.end(); ++it ) { | 631 | for ( QStringList::Iterator it = allGroups.begin(); it != allGroups.end(); ++it ) { |
632 | QCheckListItem *item; | 632 | Q3CheckListItem *item; |
633 | item = new QCheckListItem( ListViewGroups, (*it), QCheckListItem::CheckBox ); | 633 | item = new Q3CheckListItem( ListViewGroups, (*it), Q3CheckListItem::CheckBox ); |
634 | if ( subscribedGroups.contains( (*it) ) >= 1 ) { | 634 | if ( subscribedGroups.contains( (*it) ) >= 1 ) { |
@@ -665,4 +665,4 @@ void NNTPconfig::fillValues() | |||
665 | for ( QStringList::Iterator it = subscribedGroups.begin(); it != subscribedGroups.end(); ++it ) { | 665 | for ( QStringList::Iterator it = subscribedGroups.begin(); it != subscribedGroups.end(); ++it ) { |
666 | QCheckListItem *item; | 666 | Q3CheckListItem *item; |
667 | item = new QCheckListItem( ListViewGroups, (*it), QCheckListItem::CheckBox ); | 667 | item = new Q3CheckListItem( ListViewGroups, (*it), Q3CheckListItem::CheckBox ); |
668 | item->setOn( true ); | 668 | item->setOn( true ); |
@@ -681,3 +681,3 @@ void NNTPconfig::save() | |||
681 | 681 | ||
682 | QListViewItemIterator list_it( ListViewGroups ); | 682 | Q3ListViewItemIterator list_it( ListViewGroups ); |
683 | 683 | ||
@@ -685,3 +685,3 @@ void NNTPconfig::save() | |||
685 | 685 | ||
686 | if ( ( (QCheckListItem*)list_it.current() )->isOn() ) { | 686 | if ( ( (Q3CheckListItem*)list_it.current() )->isOn() ) { |
687 | if ( subscribedGroups.contains( list_it.current()->text(0) ) < 1 ) | 687 | if ( subscribedGroups.contains( list_it.current()->text(0) ) < 1 ) |