From 6650dd66dd13498a6d28844770d9d8c291335ad4 Mon Sep 17 00:00:00 2001 From: zautrix Date: Wed, 08 Sep 2004 02:21:24 +0000 Subject: Some more fixes --- (limited to 'kmicromail') diff --git a/kmicromail/composemail.cpp b/kmicromail/composemail.cpp index 14feeee..01dd406 100644 --- a/kmicromail/composemail.cpp +++ b/kmicromail/composemail.cpp @@ -38,8 +38,8 @@ //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; diff --git a/kmicromail/composemail.h b/kmicromail/composemail.h index 657f665..e20d9e1 100644 --- a/kmicromail/composemail.h +++ b/kmicromail/composemail.h @@ -18,7 +18,7 @@ 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: @@ -35,7 +35,7 @@ class ComposeMail : public ComposeMailUI 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¤t); diff --git a/kmicromail/opiemail.cpp b/kmicromail/opiemail.cpp index a1c5645..0c581c0 100644 --- a/kmicromail/opiemail.cpp +++ b/kmicromail/opiemail.cpp @@ -23,9 +23,9 @@ /* 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(); @@ -113,7 +113,7 @@ void OpieMail::slotwriteMail2(const QString& namemail ) 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()) @@ -417,7 +417,7 @@ 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(); diff --git a/kmicromail/opiemail.h b/kmicromail/opiemail.h index 934f232..7434e59 100644 --- a/kmicromail/opiemail.h +++ b/kmicromail/opiemail.h @@ -13,9 +13,9 @@ 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); -- cgit v0.9.0.2