author | harlekin <harlekin> | 2003-12-08 13:38:49 (UTC) |
---|---|---|
committer | harlekin <harlekin> | 2003-12-08 13:38:49 (UTC) |
commit | c2dd1978a83bb16dee4b98c58b61d5d81ae200b1 (patch) (unidiff) | |
tree | 5255ee342f52718ff1a2177bccc5b356fdadca60 | |
parent | 3b37149813d940535b12ba3b1edd938c41804a1b (diff) | |
download | opie-c2dd1978a83bb16dee4b98c58b61d5d81ae200b1.zip opie-c2dd1978a83bb16dee4b98c58b61d5d81ae200b1.tar.gz opie-c2dd1978a83bb16dee4b98c58b61d5d81ae200b1.tar.bz2 |
to much
-rw-r--r-- | noncore/net/mail/readmailgui.cpp | 29 | ||||
-rw-r--r-- | noncore/net/mail/readmailgui.h | 33 |
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 | |||
5 | ReadMailGui::ReadMailGui( QWidget* parent, const char* name, bool modal, WFlags fl ) | ||
6 | : QDialog( parent, name, modal, fl ) { | ||
7 | |||
8 | |||
9 | QVBoxLayout * layout = new QVBoxLayout( this ); | ||
10 | QMainWindow * m_mainWindow = new QMainWindow( this ); | ||
11 | m_toolBar = new QToolBar( m_mainWindow ); | ||
12 | m_mainWindow->addToolBar( m_toolBar ); | ||
13 | |||
14 | m_reply = new QAction( tr( "Compose new mail" ), ICON_SENDQUEUED, 0, 0, m_mainWindow ); | ||
15 | m_reply->addTo( m_toolBar ); | ||
16 | |||
17 | m_textWindow = new QTextBrowser( this ); | ||
18 | m_textWindow->setResizePolicy( QScrollView::AutoOneFit ); | ||
19 | |||
20 | layout->addWidget( m_mainWindow ); | ||
21 | layout->addWidget( m_textWindow ); | ||
22 | } | ||
23 | |||
24 | ReadMailGui::~ReadMailGui() { | ||
25 | } | ||
26 | |||
27 | void 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 | |||
13 | class ReadMailGui : public QDialog | ||
14 | { | ||
15 | Q_OBJECT | ||
16 | |||
17 | public: | ||
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 | |||
23 | private: | ||
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 | ||