summaryrefslogtreecommitdiff
Side-by-side diff
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 @@
-#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