00001 #ifndef __NNTPGROUPS_WINDOW__ 00002 #define __NNTPGROUPS_WINDOW__ 00003 00004 #include "nntpgroupsui.h" 00005 00006 #include <libmailwrapper/nntpwrapper.h> 00007 00008 class NNTPaccount; 00009 class QStringList; 00010 00011 class NNTPGroups:public NNTPGroupsUI 00012 { 00013 Q_OBJECT 00014 public: 00015 NNTPGroups(NNTPaccount *account, QWidget* parent = 0, const char* name = 0, WFlags fl = 0); 00016 virtual ~NNTPGroups(); 00017 /* must be called from external. 00018 * it will store the new subscription list into the account 00019 * but don't save them, this must be done by the calling class. 00020 */ 00021 void storeValues(); 00022 00023 protected slots: 00024 virtual void slotGetNG(); 00025 00026 protected: 00027 virtual void fillGroups(); 00028 00029 NNTPaccount*m_Account; 00030 QStringList subscribedGroups,subscribedGroupsNotListed; 00031 }; 00032 00033 #endif
1.4.2