summaryrefslogtreecommitdiffabout
path: root/kmicromail/nntpgroups.h
authorzautrix <zautrix>2004-07-03 16:33:12 (UTC)
committer zautrix <zautrix>2004-07-03 16:33:12 (UTC)
commite3b89230f065c48c84b48c88edb6eb088374c487 (patch) (side-by-side diff)
tree162ea2ef909a6f82ccfcedf45d80d6c821174912 /kmicromail/nntpgroups.h
parent2dd6ac0b2d24c91d35ce674a6c26351352df2b15 (diff)
downloadkdepimpi-e3b89230f065c48c84b48c88edb6eb088374c487.zip
kdepimpi-e3b89230f065c48c84b48c88edb6eb088374c487.tar.gz
kdepimpi-e3b89230f065c48c84b48c88edb6eb088374c487.tar.bz2
Initial revision
Diffstat (limited to 'kmicromail/nntpgroups.h') (more/less context) (ignore whitespace changes)
-rw-r--r--kmicromail/nntpgroups.h33
1 files changed, 33 insertions, 0 deletions
diff --git a/kmicromail/nntpgroups.h b/kmicromail/nntpgroups.h
new file mode 100644
index 0000000..e5b7c35
--- a/dev/null
+++ b/kmicromail/nntpgroups.h
@@ -0,0 +1,33 @@
+#ifndef __NNTPGROUPS_WINDOW__
+#define __NNTPGROUPS_WINDOW__
+
+#include "nntpgroupsui.h"
+
+#include <libmailwrapper/nntpwrapper.h>
+
+class NNTPaccount;
+class QStringList;
+
+class NNTPGroups:public NNTPGroupsUI
+{
+ Q_OBJECT
+public:
+ NNTPGroups(NNTPaccount *account, QWidget* parent = 0, const char* name = 0, WFlags fl = 0);
+ virtual ~NNTPGroups();
+ /* must be called from external.
+ * it will store the new subscription list into the account
+ * but don't save them, this must be done by the calling class.
+ */
+ void storeValues();
+
+protected slots:
+ virtual void slotGetNG();
+
+protected:
+ virtual void fillGroups();
+
+ NNTPaccount*m_Account;
+ QStringList subscribedGroups,subscribedGroupsNotListed;
+};
+
+#endif