aboutsummaryrefslogtreecommitdiff
path: root/launcher/ui/dialogs/NewComponentDialog.h
diff options
context:
space:
mode:
authorSefa Eyeoglu <contact@scrumplex.net>2023-08-04 19:42:36 +0200
committerGitHub <noreply@github.com>2023-08-04 19:42:36 +0200
commitae793f6cf11658c9abc5111e82d5ba7b3e6af127 (patch)
treeed41f30e2c0f02e4be1d42324b3f05fbab75b2cd /launcher/ui/dialogs/NewComponentDialog.h
parent50c7d39e082f0a7dbd977401e16d5adf534d9770 (diff)
parent1d638e018ac40fbfb35dd117f9a948c0cf35eadd (diff)
downloadPrismLauncher-ae793f6cf11658c9abc5111e82d5ba7b3e6af127.tar.gz
PrismLauncher-ae793f6cf11658c9abc5111e82d5ba7b3e6af127.tar.bz2
PrismLauncher-ae793f6cf11658c9abc5111e82d5ba7b3e6af127.zip
Merge pull request #1459 from Scrumplex/format
Diffstat (limited to 'launcher/ui/dialogs/NewComponentDialog.h')
-rw-r--r--launcher/ui/dialogs/NewComponentDialog.h16
1 files changed, 7 insertions, 9 deletions
diff --git a/launcher/ui/dialogs/NewComponentDialog.h b/launcher/ui/dialogs/NewComponentDialog.h
index 8c790beb..4fb68ff2 100644
--- a/launcher/ui/dialogs/NewComponentDialog.h
+++ b/launcher/ui/dialogs/NewComponentDialog.h
@@ -20,28 +20,26 @@
#include <QString>
#include <QStringList>
-namespace Ui
-{
+namespace Ui {
class NewComponentDialog;
}
-class NewComponentDialog : public QDialog
-{
+class NewComponentDialog : public QDialog {
Q_OBJECT
-public:
- explicit NewComponentDialog(const QString & initialName = QString(), const QString & initialUid = QString(), QWidget *parent = 0);
+ public:
+ explicit NewComponentDialog(const QString& initialName = QString(), const QString& initialUid = QString(), QWidget* parent = 0);
virtual ~NewComponentDialog();
void setBlacklist(QStringList badUids);
QString name() const;
QString uid() const;
-private slots:
+ private slots:
void updateDialogState();
-private:
- Ui::NewComponentDialog *ui;
+ private:
+ Ui::NewComponentDialog* ui;
QString originalPlaceholderText;
QStringList uidBlacklist;