summaryrefslogtreecommitdiffabout
path: root/kmicromail/mainwindow.h
Side-by-side diff
Diffstat (limited to 'kmicromail/mainwindow.h') (more/less context) (ignore whitespace changes)
-rw-r--r--kmicromail/mainwindow.h26
1 files changed, 15 insertions, 11 deletions
diff --git a/kmicromail/mainwindow.h b/kmicromail/mainwindow.h
index f65f3b4..1ccadc2 100644
--- a/kmicromail/mainwindow.h
+++ b/kmicromail/mainwindow.h
@@ -1,74 +1,78 @@
// CHANGED 2004-08-06 Lutz Rogowski
#ifndef MAINWINDOW_H
#define MAINWINDOW_H
-#include <qmainwindow.h>
+#include <q3mainwindow.h>
+//Added by qt3to4:
+#include <Q3CString>
+#include <Q3ValueList>
+#include <Q3PopupMenu>
#include <klistview.h>
#include <qaction.h>
#include <qlineedit.h>
-#include <qtoolbar.h>
+#include <q3toolbar.h>
#ifdef DESKTOP_VERSION
#include <qmenubar.h>
#define QPEMenuBar QMenuBar
#else
#include <qpe/qpemenubar.h>
#endif
#include "accountview.h"
#include "statuswidget.h"
#include <libmailwrapper/mailtypes.h>
#include <opie2/osmartpointer.h>
class RecMail;
-class MainWindow : public QMainWindow
+class MainWindow : public Q3MainWindow
{
Q_OBJECT
public:
- MainWindow( QWidget *parent = 0, const char *name = 0, WFlags flags = 0 );
+ MainWindow( QWidget *parent = 0, const char *name = 0, Qt::WFlags flags = 0 );
virtual ~MainWindow();
public slots:
virtual void slotAdjustColumns();
virtual void slotAdjustColumnsWide();
- virtual void appMessage(const QCString &msg, const QByteArray &data);
+ virtual void appMessage(const Q3CString &msg, const QByteArray &data);
virtual void slotComposeMail();
protected slots:
- virtual void setInfoFields(QListViewItem* );
+ virtual void setInfoFields(Q3ListViewItem* );
virtual void slotSendQueued();
virtual void slotEditAccounts();
virtual void slotShowFolders( bool show );
- virtual void refreshMailView(const QValueList<RecMailP>&);
+ virtual void refreshMailView(const Q3ValueList<RecMailP>&);
virtual void displayMail();
virtual void slotGetMail() = 0;
virtual void slotGetAllMail() = 0;
virtual void slotDeleteMail();
virtual void slotDeleteAllMail() = 0;
virtual void slotSetCodec(int);
- virtual void mailHold(int, QListViewItem *,const QPoint&,int);
+ virtual void mailHold(int, Q3ListViewItem *,const QPoint&,int);
virtual void slotAdjustLayout();
virtual void slotEditSettings();
virtual void slotEditGlobalSettings();
- virtual void mailLeftClicked( QListViewItem * );
+ virtual void mailLeftClicked( Q3ListViewItem * );
void showLicence();
void showAbout();
void showEtpanLicence();
protected:
- QToolBar *toolBar;
+ Q3ToolBar *toolBar;
StatusWidget *statusWidget;
QPEMenuBar *menuBar;
- QPopupMenu *mailMenu, *settingsMenu, *codecMenu;
+ Q3PopupMenu *mailMenu, *settingsMenu, *codecMenu;
QAction *composeMail, *sendQueued, *showFolders, *searchMails, *deleteMails,
*editSettings, *editAccounts, *syncFolders;
AccountView *folderView;
KListView *mailView;
QLineEdit* toLE,*fromLE,*subLE;
//QBoxLayout *layout;
};