summaryrefslogtreecommitdiff
path: root/noncore
authoreilers <eilers>2003-01-02 14:09:45 (UTC)
committer eilers <eilers>2003-01-02 14:09:45 (UTC)
commitff5b40a1f67134b7a73b0c62cfb2d1e0ef0e779e (patch) (unidiff)
tree31957efb34d3cee6f4fef38d00decfe5f468c64d /noncore
parent0e506ffcd82f1c2df738393dc316b62475fe6fff (diff)
downloadopie-ff5b40a1f67134b7a73b0c62cfb2d1e0ef0e779e.zip
opie-ff5b40a1f67134b7a73b0c62cfb2d1e0ef0e779e.tar.gz
opie-ff5b40a1f67134b7a73b0c62cfb2d1e0ef0e779e.tar.bz2
I hope this works better on the pda. The previous solution just worked on
my desktop pc ..
Diffstat (limited to 'noncore') (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/unsupported/mail2/mainwindow.cpp10
1 files changed, 7 insertions, 3 deletions
diff --git a/noncore/unsupported/mail2/mainwindow.cpp b/noncore/unsupported/mail2/mainwindow.cpp
index a596653..0d09ec8 100644
--- a/noncore/unsupported/mail2/mainwindow.cpp
+++ b/noncore/unsupported/mail2/mainwindow.cpp
@@ -1,5 +1,7 @@
1#include <qmessagebox.h> 1#include <qmessagebox.h>
2#include <qaction.h> 2#include <qaction.h>
3#include <qapplication.h>
4
3#include <qpe/qcopenvelope_qws.h> 5#include <qpe/qcopenvelope_qws.h>
4 6
5#include "mailstatusbar.h" 7#include "mailstatusbar.h"
@@ -37,9 +39,11 @@ MainWindow::MainWindow(QWidget *parent, const char *name, WFlags fl)
37 39
38 // Added by Stefan Eilers to allow starting by addressbook.. 40 // Added by Stefan Eilers to allow starting by addressbook..
39#if !defined(QT_NO_COP) 41#if !defined(QT_NO_COP)
40 QCopChannel *addressChannel = new QCopChannel("QPE/Application/mail" , this ); 42 // QCopChannel *addressChannel = new QCopChannel("QPE/Application/mail" , this );
41 connect (addressChannel, SIGNAL( received(const QCString &, const QByteArray &)), 43 // connect (addressChannel, SIGNAL( received(const QCString &, const QByteArray &)),
42 this, SLOT ( appMessage(const QCString &, const QByteArray &) ) ); 44 // this, SLOT ( appMessage(const QCString &, const QByteArray &) ) );
45 connect( qApp, SIGNAL( appMessage( const QCString&, const QByteArray& ) ),
46 this, SLOT( appMessage( const QCString&, const QByteArray& ) ) );
43#endif 47#endif
44} 48}
45 49