-rw-r--r-- | kmicromail/nntpgroups.cpp | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/kmicromail/nntpgroups.cpp b/kmicromail/nntpgroups.cpp index c729f79..d2213d4 100644 --- a/kmicromail/nntpgroups.cpp +++ b/kmicromail/nntpgroups.cpp | |||
@@ -2,10 +2,10 @@ | |||
2 | 2 | ||
3 | #include <libmailwrapper/settings.h> | 3 | #include <libmailwrapper/settings.h> |
4 | #include <qlistview.h> | 4 | #include <q3listview.h> |
5 | #include <qlineedit.h> | 5 | #include <qlineedit.h> |
6 | 6 | ||
7 | using namespace Opie::Core; | 7 | using namespace Opie::Core; |
8 | 8 | ||
9 | NNTPGroups::NNTPGroups(NNTPaccount *account, QWidget* parent, const char* name, WFlags fl) | 9 | NNTPGroups::NNTPGroups(NNTPaccount *account, QWidget* parent, const char* name, Qt::WFlags fl) |
10 | : NNTPGroupsUI(parent,name,fl),subscribedGroups() | 10 | : NNTPGroupsUI(parent,name,fl),subscribedGroups() |
11 | { | 11 | { |
@@ -28,6 +28,6 @@ void NNTPGroups::slotGetNG() | |||
28 | subscribedGroupsNotListed = subscribedGroups; | 28 | subscribedGroupsNotListed = subscribedGroups; |
29 | for ( QStringList::Iterator it = list.begin(); it != list.end(); ++it ) { | 29 | for ( QStringList::Iterator it = list.begin(); it != list.end(); ++it ) { |
30 | QCheckListItem *item; | 30 | Q3CheckListItem *item; |
31 | item = new QCheckListItem( GroupListView, (*it), QCheckListItem::CheckBox ); | 31 | item = new Q3CheckListItem( GroupListView, (*it), Q3CheckListItem::CheckBox ); |
32 | if ( subscribedGroups.contains( (*it) ) >= 1 ) { | 32 | if ( subscribedGroups.contains( (*it) ) >= 1 ) { |
33 | item->setOn( true ); | 33 | item->setOn( true ); |
@@ -42,6 +42,6 @@ void NNTPGroups::fillGroups() | |||
42 | subscribedGroups = m_Account->getGroups(); | 42 | subscribedGroups = m_Account->getGroups(); |
43 | for ( QStringList::Iterator it = subscribedGroups.begin(); it != subscribedGroups.end(); ++it ) { | 43 | for ( QStringList::Iterator it = subscribedGroups.begin(); it != subscribedGroups.end(); ++it ) { |
44 | QCheckListItem *item; | 44 | Q3CheckListItem *item; |
45 | item = new QCheckListItem( GroupListView, (*it), QCheckListItem::CheckBox ); | 45 | item = new Q3CheckListItem( GroupListView, (*it), Q3CheckListItem::CheckBox ); |
46 | item->setOn( true ); | 46 | item->setOn( true ); |
47 | } | 47 | } |
@@ -51,8 +51,8 @@ void NNTPGroups::storeValues() | |||
51 | { | 51 | { |
52 | if (!m_Account) return; | 52 | if (!m_Account) return; |
53 | QListViewItemIterator list_it( GroupListView ); | 53 | Q3ListViewItemIterator list_it( GroupListView ); |
54 | subscribedGroups.clear(); | 54 | subscribedGroups.clear(); |
55 | for ( ; list_it.current(); ++list_it ) { | 55 | for ( ; list_it.current(); ++list_it ) { |
56 | if ( ( (QCheckListItem*)list_it.current() )->isOn() ) { | 56 | if ( ( (Q3CheckListItem*)list_it.current() )->isOn() ) { |
57 | subscribedGroups.append( list_it.current()->text(0) ); | 57 | subscribedGroups.append( list_it.current()->text(0) ); |
58 | } | 58 | } |