-rw-r--r-- | kmicromail/opiemail.cpp | 17 |
1 files changed, 16 insertions, 1 deletions
diff --git a/kmicromail/opiemail.cpp b/kmicromail/opiemail.cpp index 915b3e8..6e54bf4 100644 --- a/kmicromail/opiemail.cpp +++ b/kmicromail/opiemail.cpp @@ -3,2 +3,6 @@ + +#define protected public +#include <qwidget.h> +#undef protected #include "koprefsdialog.h" @@ -24,2 +28,3 @@ #include <qcursor.h> +#include <qtextbrowser.h> #include <qregexp.h> @@ -43,3 +48,3 @@ OpieMail::OpieMail( QWidget *parent, const char *name ) settings = new Settings(); - + tb = 0; setIcon(SmallIcon( "kmicromail" ) ); @@ -52,2 +57,4 @@ OpieMail::~OpieMail() if (settings) delete settings; + if ( tb ) + delete tb; } @@ -305,2 +312,9 @@ void OpieMail::closeViewMail(ViewMail * vm) } + +void OpieMail::slotDownloadMail( ) +{ + qDebug("slotDownloadMail( ) "); +} + + void OpieMail::deleteAndDisplayNextMail(ViewMail * vm) @@ -357,2 +371,3 @@ void OpieMail::displayMail() connect( &readMail,SIGNAL( deleteAndDisplayNextMail(ViewMail *) ), this, SLOT(deleteAndDisplayNextMail(ViewMail *) ) ); + connect( &readMail,SIGNAL( signalDownloadMail() ), this, SLOT( slotDownloadMail() ) ); |