summaryrefslogtreecommitdiffabout
path: root/kmicromail/mainwindow.h
Unidiff
Diffstat (limited to 'kmicromail/mainwindow.h') (more/less context) (ignore whitespace changes)
-rw-r--r--kmicromail/mainwindow.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/kmicromail/mainwindow.h b/kmicromail/mainwindow.h
index 016e44c..ddb3fca 100644
--- a/kmicromail/mainwindow.h
+++ b/kmicromail/mainwindow.h
@@ -1,70 +1,73 @@
1 1
2// CHANGED 2004-08-06 Lutz Rogowski 2// CHANGED 2004-08-06 Lutz Rogowski
3#ifndef MAINWINDOW_H 3#ifndef MAINWINDOW_H
4#define MAINWINDOW_H 4#define MAINWINDOW_H
5 5
6#include <qmainwindow.h> 6#include <qmainwindow.h>
7#include <qlistview.h> 7#include <qlistview.h>
8#include <qaction.h> 8#include <qaction.h>
9#include <qlineedit.h>
9 10
10#include <qtoolbar.h> 11#include <qtoolbar.h>
11#ifdef DESKTOP_VERSION 12#ifdef DESKTOP_VERSION
12#include <qmenubar.h> 13#include <qmenubar.h>
13#define QPEMenuBar QMenuBar 14#define QPEMenuBar QMenuBar
14#else 15#else
15#include <qpe/qpemenubar.h> 16#include <qpe/qpemenubar.h>
16#endif 17#endif
17 18
18#include "accountview.h" 19#include "accountview.h"
19#include "statuswidget.h" 20#include "statuswidget.h"
20 21
21#include <libmailwrapper/mailtypes.h> 22#include <libmailwrapper/mailtypes.h>
22#include <opie2/osmartpointer.h> 23#include <opie2/osmartpointer.h>
23 24
24class RecMail; 25class RecMail;
25 26
26class MainWindow : public QMainWindow 27class MainWindow : public QMainWindow
27{ 28{
28 Q_OBJECT 29 Q_OBJECT
29 30
30public: 31public:
31 MainWindow( QWidget *parent = 0, const char *name = 0, WFlags flags = 0 ); 32 MainWindow( QWidget *parent = 0, const char *name = 0, WFlags flags = 0 );
32 virtual ~MainWindow(); 33 virtual ~MainWindow();
33 34
34public slots: 35public slots:
35 virtual void slotAdjustColumns(); 36 virtual void slotAdjustColumns();
36 virtual void appMessage(const QCString &msg, const QByteArray &data); 37 virtual void appMessage(const QCString &msg, const QByteArray &data);
37 virtual void slotComposeMail(); 38 virtual void slotComposeMail();
38 39
39protected slots: 40protected slots:
41 virtual void setInfoFields(QListViewItem* );
40 virtual void slotSendQueued(); 42 virtual void slotSendQueued();
41 virtual void slotEditAccounts(); 43 virtual void slotEditAccounts();
42 virtual void slotShowFolders( bool show ); 44 virtual void slotShowFolders( bool show );
43 virtual void refreshMailView(const QValueList<RecMailP>&); 45 virtual void refreshMailView(const QValueList<RecMailP>&);
44 virtual void displayMail(); 46 virtual void displayMail();
45 virtual void slotGetMail() = 0; 47 virtual void slotGetMail() = 0;
46 virtual void slotGetAllMail() = 0; 48 virtual void slotGetAllMail() = 0;
47 virtual void slotDeleteMail(); 49 virtual void slotDeleteMail();
48 virtual void slotDeleteAllMail() = 0; 50 virtual void slotDeleteAllMail() = 0;
49 virtual void slotSetCodec(int); 51 virtual void slotSetCodec(int);
50 virtual void mailHold(int, QListViewItem *,const QPoint&,int); 52 virtual void mailHold(int, QListViewItem *,const QPoint&,int);
51 virtual void slotAdjustLayout(); 53 virtual void slotAdjustLayout();
52 virtual void slotEditSettings(); 54 virtual void slotEditSettings();
53 virtual void mailLeftClicked( QListViewItem * ); 55 virtual void mailLeftClicked( QListViewItem * );
54 void showLicence(); 56 void showLicence();
55 void showAbout(); 57 void showAbout();
56 void showEtpanLicence(); 58 void showEtpanLicence();
57 59
58protected: 60protected:
59 QToolBar *toolBar; 61 QToolBar *toolBar;
60 StatusWidget *statusWidget; 62 StatusWidget *statusWidget;
61 QPEMenuBar *menuBar; 63 QPEMenuBar *menuBar;
62 QPopupMenu *mailMenu, *settingsMenu, *codecMenu; 64 QPopupMenu *mailMenu, *settingsMenu, *codecMenu;
63 QAction *composeMail, *sendQueued, *showFolders, *searchMails, *deleteMails, 65 QAction *composeMail, *sendQueued, *showFolders, *searchMails, *deleteMails,
64 *editSettings, *editAccounts, *syncFolders; 66 *editSettings, *editAccounts, *syncFolders;
65 AccountView *folderView; 67 AccountView *folderView;
66 QListView *mailView; 68 QListView *mailView;
69 QLineEdit* toLE,*fromLE,*subLE;
67 //QBoxLayout *layout; 70 //QBoxLayout *layout;
68}; 71};
69 72
70#endif 73#endif