author | harlekin <harlekin> | 2003-12-08 13:38:49 (UTC) |
---|---|---|
committer | harlekin <harlekin> | 2003-12-08 13:38:49 (UTC) |
commit | c2dd1978a83bb16dee4b98c58b61d5d81ae200b1 (patch) (side-by-side diff) | |
tree | 5255ee342f52718ff1a2177bccc5b356fdadca60 /noncore | |
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 @@ -#include "readmailgui.h" -#include "defines.h" -#include <qlayout.h> - -ReadMailGui::ReadMailGui( QWidget* parent, const char* name, bool modal, WFlags fl ) -: QDialog( parent, name, modal, fl ) { - - -QVBoxLayout * layout = new QVBoxLayout( this ); -QMainWindow * m_mainWindow = new QMainWindow( this ); -m_toolBar = new QToolBar( m_mainWindow ); -m_mainWindow->addToolBar( m_toolBar ); - -m_reply = new QAction( tr( "Compose new mail" ), ICON_SENDQUEUED, 0, 0, m_mainWindow ); -m_reply->addTo( m_toolBar ); - -m_textWindow = new QTextBrowser( this ); -m_textWindow->setResizePolicy( QScrollView::AutoOneFit ); - -layout->addWidget( m_mainWindow ); -layout->addWidget( m_textWindow ); -} - -ReadMailGui::~ReadMailGui() { -} - -void ReadMailGui::passMessage( const QString & message ) { - m_textWindow->setText( message ); -} 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 @@ -#ifndef READMAILGUI_H -#define READMAILGUI_H - -#include <qmainwindow.h> -#include <qmenubar.h> -#include <qtoolbar.h> -#include <qtextbrowser.h> -#include <qaction.h> -#include <qstring.h> -#include <qdialog.h> - - -class ReadMailGui : public QDialog -{ - Q_OBJECT - -public: - ReadMailGui( QWidget* parent = 0, const char* name = 0, bool modal = TRUE, WFlags fl = 0 ); - ~ReadMailGui(); - - void passMessage( const QString & message ); - -private: - - QMainWindow * m_mainWindow; - QToolBar * m_toolBar; - QMenuBar * m_menuBar; - QTextBrowser * m_textWindow; - QAction * m_reply; - -}; - -#endif |