зеркало из https://github.com/nextcloud/desktop.git
Merge pull request #2904 from ivaradi/ui-namespace
Move FolderCreationDialog into the OCC namespace
This commit is contained in:
Коммит
496f174232
|
@ -20,6 +20,8 @@
|
|||
#include <QDir>
|
||||
#include <QMessageBox>
|
||||
|
||||
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);
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
@ -17,6 +17,8 @@
|
|||
|
||||
#include <QDialog>
|
||||
|
||||
namespace OCC {
|
||||
|
||||
namespace Ui {
|
||||
class FolderCreationDialog;
|
||||
}
|
||||
|
@ -40,4 +42,6 @@ private:
|
|||
QString _destination;
|
||||
};
|
||||
|
||||
}
|
||||
|
||||
#endif // FOLDERCREATIONDIALOG_H
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<ui version="4.0">
|
||||
<class>FolderCreationDialog</class>
|
||||
<widget class="QDialog" name="FolderCreationDialog">
|
||||
<class>OCC::FolderCreationDialog</class>
|
||||
<widget class="QDialog" name="OCC::FolderCreationDialog">
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>0</x>
|
||||
|
@ -67,7 +67,7 @@
|
|||
<connection>
|
||||
<sender>buttonBox</sender>
|
||||
<signal>accepted()</signal>
|
||||
<receiver>FolderCreationDialog</receiver>
|
||||
<receiver>OCC::FolderCreationDialog</receiver>
|
||||
<slot>accept()</slot>
|
||||
<hints>
|
||||
<hint type="sourcelabel">
|
||||
|
@ -83,7 +83,7 @@
|
|||
<connection>
|
||||
<sender>buttonBox</sender>
|
||||
<signal>rejected()</signal>
|
||||
<receiver>FolderCreationDialog</receiver>
|
||||
<receiver>OCC::FolderCreationDialog</receiver>
|
||||
<slot>reject()</slot>
|
||||
<hints>
|
||||
<hint type="sourcelabel">
|
||||
|
|
Загрузка…
Ссылка в новой задаче