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

GIT_SILENT: coding style

parent 67e985a2
...@@ -45,7 +45,6 @@ Q_SIGNALS: ...@@ -45,7 +45,6 @@ Q_SIGNALS:
void info(const QString &str); void info(const QString &str);
void terminated(); void terminated();
public Q_SLOTS: public Q_SLOTS:
void slotTaskCanceled(); void slotTaskCanceled();
......
...@@ -37,7 +37,6 @@ private: ...@@ -37,7 +37,6 @@ private:
void slotSelectAll(); void slotSelectAll();
void slotUnselectAll(); void slotUnselectAll();
enum DataType { enum DataType {
ResourceIdentifier = Qt::UserRole + 1 ResourceIdentifier = Qt::UserRole + 1
}; };
......
...@@ -279,9 +279,9 @@ void PimSettingExporterWindow::slotSaveLog() ...@@ -279,9 +279,9 @@ void PimSettingExporterWindow::slotSaveLog()
void PimSettingExporterWindow::slotBackupData() void PimSettingExporterWindow::slotBackupData()
{ {
if (KMessageBox::warningContinueCancel( if (KMessageBox::warningContinueCancel(
this, this,
i18n("Please quit all kdepim applications before backing up your data."), i18n("Please quit all kdepim applications before backing up your data."),
i18n("Backup")) == KMessageBox::Cancel) { i18n("Backup")) == KMessageBox::Cancel) {
return; return;
} }
backupData(); backupData();
...@@ -355,10 +355,10 @@ void PimSettingExporterWindow::slotRestoreData() ...@@ -355,10 +355,10 @@ void PimSettingExporterWindow::slotRestoreData()
void PimSettingExporterWindow::loadData(const QString &filename, const QString &templateFile) void PimSettingExporterWindow::loadData(const QString &filename, const QString &templateFile)
{ {
if (KMessageBox::warningYesNo( if (KMessageBox::warningYesNo(
this, this,
i18n("Before restoring data you must close all kdepim applications. " i18n("Before restoring data you must close all kdepim applications. "
"Do you want to continue?"), "Do you want to continue?"),
i18n("Backup")) == KMessageBox::No) { i18n("Backup")) == KMessageBox::No) {
return; return;
} }
...@@ -366,13 +366,13 @@ void PimSettingExporterWindow::loadData(const QString &filename, const QString & ...@@ -366,13 +366,13 @@ void PimSettingExporterWindow::loadData(const QString &filename, const QString &
QString currentFileName = filename; QString currentFileName = filename;
if (currentFileName.isEmpty()) { if (currentFileName.isEmpty()) {
QString recentDirClass; QString recentDirClass;
currentFileName = currentFileName
QFileDialog::getOpenFileName( = QFileDialog::getOpenFileName(
this, this,
i18n("Restore backup"), i18n("Restore backup"),
KFileWidget::getStartUrl(QUrl(QStringLiteral("kfiledialog:///pimsettingexporter")), KFileWidget::getStartUrl(QUrl(QStringLiteral("kfiledialog:///pimsettingexporter")),
recentDirClass).toLocalFile(), recentDirClass).toLocalFile(),
QStringLiteral("%1 (*.zip)").arg(i18n("Zip File"))); QStringLiteral("%1 (*.zip)").arg(i18n("Zip File")));
if (currentFileName.isEmpty()) { if (currentFileName.isEmpty()) {
return; return;
} }
......
...@@ -66,15 +66,15 @@ private: ...@@ -66,15 +66,15 @@ private:
QString mLastArchiveFileName; QString mLastArchiveFileName;
// Name, identifier // Name, identifier
QHash<QString, QString> mNeedToSyncResources; QHash<QString, QString> mNeedToSyncResources;
LogWidget *mLogWidget= nullptr; LogWidget *mLogWidget = nullptr;
KRecentFilesAction *mRecentFilesAction= nullptr; KRecentFilesAction *mRecentFilesAction = nullptr;
QAction *mBackupAction= nullptr; QAction *mBackupAction = nullptr;
QAction *mRestoreAction= nullptr; QAction *mRestoreAction = nullptr;
QAction *mSaveLogAction= nullptr; QAction *mSaveLogAction = nullptr;
QAction *mArchiveStructureInfo= nullptr; QAction *mArchiveStructureInfo = nullptr;
QAction *mShowArchiveInformationsAction= nullptr; QAction *mShowArchiveInformationsAction = nullptr;
QAction *mShowArchiveInformationsAboutCurrentArchiveAction= nullptr; QAction *mShowArchiveInformationsAboutCurrentArchiveAction = nullptr;
PimSettingsBackupRestoreUI *mPimSettingsBackupRestoreUI= nullptr; PimSettingsBackupRestoreUI *mPimSettingsBackupRestoreUI = nullptr;
PimSettingsTrayIcon *mTrayIcon = nullptr; PimSettingsTrayIcon *mTrayIcon = nullptr;
}; };
......
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