author | zautrix <zautrix> | 2004-09-08 02:21:24 (UTC) |
---|---|---|
committer | zautrix <zautrix> | 2004-09-08 02:21:24 (UTC) |
commit | 6650dd66dd13498a6d28844770d9d8c291335ad4 (patch) (side-by-side diff) | |
tree | 249b157ae88e869e7dde6f9a1d3b74d2d804aa06 /kmicromail | |
parent | 858de54fa69a6e93072652a9cb33783ad10a9f0a (diff) | |
download | kdepimpi-6650dd66dd13498a6d28844770d9d8c291335ad4.zip kdepimpi-6650dd66dd13498a6d28844770d9d8c291335ad4.tar.gz kdepimpi-6650dd66dd13498a6d28844770d9d8c291335ad4.tar.bz2 |
Some more fixes
-rw-r--r-- | kmicromail/composemail.cpp | 4 | ||||
-rw-r--r-- | kmicromail/composemail.h | 4 | ||||
-rw-r--r-- | kmicromail/opiemail.cpp | 8 | ||||
-rw-r--r-- | kmicromail/opiemail.h | 4 |
4 files changed, 10 insertions, 10 deletions
diff --git a/kmicromail/composemail.cpp b/kmicromail/composemail.cpp index 14feeee..01dd406 100644 --- a/kmicromail/composemail.cpp +++ b/kmicromail/composemail.cpp @@ -35,14 +35,14 @@ #include <libkdepim/externalapphandler.h> #endif //DESKTOP_VERSION //using namespace Opie::Core; //using namespace Opie::Ui; -ComposeMail::ComposeMail( Settings *s, QWidget *parent, const char *name, bool modal, WFlags flags ) - : ComposeMailUI( parent, name, modal, flags ) +ComposeMail::ComposeMail( Settings *s, QWidget *parent, const char *name, bool modal ) + : ComposeMailUI( parent, name, modal ) { mPickLineEdit = 0; connect(ExternalAppHandler::instance(), SIGNAL(receivedNameEmailUidListEvent(const QString&, const QStringList&, const QStringList&, const QStringList&)), this, SLOT(insertAttendees(const QString&, const QStringList&, const QStringList&, const QStringList&))); settings = s; diff --git a/kmicromail/composemail.h b/kmicromail/composemail.h index 657f665..e20d9e1 100644 --- a/kmicromail/composemail.h +++ b/kmicromail/composemail.h @@ -15,13 +15,13 @@ class RecMail; #if 0 class AddressPicker : public AddressPickerUI { //Q_OBJECT public: - AddressPicker( QWidget *parent = 0, const char *name = 0, bool modal = false, WFlags flags = 0 ); + AddressPicker( QWidget *parent = 0, const char *name = 0, bool modal = false ); static QString getNames(); protected: QString selectedNames; void accept(); @@ -32,13 +32,13 @@ class RecMail; class ComposeMail : public ComposeMailUI { Q_OBJECT public: - ComposeMail( Settings *s, QWidget *parent = 0, const char *name = 0, bool modal = false, WFlags flags = 0 ); + ComposeMail( Settings *s, QWidget *parent = 0, const char *name = 0, bool modal = false ); virtual ~ComposeMail(); void reEditMail(const Opie::Core::OSmartPointer<RecMail>¤t); public slots: void slotAdjustColumns(); diff --git a/kmicromail/opiemail.cpp b/kmicromail/opiemail.cpp index a1c5645..0c581c0 100644 --- a/kmicromail/opiemail.cpp +++ b/kmicromail/opiemail.cpp @@ -20,15 +20,15 @@ /* OPIE */ //#include <qpe/resource.h> //#include <qpe/qpeapplication.h> /* QT */ -using namespace Opie::Core; +//using namespace Opie::Core; -OpieMail::OpieMail( QWidget *parent, const char *name, WFlags flags ) +OpieMail::OpieMail( QWidget *parent, const char *name ) : MainWindow( parent, name) //, WStyle_ContextHelp ) { settings = new Settings(); folderView->populate( settings->getAccounts() ); @@ -110,13 +110,13 @@ void OpieMail::slotwriteMail2(const QString& namemail ) raise(); //qDebug("retttich "); } void OpieMail::slotwriteMail(const QString&name,const QString&email) { // qDebug("OpieMail::slotwriteMail "); - ComposeMail compose( settings, this, 0, true , WStyle_ContextHelp ); + ComposeMail compose( settings, this, 0, true ); if (!email.isEmpty()) { if (!name.isEmpty()) { compose.setTo("\"" + name + "\"" + " " + "<"+ email + ">"); } @@ -414,12 +414,12 @@ void OpieMail::slotMoveCopyAllMail() } void OpieMail::reEditMail() { if (!mailView->currentItem()) return; - ComposeMail compose( settings, this, 0, true , WStyle_ContextHelp ); + ComposeMail compose( settings, this, 0, true ); compose.reEditMail(((MailListViewItem*)mailView->currentItem() )->data()); compose.slotAdjustColumns(); compose.showMaximized(); compose.exec(); } diff --git a/kmicromail/opiemail.h b/kmicromail/opiemail.h index 934f232..7434e59 100644 --- a/kmicromail/opiemail.h +++ b/kmicromail/opiemail.h @@ -10,15 +10,15 @@ class OpieMail : public MainWindow { Q_OBJECT public: - OpieMail( QWidget *parent = 0, const char *name = 0, WFlags flags = 0 ); + OpieMail( QWidget *parent = 0, const char *name = 0 ); virtual ~OpieMail(); - static QString appName() { return QString::fromLatin1("opiemail"); } + static QString appName() { return QString::fromLatin1("kopiemail"); } public slots: virtual void slotwriteMail(const QString&name,const QString&email); virtual void slotwriteMail2(const QString&nameemail); virtual void slotComposeMail(); virtual void appMessage(const QCString &msg, const QByteArray &data); |