From c2dd1978a83bb16dee4b98c58b61d5d81ae200b1 Mon Sep 17 00:00:00 2001 From: harlekin Date: Mon, 08 Dec 2003 13:38:49 +0000 Subject: to much --- (limited to 'noncore/net') 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 - -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 -#include -#include -#include -#include -#include -#include - - -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 -- cgit v0.9.0.2