Commit cae34ed5 authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

GIT_SILENT: coding style

parent 442694de
......@@ -219,5 +219,4 @@ void KuserFeedBackPageTab::doLoadFromGlobalSettings()
}
}
#endif
......@@ -104,9 +104,7 @@ public:
private:
void doLoadFromGlobalSettings() override;
KUserFeedback::FeedbackConfigWidget *mUserFeedbackWidget = nullptr;
};
#endif
#endif // CONFIGUREMISCPAGE_H
......@@ -208,7 +208,6 @@
#include <KIO/CommandLauncherJob>
#endif
using Sonnet::DictionaryComboBox;
using MailTransport::TransportManager;
using MailTransport::Transport;
......
......@@ -149,7 +149,6 @@ public Q_SLOTS:
void addAttachment(const QString &name, KMime::Headers::contentEncoding cte, const QString &charset, const QByteArray &data, const QByteArray &mimeType) override;
Q_SIGNALS:
void identityChanged(const KIdentityManagement::Identity &identity);
......
......@@ -31,7 +31,6 @@ AttachmentAddedFromExternalWarning::AttachmentAddedFromExternalWarning(QWidget *
AttachmentAddedFromExternalWarning::~AttachmentAddedFromExternalWarning()
{
}
void AttachmentAddedFromExternalWarning::setAttachmentNames(const QStringList &lst)
......
......@@ -17,7 +17,6 @@
Boston, MA 02110-1301, USA.
*/
#ifndef ATTACHMENTADDEDFROMEXTERNALWARNING_H
#define ATTACHMENTADDEDFROMEXTERNALWARNING_H
......
......@@ -118,7 +118,6 @@ using KMail::MailServiceImpl;
#include "userfeedback/kmailuserfeedbackprovider.h"
#endif
//#define DEBUG_SCHEDULER 1
using namespace MailCommon;
......@@ -1976,4 +1975,5 @@ KUserFeedback::Provider *KMKernel::userFeedbackProvider() const
{
return mUserFeedbackProvider;
}
#endif
......@@ -199,7 +199,6 @@
#include <KUserFeedback/Provider>
#endif
using namespace KMime;
using namespace Akonadi;
using namespace MailCommon;
......
......@@ -530,7 +530,6 @@ private:
void updateDisplayFormatMessage();
void slotContactHtmlPreferencesUpdated(const Akonadi::Item &contact, Akonadi::Item::Id id, bool showAsHTML, bool remoteContent);
// Message actions
QAction *mDeleteAction = nullptr;
QAction *mTrashThreadAction = nullptr;
......
......@@ -815,4 +815,3 @@ void KMReaderMainWin::slotUpdateToolbars()
createGUI(QStringLiteral("kmreadermainwin.rc"));
applyMainWindowSettings(KConfigGroup(KMKernel::self()->config(), "ReaderWindow"));
}
......@@ -141,7 +141,7 @@ int main(int argc, char *argv[])
about.processCommandLine(cmdArgs);
#ifdef WITH_KUSERFEEDBACK
if(cmdArgs->isSet(QStringLiteral("feedback"))) {
if (cmdArgs->isSet(QStringLiteral("feedback"))) {
KMailUserFeedbackProvider *userFeedback = new KMailUserFeedbackProvider(nullptr);
QTextStream(stdout) << userFeedback->describeDataSources() << '\n';
delete userFeedback;
......
......@@ -773,8 +773,8 @@ void MessageActions::slotExportToPdf()
{
QString fileName = MessageViewer::Util::generateFileNameForExtension(mCurrentItem, QStringLiteral(".pdf"));
fileName = QFileDialog::getSaveFileName(mParent, i18n("Export to PDF"),
QDir::homePath() + QLatin1Char('/') + fileName,
i18n("PDF document (*.pdf)"));
QDir::homePath() + QLatin1Char('/') + fileName,
i18n("PDF document (*.pdf)"));
if (!fileName.isEmpty()) {
mMessageView->viewer()->exportToPdf(fileName);
}
......@@ -784,4 +784,3 @@ QAction *MessageActions::exportToPdfAction() const
{
return mExportToPdfAction;
}
......@@ -28,7 +28,6 @@
AccountInfoSource::AccountInfoSource()
: KUserFeedback::AbstractDataSource(QStringLiteral("accounts"), KUserFeedback::Provider::DetailedSystemInformation)
{
}
QString AccountInfoSource::name() const
......
......@@ -17,7 +17,6 @@
Boston, MA 02110-1301, USA.
*/
#ifndef ACCOUNTINFOSOURCE_H
#define ACCOUNTINFOSOURCE_H
#include <KUserFeedback/AbstractDataSource>
......
......@@ -17,7 +17,6 @@
Boston, MA 02110-1301, USA.
*/
#include "kmailuserfeedbackprovider.h"
#include <KUserFeedback/ApplicationVersionSource>
#include <KUserFeedback/PlatformInfoSource>
......@@ -54,5 +53,4 @@ KMailUserFeedbackProvider::KMailUserFeedbackProvider(QObject *parent)
KMailUserFeedbackProvider::~KMailUserFeedbackProvider()
{
}
......@@ -17,7 +17,6 @@
Boston, MA 02110-1301, USA.
*/
#ifndef KMAILUSERFEEDBACKPROVIDER_H
#define KMAILUSERFEEDBACKPROVIDER_H
......
......@@ -25,7 +25,6 @@
PluginInfoSource::PluginInfoSource()
: KUserFeedback::AbstractDataSource(QStringLiteral("plugins"), KUserFeedback::Provider::DetailedSystemInformation)
{
}
QString PluginInfoSource::name() const
......
......@@ -17,7 +17,6 @@
Boston, MA 02110-1301, USA.
*/
#ifndef PLUGININFOSOURCE_H
#define PLUGININFOSOURCE_H
#include <KUserFeedback/AbstractDataSource>
......
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