summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMontel Laurent <[email protected]>2015-11-17 13:44:35 +0100
committerMontel Laurent <[email protected]>2015-11-17 13:44:35 +0100
commitc694c17ac825a596e238d3d47495e9775eeab4d0 (patch)
tree445d49392480fc0fb24d1202797dd877cd5e905d
parent2f3f7227b40b558da002eb6acf4f6add6c633d93 (diff)
Clazy fix++
-rw-r--r--akregator/src/browserframe.cpp2
-rw-r--r--akregator/src/feed.cpp2
-rw-r--r--akregator/src/feed.h2
-rw-r--r--akregator/src/pluginmanager.cpp2
-rw-r--r--akregator/src/pluginmanager.h2
-rw-r--r--blogilo/src/addeditblog.cpp2
-rw-r--r--blogilo/src/addeditblog.h2
-rw-r--r--console/calendarjanitor/calendarjanitor.cpp2
-rw-r--r--console/calendarjanitor/calendarjanitor.h2
-rw-r--r--kaddressbookgrantlee/src/printing/grantleeprint.cpp3
-rw-r--r--kleopatra/crypto/certificateresolver.cpp12
-rw-r--r--kleopatra/crypto/certificateresolver.h4
-rw-r--r--knotes/print/knotegrantleeprint.cpp2
-rw-r--r--knotes/print/knotegrantleeprint.h2
-rw-r--r--knotes/print/knoteprinter.cpp2
-rw-r--r--knotes/print/knoteprinter.h2
-rw-r--r--libkdepim/src/ldap/ldapclient.cpp2
-rw-r--r--libkdepim/src/ldap/ldapclient.h2
-rw-r--r--libksieve/src/ksieveui/vacation/multiimapvacationmanager.cpp2
-rw-r--r--libksieve/src/ksieveui/vacation/multiimapvacationmanager.h2
-rw-r--r--mailimporter/src/filterthunderbird.cpp2
-rw-r--r--mailimporter/src/filterthunderbird.h2
-rw-r--r--messageviewer/src/header/grantleeheaderformatter.cpp2
-rw-r--r--messageviewer/src/header/grantleeheaderformatter.h2
-rw-r--r--messageviewer/src/viewer/viewer.cpp2
-rw-r--r--messageviewer/src/viewer/viewer.h2
-rw-r--r--messageviewer/src/viewer/viewer_p.cpp4
-rw-r--r--messageviewer/src/viewer/viewer_p.h4
28 files changed, 38 insertions, 35 deletions
diff --git a/akregator/src/browserframe.cpp b/akregator/src/browserframe.cpp
index 32b2371..129e0c8 100644
--- a/akregator/src/browserframe.cpp
+++ b/akregator/src/browserframe.cpp
@@ -203,7 +203,7 @@ enum SeparatorOption {
NoSeparator
};
-void addActionsToMenu(QMenu *menu, const QList<QAction *> actions, SeparatorOption option)
+void addActionsToMenu(QMenu *menu, const QList<QAction *> &actions, SeparatorOption option)
{
if (!actions.isEmpty() && option != NoSeparator) {
menu->addSeparator();
diff --git a/akregator/src/feed.cpp b/akregator/src/feed.cpp
index c5e6048..71b64cd 100644
--- a/akregator/src/feed.cpp
+++ b/akregator/src/feed.cpp
@@ -538,7 +538,7 @@ void Akregator::Feed::slotAddFeedIconListener()
FeedIconManager::self()->addListener(QUrl(d->xmlUrl), this);
}
-void Akregator::Feed::appendArticles(const Syndication::FeedPtr feed)
+void Akregator::Feed::appendArticles(const Syndication::FeedPtr &feed)
{
d->setTotalCountDirty();
bool changed = false;
diff --git a/akregator/src/feed.h b/akregator/src/feed.h
index 0e8bff3..066301e 100644
--- a/akregator/src/feed.h
+++ b/akregator/src/feed.h
@@ -276,7 +276,7 @@ private:
*/
void setArticleChanged(Article &a, int oldStatus = -1);
- void appendArticles(const Syndication::FeedPtr feed);
+ void appendArticles(const Syndication::FeedPtr &feed);
/** appends article @c a to the article list */
void appendArticle(const Article &a);
diff --git a/akregator/src/pluginmanager.cpp b/akregator/src/pluginmanager.cpp
index 2916846..a64dd60 100644
--- a/akregator/src/pluginmanager.cpp
+++ b/akregator/src/pluginmanager.cpp
@@ -170,7 +170,7 @@ PluginManager::showAbout(const QString &constraint)
}
void
-PluginManager::dump(const KService::Ptr service)
+PluginManager::dump(const KService::Ptr &service)
{
qCDebug(AKREGATOR_LOG)
<< "PluginManager Service Info:"
diff --git a/akregator/src/pluginmanager.h b/akregator/src/pluginmanager.h
index e52b9c5..410c3bc 100644
--- a/akregator/src/pluginmanager.h
+++ b/akregator/src/pluginmanager.h
@@ -89,7 +89,7 @@ public:
* Dump properties from a service to stdout for debugging
* @param service Pointer to KService
*/
- static void dump(const KService::Ptr service);
+ static void dump(const KService::Ptr &service);
/**
* Show modal info dialog about plugin
diff --git a/blogilo/src/addeditblog.cpp b/blogilo/src/addeditblog.cpp
index e96c4f3..18d4c13 100644
--- a/blogilo/src/addeditblog.cpp
+++ b/blogilo/src/addeditblog.cpp
@@ -605,7 +605,7 @@ void AddEditBlog::slotAccepted()
accept();
}
-void AddEditBlog::showWaitWidget(QString text)
+void AddEditBlog::showWaitWidget(const QString &text)
{
d->ui.btnAutoConf->setEnabled(false);
d->ui.btnFetch->setEnabled(false);
diff --git a/blogilo/src/addeditblog.h b/blogilo/src/addeditblog.h
index 9795d4b..940a1bb 100644
--- a/blogilo/src/addeditblog.h
+++ b/blogilo/src/addeditblog.h
@@ -78,7 +78,7 @@ Q_SIGNALS:
private Q_SLOTS:
void slotAccepted();
private:
- void showWaitWidget(QString text);
+ void showWaitWidget(const QString &text);
void hideWaitWidget();
class Private;
diff --git a/console/calendarjanitor/calendarjanitor.cpp b/console/calendarjanitor/calendarjanitor.cpp
index db39ebb..35a80b1 100644
--- a/console/calendarjanitor/calendarjanitor.cpp
+++ b/console/calendarjanitor/calendarjanitor.cpp
@@ -646,7 +646,7 @@ void CalendarJanitor::beginTest(const QString &message)
print(message.leftJustified(TEXT_WIDTH), false);
}
-void CalendarJanitor::endTest(bool printEnabled, const QString fixExplanation, const QString &fixExplanation2)
+void CalendarJanitor::endTest(bool printEnabled, const QString &fixExplanation, const QString &fixExplanation2)
{
if (m_numDamaged == 0 && printEnabled) {
print(QStringLiteral(" [OK]"));
diff --git a/console/calendarjanitor/calendarjanitor.h b/console/calendarjanitor/calendarjanitor.h
index 8f7fac3..30a02e5 100644
--- a/console/calendarjanitor/calendarjanitor.h
+++ b/console/calendarjanitor/calendarjanitor.h
@@ -76,7 +76,7 @@ private Q_SLOTS:
void printFound(const Akonadi::Item &item, const QString &explanation = QString());
void beginTest(const QString &message);
- void endTest(bool print = true, const QString fixExplanation = QString(),
+ void endTest(bool print = true, const QString &fixExplanation = QString(),
const QString &fixExplanation2 = QString());
void deleteIncidence(const Akonadi::Item &item);
diff --git a/kaddressbookgrantlee/src/printing/grantleeprint.cpp b/kaddressbookgrantlee/src/printing/grantleeprint.cpp
index 8006412..311c75b 100644
--- a/kaddressbookgrantlee/src/printing/grantleeprint.cpp
+++ b/kaddressbookgrantlee/src/printing/grantleeprint.cpp
@@ -84,6 +84,9 @@ QString GrantleePrint::contactsToHtml(const KContacts::Addressee::List &contacts
}
QVariantList contactsList;
QList<ContactGrantleePrintObject *> lst;
+ const int numberContacts(contacts.count());
+ lst.reserve(numberContacts);
+ contactsList.reserve(numberContacts);
Q_FOREACH (const KContacts::Addressee &address, contacts) {
ContactGrantleePrintObject *contactPrintObject = new ContactGrantleePrintObject(address);
lst.append(contactPrintObject);
diff --git a/kleopatra/crypto/certificateresolver.cpp b/kleopatra/crypto/certificateresolver.cpp
index ccabf98..1157637 100644
--- a/kleopatra/crypto/certificateresolver.cpp
+++ b/kleopatra/crypto/certificateresolver.cpp
@@ -108,7 +108,7 @@ class KConfigBasedRecipientPreferences::Private
friend class ::Kleo::Crypto::KConfigBasedRecipientPreferences;
KConfigBasedRecipientPreferences *const q;
public:
- explicit Private(KSharedConfigPtr config, KConfigBasedRecipientPreferences *qq);
+ explicit Private(const KSharedConfigPtr &config, KConfigBasedRecipientPreferences *qq);
~Private();
private:
@@ -124,7 +124,7 @@ private:
mutable bool m_dirty;
};
-KConfigBasedRecipientPreferences::Private::Private(KSharedConfigPtr config, KConfigBasedRecipientPreferences *qq) : q(qq), m_config(config), m_parsed(false), m_dirty(false)
+KConfigBasedRecipientPreferences::Private::Private(const KSharedConfigPtr &config, KConfigBasedRecipientPreferences *qq) : q(qq), m_config(config), m_parsed(false), m_dirty(false)
{
assert(m_config);
}
@@ -176,7 +176,7 @@ void KConfigBasedRecipientPreferences::Private::ensurePrefsParsed() const
m_parsed = true;
}
-KConfigBasedRecipientPreferences::KConfigBasedRecipientPreferences(KSharedConfigPtr config) : d(new Private(config, this))
+KConfigBasedRecipientPreferences::KConfigBasedRecipientPreferences(const KSharedConfigPtr &config) : d(new Private(config, this))
{
}
@@ -208,7 +208,7 @@ class KConfigBasedSigningPreferences::Private
friend class ::Kleo::Crypto::KConfigBasedSigningPreferences;
KConfigBasedSigningPreferences *const q;
public:
- explicit Private(KSharedConfigPtr config, KConfigBasedSigningPreferences *qq);
+ explicit Private(const KSharedConfigPtr &config, KConfigBasedSigningPreferences *qq);
~Private();
private:
@@ -224,7 +224,7 @@ private:
mutable bool m_dirty;
};
-KConfigBasedSigningPreferences::Private::Private(KSharedConfigPtr config, KConfigBasedSigningPreferences *qq) : q(qq), m_config(config), m_parsed(false), m_dirty(false)
+KConfigBasedSigningPreferences::Private::Private(const KSharedConfigPtr &config, KConfigBasedSigningPreferences *qq) : q(qq), m_config(config), m_parsed(false), m_dirty(false)
{
assert(m_config);
}
@@ -257,7 +257,7 @@ KConfigBasedSigningPreferences::Private::~Private()
writePrefs();
}
-KConfigBasedSigningPreferences::KConfigBasedSigningPreferences(KSharedConfigPtr config) : d(new Private(config, this))
+KConfigBasedSigningPreferences::KConfigBasedSigningPreferences(const KSharedConfigPtr &config) : d(new Private(config, this))
{
}
diff --git a/kleopatra/crypto/certificateresolver.h b/kleopatra/crypto/certificateresolver.h
index c230207..69ec5ae 100644
--- a/kleopatra/crypto/certificateresolver.h
+++ b/kleopatra/crypto/certificateresolver.h
@@ -74,7 +74,7 @@ public:
class KConfigBasedRecipientPreferences : public RecipientPreferences
{
public:
- explicit KConfigBasedRecipientPreferences(KSharedConfigPtr config);
+ explicit KConfigBasedRecipientPreferences(const KSharedConfigPtr &config);
~KConfigBasedRecipientPreferences();
GpgME::Key preferredCertificate(const KMime::Types::Mailbox &recipient, GpgME::Protocol protocol) Q_DECL_OVERRIDE;
void setPreferredCertificate(const KMime::Types::Mailbox &recipient, GpgME::Protocol protocol, const GpgME::Key &certificate) Q_DECL_OVERRIDE;
@@ -87,7 +87,7 @@ private:
class KConfigBasedSigningPreferences : public SigningPreferences
{
public:
- explicit KConfigBasedSigningPreferences(KSharedConfigPtr config);
+ explicit KConfigBasedSigningPreferences(const KSharedConfigPtr &config);
~KConfigBasedSigningPreferences();
GpgME::Key preferredCertificate(GpgME::Protocol protocol) Q_DECL_OVERRIDE;
void setPreferredCertificate(GpgME::Protocol protocol, const GpgME::Key &certificate) Q_DECL_OVERRIDE;
diff --git a/knotes/print/knotegrantleeprint.cpp b/knotes/print/knotegrantleeprint.cpp
index 82c840c..1748349 100644
--- a/knotes/print/knotegrantleeprint.cpp
+++ b/knotes/print/knotegrantleeprint.cpp
@@ -61,7 +61,7 @@ void KNoteGrantleePrint::setContent(const QString &content)
}
}
-QString KNoteGrantleePrint::notesToHtml(const QList<KNotePrintObject *> lst)
+QString KNoteGrantleePrint::notesToHtml(const QList<KNotePrintObject *> &lst)
{
if (lst.isEmpty()) {
return QString();
diff --git a/knotes/print/knotegrantleeprint.h b/knotes/print/knotegrantleeprint.h
index 54f81f5..77f7a57 100644
--- a/knotes/print/knotegrantleeprint.h
+++ b/knotes/print/knotegrantleeprint.h
@@ -36,7 +36,7 @@ public:
QString errorMessage() const;
- QString notesToHtml(const QList<KNotePrintObject *> lst);
+ QString notesToHtml(const QList<KNotePrintObject *> &lst);
void setContent(const QString &content);
diff --git a/knotes/print/knoteprinter.cpp b/knotes/print/knoteprinter.cpp
index 433664b..8b7f158 100644
--- a/knotes/print/knoteprinter.cpp
+++ b/knotes/print/knoteprinter.cpp
@@ -126,7 +126,7 @@ void KNotePrinter::print(QPrinter &printer, const QString &htmlText)
}
}
-void KNotePrinter::printNotes(const QList<KNotePrintObject *> lst, const QString &themePath, bool preview)
+void KNotePrinter::printNotes(const QList<KNotePrintObject *> &lst, const QString &themePath, bool preview)
{
mGrantleePrint = new KNoteGrantleePrint(themePath, this);
if (mGrantleePrint->errorMessage().isEmpty()) {
diff --git a/knotes/print/knoteprinter.h b/knotes/print/knoteprinter.h
index a6bc185..44b0fd7 100644
--- a/knotes/print/knoteprinter.h
+++ b/knotes/print/knoteprinter.h
@@ -34,7 +34,7 @@ public:
void setDefaultFont(const QFont &font);
QFont defaultFont() const;
- void printNotes(const QList<KNotePrintObject *> lst, const QString &themePath, bool preview);
+ void printNotes(const QList<KNotePrintObject *> &lst, const QString &themePath, bool preview);
private Q_SLOTS:
void slotPrinterPage(QPrinter *printer);
diff --git a/libkdepim/src/ldap/ldapclient.cpp b/libkdepim/src/ldap/ldapclient.cpp
index f210c00..43f4ff0 100644
--- a/libkdepim/src/ldap/ldapclient.cpp
+++ b/libkdepim/src/ldap/ldapclient.cpp
@@ -115,7 +115,7 @@ QStringList LdapClient::attributes() const
return d->mAttrs;
}
-void LdapClient::setScope(const QString scope)
+void LdapClient::setScope(const QString &scope)
{
d->mScope = scope;
}
diff --git a/libkdepim/src/ldap/ldapclient.h b/libkdepim/src/ldap/ldapclient.h
index b1b8d5b..e376522 100644
--- a/libkdepim/src/ldap/ldapclient.h
+++ b/libkdepim/src/ldap/ldapclient.h
@@ -117,7 +117,7 @@ public:
*
* Valid values are 'one' or 'sub'.
*/
- void setScope(const QString scope);
+ void setScope(const QString &scope);
/**
* Starts the query with the given @p filter.
diff --git a/libksieve/src/ksieveui/vacation/multiimapvacationmanager.cpp b/libksieve/src/ksieveui/vacation/multiimapvacationmanager.cpp
index 3d3eb4a..fa347b4 100644
--- a/libksieve/src/ksieveui/vacation/multiimapvacationmanager.cpp
+++ b/libksieve/src/ksieveui/vacation/multiimapvacationmanager.cpp
@@ -89,7 +89,7 @@ void MultiImapVacationManager::checkVacation()
}
}
-void MultiImapVacationManager::slotScriptActive(VacationCheckJob *job, QString scriptName, bool active)
+void MultiImapVacationManager::slotScriptActive(VacationCheckJob *job, const QString &scriptName, bool active)
{
--mNumberOfJobs;
if (mNumberOfJobs == 0) {
diff --git a/libksieve/src/ksieveui/vacation/multiimapvacationmanager.h b/libksieve/src/ksieveui/vacation/multiimapvacationmanager.h
index 8f35a48..8426f2a 100644
--- a/libksieve/src/ksieveui/vacation/multiimapvacationmanager.h
+++ b/libksieve/src/ksieveui/vacation/multiimapvacationmanager.h
@@ -47,7 +47,7 @@ Q_SIGNALS:
void scriptAvailable(const QString &serverName, const QStringList &sieveCapabilities, const QString &scriptName, const QString &script, bool active);
private Q_SLOTS:
- void slotScriptActive(VacationCheckJob *job, QString scriptName, bool active);
+ void slotScriptActive(VacationCheckJob *job, const QString &scriptName, bool active);
void slotCheckKep14Ended(KSieveUi::CheckKolabKep14SupportJob *job, bool success);
private:
diff --git a/mailimporter/src/filterthunderbird.cpp b/mailimporter/src/filterthunderbird.cpp
index fc7255f..698a039 100644
--- a/mailimporter/src/filterthunderbird.cpp
+++ b/mailimporter/src/filterthunderbird.cpp
@@ -52,7 +52,7 @@ QString FilterThunderbird::defaultSettingsPath()
return QDir::homePath() + QLatin1String("/.thunderbird/");
}
-QString FilterThunderbird::defaultProfile(const QString defaultSettingPath, QWidget *parent)
+QString FilterThunderbird::defaultProfile(const QString &defaultSettingPath, QWidget *parent)
{
QString currentProfile;
QMap<QString, QString> listProfile = FilterThunderbird::listProfile(currentProfile, defaultSettingPath);
diff --git a/mailimporter/src/filterthunderbird.h b/mailimporter/src/filterthunderbird.h
index a5a055b..e24466c 100644
--- a/mailimporter/src/filterthunderbird.h
+++ b/mailimporter/src/filterthunderbird.h
@@ -37,7 +37,7 @@ public:
void importMails(const QString &maildir);
static QString defaultSettingsPath();
- static QString defaultProfile(const QString defaultSettingPath, QWidget *parent = Q_NULLPTR);
+ static QString defaultProfile(const QString &defaultSettingPath, QWidget *parent = Q_NULLPTR);
static QMap<QString, QString> listProfile(QString &currentProfile, const QString &defaultSettingPath);
protected:
diff --git a/messageviewer/src/header/grantleeheaderformatter.cpp b/messageviewer/src/header/grantleeheaderformatter.cpp
index edc031d..37dc980 100644
--- a/messageviewer/src/header/grantleeheaderformatter.cpp
+++ b/messageviewer/src/header/grantleeheaderformatter.cpp
@@ -91,7 +91,7 @@ QString GrantleeHeaderFormatter::toHtml(const GrantleeTheme::Theme &theme, bool
return format(theme.absolutePath(), headerTemplate, theme.displayExtraVariables(), isPrinting, style, message);
}
-QString GrantleeHeaderFormatter::format(const QString &absolutePath, Grantlee::Template headerTemplate, const QStringList &displayExtraHeaders, bool isPrinting, const MessageViewer::HeaderStyle *style, KMime::Message *message) const
+QString GrantleeHeaderFormatter::format(const QString &absolutePath, const Grantlee::Template &headerTemplate, const QStringList &displayExtraHeaders, bool isPrinting, const MessageViewer::HeaderStyle *style, KMime::Message *message) const
{
QVariantHash headerObject;
diff --git a/messageviewer/src/header/grantleeheaderformatter.h b/messageviewer/src/header/grantleeheaderformatter.h
index c23ce79..bd8743b 100644
--- a/messageviewer/src/header/grantleeheaderformatter.h
+++ b/messageviewer/src/header/grantleeheaderformatter.h
@@ -44,7 +44,7 @@ public:
QString toHtml(const QStringList &displayExtraHeaders, const QString &absolutPath, const QString &filename, const MessageViewer::HeaderStyle *style, KMime::Message *message, bool isPrinting) const;
private:
- QString format(const QString &absolutePath, Grantlee::Template headerTemplate, const QStringList &displayExtraHeaders, bool isPrinting, const MessageViewer::HeaderStyle *style, KMime::Message *message) const;
+ QString format(const QString &absolutePath, const Grantlee::Template &headerTemplate, const QStringList &displayExtraHeaders, bool isPrinting, const MessageViewer::HeaderStyle *style, KMime::Message *message) const;
class Private;
Private *const d;
};
diff --git a/messageviewer/src/viewer/viewer.cpp b/messageviewer/src/viewer/viewer.cpp
index 6cdef93..269964e 100644
--- a/messageviewer/src/viewer/viewer.cpp
+++ b/messageviewer/src/viewer/viewer.cpp
@@ -96,7 +96,7 @@ void Viewer::changeEvent(QEvent *event)
QWidget::changeEvent(event);
}
-void Viewer::setMessage(KMime::Message::Ptr message, UpdateMode updateMode)
+void Viewer::setMessage(const KMime::Message::Ptr &message, UpdateMode updateMode)
{
Q_D(Viewer);
if (message == d->message()) {
diff --git a/messageviewer/src/viewer/viewer.h b/messageviewer/src/viewer/viewer.h
index 1258dd8..ae7c7fe 100644
--- a/messageviewer/src/viewer/viewer.h
+++ b/messageviewer/src/viewer/viewer.h
@@ -144,7 +144,7 @@ public:
* @param msg - the message to be shown. If 0, an empty page is displayed.
* @param updateMode - update the display immediately or not. See UpdateMode.
*/
- void setMessage(KMime::Message::Ptr message, UpdateMode updateMode = Delayed);
+ void setMessage(const KMime::Message::Ptr &message, UpdateMode updateMode = Delayed);
/**
* Set the Akonadi item that will be displayed.
diff --git a/messageviewer/src/viewer/viewer_p.cpp b/messageviewer/src/viewer/viewer_p.cpp
index 9f1259a..806998a 100644
--- a/messageviewer/src/viewer/viewer_p.cpp
+++ b/messageviewer/src/viewer/viewer_p.cpp
@@ -1274,7 +1274,7 @@ void ViewerPrivate::resetStateForNewMessage()
}
}
-void ViewerPrivate::setMessageInternal(const KMime::Message::Ptr message,
+void ViewerPrivate::setMessageInternal(const KMime::Message::Ptr &message,
Viewer::UpdateMode updateMode)
{
mViewerPluginToolManager->updateActions(mMessageItem);
@@ -1380,7 +1380,7 @@ void ViewerPrivate::showHideMimeTree()
#endif
}
-void ViewerPrivate::atmViewMsg(KMime::Message::Ptr message)
+void ViewerPrivate::atmViewMsg(const KMime::Message::Ptr &message)
{
Q_ASSERT(message);
Q_EMIT showMessage(message, overrideEncoding());
diff --git a/messageviewer/src/viewer/viewer_p.h b/messageviewer/src/viewer/viewer_p.h
index 2d99e33..16763e3 100644
--- a/messageviewer/src/viewer/viewer_p.h
+++ b/messageviewer/src/viewer/viewer_p.h
@@ -312,7 +312,7 @@ public:
void resetStateForNewMessage();
- void setMessageInternal(const KMime::Message::Ptr message, Viewer::UpdateMode updateMode);
+ void setMessageInternal(const KMime::Message::Ptr &message, Viewer::UpdateMode updateMode);
/** Set the Akonadi item that will be displayed.
* @param item - the Akonadi item to be displayed. If it doesn't hold a mail (KMime::Message::Ptr as payload data),
@@ -336,7 +336,7 @@ public:
void showHideMimeTree();
/** View message part of type message/RFC822 in extra viewer window. */
- void atmViewMsg(KMime::Message::Ptr message);
+ void atmViewMsg(const KMime::Message::Ptr &message);
void setExternalWindow(bool b);