summaryrefslogtreecommitdiff
authorharlekin <harlekin>2003-12-08 13:38:49 (UTC)
committer harlekin <harlekin>2003-12-08 13:38:49 (UTC)
commitc2dd1978a83bb16dee4b98c58b61d5d81ae200b1 (patch) (unidiff)
tree5255ee342f52718ff1a2177bccc5b356fdadca60
parent3b37149813d940535b12ba3b1edd938c41804a1b (diff)
downloadopie-c2dd1978a83bb16dee4b98c58b61d5d81ae200b1.zip
opie-c2dd1978a83bb16dee4b98c58b61d5d81ae200b1.tar.gz
opie-c2dd1978a83bb16dee4b98c58b61d5d81ae200b1.tar.bz2
to much
Diffstat (more/less context) (show whitespace changes)
-rw-r--r--noncore/net/mail/readmailgui.cpp29
-rw-r--r--noncore/net/mail/readmailgui.h33
2 files changed, 0 insertions, 62 deletions
diff --git a/noncore/net/mail/readmailgui.cpp b/noncore/net/mail/readmailgui.cpp
deleted file mode 100644
index 0063070..0000000
--- a/noncore/net/mail/readmailgui.cpp
+++ b/dev/null
@@ -1,29 +0,0 @@
1#include "readmailgui.h"
2#include "defines.h"
3#include <qlayout.h>
4
5ReadMailGui::ReadMailGui( QWidget* parent, const char* name, bool modal, WFlags fl )
6: QDialog( parent, name, modal, fl ) {
7
8
9QVBoxLayout * layout = new QVBoxLayout( this );
10QMainWindow * m_mainWindow = new QMainWindow( this );
11m_toolBar = new QToolBar( m_mainWindow );
12m_mainWindow->addToolBar( m_toolBar );
13
14m_reply = new QAction( tr( "Compose new mail" ), ICON_SENDQUEUED, 0, 0, m_mainWindow );
15m_reply->addTo( m_toolBar );
16
17m_textWindow = new QTextBrowser( this );
18m_textWindow->setResizePolicy( QScrollView::AutoOneFit );
19
20layout->addWidget( m_mainWindow );
21layout->addWidget( m_textWindow );
22}
23
24ReadMailGui::~ReadMailGui() {
25}
26
27void ReadMailGui::passMessage( const QString & message ) {
28 m_textWindow->setText( message );
29}
diff --git a/noncore/net/mail/readmailgui.h b/noncore/net/mail/readmailgui.h
deleted file mode 100644
index dac1937..0000000
--- a/noncore/net/mail/readmailgui.h
+++ b/dev/null
@@ -1,33 +0,0 @@
1#ifndef READMAILGUI_H
2#define READMAILGUI_H
3
4#include <qmainwindow.h>
5#include <qmenubar.h>
6#include <qtoolbar.h>
7#include <qtextbrowser.h>
8#include <qaction.h>
9#include <qstring.h>
10#include <qdialog.h>
11
12
13class ReadMailGui : public QDialog
14{
15 Q_OBJECT
16
17public:
18 ReadMailGui( QWidget* parent = 0, const char* name = 0, bool modal = TRUE, WFlags fl = 0 );
19 ~ReadMailGui();
20
21 void passMessage( const QString & message );
22
23private:
24
25 QMainWindow * m_mainWindow;
26 QToolBar * m_toolBar;
27 QMenuBar * m_menuBar;
28 QTextBrowser * m_textWindow;
29 QAction * m_reply;
30
31};
32
33#endif