Members of the KDE Community are recommended to subscribe to the kde-community mailing list at https://mail.kde.org/mailman/listinfo/kde-community to allow them to participate in important discussions and receive other important announcements

Commit a12b599b authored by Laurent Montel's avatar Laurent Montel 😁

Commit all :)

parent e8771a45
......@@ -140,7 +140,8 @@ if (KDEPIM_BUILD_DESKTOP)
warningwidgets/attachmentmissingwarning.cpp
)
set(kmailprivate_editor_potentialphishingemail_SRCS
editor/potentialphishingemail/potentialphisingemailwarning.cpp
editor/potentialphishingemail/potentialphishingemailwarning.cpp
editor/potentialphishingemail/potentialphishingemailjob.cpp
)
set(kmailprivate_dialogs_LIB_SRCS
dialog/archivefolderdialog.cpp
......
......@@ -63,7 +63,7 @@
#include "followupreminder/followupremindercreatejob.h"
#include "agents/followupreminderagent/followupreminderutil.h"
#include "pimcommon/util/vcardutil.h"
#include "editor/potentialphishingemail/potentialphisingemailwarning.h"
#include "editor/potentialphishingemail/potentialphishingemailwarning.h"
#include "libkdepim/progresswidget/statusbarprogresswidget.h"
#include "libkdepim/progresswidget/progressstatusbarwidget.h"
......@@ -432,7 +432,7 @@ KMComposeWin::KMComposeWin( const KMime::Message::Ptr &aMsg, bool lastSignState,
connect(mAttachmentMissing, SIGNAL(explicitClosedMissingAttachment()), this, SLOT(slotExplicitClosedMissingAttachment()));
v->addWidget(mAttachmentMissing);
mPotentialPhishingEmailWarning = new PotentialPhisingEmailWarning(this);
mPotentialPhishingEmailWarning = new PotentialPhishingEmailWarning(this);
v->addWidget(mPotentialPhishingEmailWarning);
if (GlobalSettings::self()->showForgottenAttachmentWarning()) {
......
......@@ -70,7 +70,7 @@ class ExternalEditorWarning;
class KActionMenu;
class CryptoStateIndicatorWidget;
class StatusBarLabelToggledState;
class PotentialPhisingEmailWarning;
class PotentialPhishingEmailWarning;
namespace boost {
template <typename T> class shared_ptr;
......@@ -696,7 +696,7 @@ private:
KToggleAction *mFollowUpToggleAction;
StatusBarLabelToggledState *mStatusBarLabelToggledOverrideMode;
StatusBarLabelToggledState *mStatusBarLabelSpellCheckingChangeMode;
PotentialPhisingEmailWarning *mPotentialPhishingEmailWarning;
PotentialPhishingEmailWarning *mPotentialPhishingEmailWarning;
};
#endif
......@@ -19,9 +19,9 @@
*/
#include "potentialphisingemailwarning.h"
#include "potentialphishingemailwarning.h"
PotentialPhisingEmailWarning::PotentialPhisingEmailWarning(QWidget *parent)
PotentialPhishingEmailWarning::PotentialPhishingEmailWarning(QWidget *parent)
: KMessageWidget(parent)
{
setVisible(false);
......@@ -30,12 +30,12 @@ PotentialPhisingEmailWarning::PotentialPhisingEmailWarning(QWidget *parent)
setWordWrap(true);
}
PotentialPhisingEmailWarning::~PotentialPhisingEmailWarning()
PotentialPhishingEmailWarning::~PotentialPhishingEmailWarning()
{
}
void PotentialPhisingEmailWarning::setWarningText(const QString &text)
void PotentialPhishingEmailWarning::setWarningText(const QString &text)
{
animatedShow();
}
......@@ -18,19 +18,19 @@
*/
#ifndef POTENTIALPHISINGEMAILWARNING_H
#define POTENTIALPHISINGEMAILWARNING_H
#ifndef POTENTIALPHISHINGEMAILWARNING_H
#define POTENTIALPHISHINGEMAILWARNING_H
#include <KMessageWidget>
class PotentialPhisingEmailWarning : public KMessageWidget
class PotentialPhishingEmailWarning : public KMessageWidget
{
Q_OBJECT
public:
explicit PotentialPhisingEmailWarning(QWidget *parent = 0);
~PotentialPhisingEmailWarning();
explicit PotentialPhishingEmailWarning(QWidget *parent = 0);
~PotentialPhishingEmailWarning();
void setWarningText(const QString &text);
};
#endif // POTENTIALPHISINGEMAILWARNING_H
#endif // POTENTIALPHISHINGEMAILWARNING_H
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment