author | alwin <alwin> | 2003-12-09 16:59:57 (UTC) |
---|---|---|
committer | alwin <alwin> | 2003-12-09 16:59:57 (UTC) |
commit | 1999708f1480dbdd19e73671fbd9e422883839b6 (patch) (unidiff) | |
tree | 633887e98f12d63455faa5065c0f6a3cc0fb290d /noncore/net/mail/mainwindow.h | |
parent | c6b105a7bf2bfffa847fd84c422ae9a3850c682f (diff) | |
download | opie-1999708f1480dbdd19e73671fbd9e422883839b6.zip opie-1999708f1480dbdd19e73671fbd9e422883839b6.tar.gz opie-1999708f1480dbdd19e73671fbd9e422883839b6.tar.bz2 |
some interface changes
split class defines into more files
Diffstat (limited to 'noncore/net/mail/mainwindow.h') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/net/mail/mainwindow.h | 19 |
1 files changed, 3 insertions, 16 deletions
diff --git a/noncore/net/mail/mainwindow.h b/noncore/net/mail/mainwindow.h index a5142ab..6c87261 100644 --- a/noncore/net/mail/mainwindow.h +++ b/noncore/net/mail/mainwindow.h | |||
@@ -12,2 +12,4 @@ | |||
12 | 12 | ||
13 | class RecMail; | ||
14 | |||
13 | class MainWindow : public QMainWindow | 15 | class MainWindow : public QMainWindow |
@@ -24,3 +26,3 @@ protected slots: | |||
24 | virtual void slotShowFolders( bool show ); | 26 | virtual void slotShowFolders( bool show ); |
25 | virtual void refreshMailView(Maillist*); | 27 | virtual void refreshMailView(QList<RecMail>*); |
26 | virtual void displayMail(QListViewItem*); | 28 | virtual void displayMail(QListViewItem*); |
@@ -38,17 +40,2 @@ protected: | |||
38 | 40 | ||
39 | class MailListViewItem:public QListViewItem | ||
40 | { | ||
41 | public: | ||
42 | MailListViewItem(QListView * parent, MailListViewItem * after ) | ||
43 | :QListViewItem(parent,after),mail_data(){} | ||
44 | virtual ~MailListViewItem(){} | ||
45 | |||
46 | void storeData(const RecMail&data){mail_data = data;} | ||
47 | const RecMail&data()const{return mail_data;} | ||
48 | void showEntry(); | ||
49 | |||
50 | protected: | ||
51 | RecMail mail_data; | ||
52 | }; | ||
53 | |||
54 | #endif | 41 | #endif |