From 92f1074fcce742ab9d2acac83c5f270f62430224 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Istv=C3=A1n=20V=C3=A1radi?= Date: Thu, 4 Feb 2021 16:10:24 +0100 Subject: [PATCH] Put FolderCreationDialog into the OCC namespace. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: István Váradi --- src/gui/foldercreationdialog.cpp | 4 ++++ src/gui/foldercreationdialog.h | 4 ++++ src/gui/foldercreationdialog.ui | 8 ++++---- 3 files changed, 12 insertions(+), 4 deletions(-) diff --git a/src/gui/foldercreationdialog.cpp b/src/gui/foldercreationdialog.cpp index 3ee046d385ab4..c9d8c7b08d142 100644 --- a/src/gui/foldercreationdialog.cpp +++ b/src/gui/foldercreationdialog.cpp @@ -20,6 +20,8 @@ #include #include +namespace OCC { + FolderCreationDialog::FolderCreationDialog(const QString &destination, QWidget *parent) : QDialog(parent) , ui(new Ui::FolderCreationDialog) @@ -82,3 +84,5 @@ void FolderCreationDialog::slotNewFolderNameEditTextEdited() ui->labelErrorMessage->setVisible(false); } } + +} diff --git a/src/gui/foldercreationdialog.h b/src/gui/foldercreationdialog.h index c3d219f9a18a7..4797b5f932cd9 100644 --- a/src/gui/foldercreationdialog.h +++ b/src/gui/foldercreationdialog.h @@ -17,6 +17,8 @@ #include +namespace OCC { + namespace Ui { class FolderCreationDialog; } @@ -40,4 +42,6 @@ private slots: QString _destination; }; +} + #endif // FOLDERCREATIONDIALOG_H diff --git a/src/gui/foldercreationdialog.ui b/src/gui/foldercreationdialog.ui index 87c7a87d07746..84d7c77e18654 100644 --- a/src/gui/foldercreationdialog.ui +++ b/src/gui/foldercreationdialog.ui @@ -1,7 +1,7 @@ - FolderCreationDialog - + OCC::FolderCreationDialog + 0 @@ -67,7 +67,7 @@ buttonBox accepted() - FolderCreationDialog + OCC::FolderCreationDialog accept() @@ -83,7 +83,7 @@ buttonBox rejected() - FolderCreationDialog + OCC::FolderCreationDialog reject()