author | eilers <eilers> | 2003-01-02 14:09:45 (UTC) |
---|---|---|
committer | eilers <eilers> | 2003-01-02 14:09:45 (UTC) |
commit | ff5b40a1f67134b7a73b0c62cfb2d1e0ef0e779e (patch) (side-by-side diff) | |
tree | 31957efb34d3cee6f4fef38d00decfe5f468c64d | |
parent | 0e506ffcd82f1c2df738393dc316b62475fe6fff (diff) | |
download | opie-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
..
-rw-r--r-- | noncore/unsupported/mail2/mainwindow.cpp | 10 |
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,8 +1,10 @@ #include <qmessagebox.h> #include <qaction.h> +#include <qapplication.h> + #include <qpe/qcopenvelope_qws.h> #include "mailstatusbar.h" #include "folderwidget.h" #include "mainwindow.h" #include "configdiag.h" @@ -34,15 +36,17 @@ MainWindow::MainWindow(QWidget *parent, const char *name, WFlags fl) connect(sendQueue, SIGNAL(activated()), SLOT(slotSendQueued())); connect(findmails, SIGNAL(activated()), SLOT(slotSearch())); connect(configure, SIGNAL(activated()), SLOT(slotConfigure())); // Added by Stefan Eilers to allow starting by addressbook.. #if !defined(QT_NO_COP) - QCopChannel *addressChannel = new QCopChannel("QPE/Application/mail" , this ); - connect (addressChannel, SIGNAL( received(const QCString &, const QByteArray &)), - this, SLOT ( appMessage(const QCString &, const QByteArray &) ) ); +// QCopChannel *addressChannel = new QCopChannel("QPE/Application/mail" , this ); +// connect (addressChannel, SIGNAL( received(const QCString &, const QByteArray &)), +// this, SLOT ( appMessage(const QCString &, const QByteArray &) ) ); + connect( qApp, SIGNAL( appMessage( const QCString&, const QByteArray& ) ), + this, SLOT( appMessage( const QCString&, const QByteArray& ) ) ); #endif } // Added by Stefan Eilers to allow starting by addressbook.. void MainWindow::appMessage(const QCString &msg, const QByteArray &data) { |