summaryrefslogtreecommitdiffabout
path: root/kmicromail/mainwindow.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/mainwindow.h
parent2dd6ac0b2d24c91d35ce674a6c26351352df2b15 (diff)
downloadkdepimpi-e3b89230f065c48c84b48c88edb6eb088374c487.zip
kdepimpi-e3b89230f065c48c84b48c88edb6eb088374c487.tar.gz
kdepimpi-e3b89230f065c48c84b48c88edb6eb088374c487.tar.bz2
Initial revision
Diffstat (limited to 'kmicromail/mainwindow.h') (more/less context) (ignore whitespace changes)
-rw-r--r--kmicromail/mainwindow.h56
1 files changed, 56 insertions, 0 deletions
diff --git a/kmicromail/mainwindow.h b/kmicromail/mainwindow.h
new file mode 100644
index 0000000..0cb252c
--- a/dev/null
+++ b/kmicromail/mainwindow.h
@@ -0,0 +1,56 @@
+#ifndef MAINWINDOW_H
+#define MAINWINDOW_H
+
+#include <qmainwindow.h>
+#include <qlistview.h>
+#include <qaction.h>
+
+#include <qtoolbar.h>
+#include <qmenubar.h>
+
+#include "accountview.h"
+#include "statuswidget.h"
+
+#include <libmailwrapper/mailtypes.h>
+#include <opie2/osmartpointer.h>
+
+class RecMail;
+
+class MainWindow : public QMainWindow
+{
+ Q_OBJECT
+
+public:
+ MainWindow( QWidget *parent = 0, const char *name = 0, WFlags flags = 0 );
+ virtual ~MainWindow();
+
+public slots:
+ virtual void slotAdjustColumns();
+ virtual void appMessage(const QCString &msg, const QByteArray &data);
+ virtual void slotComposeMail();
+
+protected slots:
+ virtual void slotSendQueued();
+ virtual void slotEditAccounts();
+ virtual void slotShowFolders( bool show );
+ virtual void refreshMailView(const QValueList<RecMailP>&);
+ virtual void displayMail();
+ virtual void slotDeleteMail();
+ virtual void mailHold(int, QListViewItem *,const QPoint&,int);
+ virtual void slotAdjustLayout();
+ virtual void slotEditSettings();
+ virtual void mailLeftClicked( QListViewItem * );
+
+protected:
+ QToolBar *toolBar;
+ StatusWidget *statusWidget;
+ QMenuBar *menuBar;
+ QPopupMenu *mailMenu, *settingsMenu;
+ QAction *composeMail, *sendQueued, *showFolders, *searchMails, *deleteMails,
+ *editSettings, *editAccounts, *syncFolders;
+ AccountView *folderView;
+ QListView *mailView;
+ //QBoxLayout *layout;
+};
+
+#endif