projects
/
quassel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add button and bindings for striking through text
[quassel.git]
/
src
/
qtui
/
ircconnectionwizard.h
diff --git
a/src/qtui/ircconnectionwizard.h
b/src/qtui/ircconnectionwizard.h
index
69836fb
..
2c67a06
100644
(file)
--- a/
src/qtui/ircconnectionwizard.h
+++ b/
src/qtui/ircconnectionwizard.h
@@
-1,5
+1,5
@@
/***************************************************************************
/***************************************************************************
- * Copyright (C) 2005-20
18
by the Quassel Project *
+ * Copyright (C) 2005-20
20
by the Quassel Project *
* devel@quassel-irc.org *
* *
* This program is free software; you can redistribute it and/or modify *
* devel@quassel-irc.org *
* *
* This program is free software; you can redistribute it and/or modify *
@@
-30,9
+30,9
@@
class IrcConnectionWizard : public QWizard
Q_OBJECT
public:
Q_OBJECT
public:
- IrcConnectionWizard(QWidget
*parent = 0, Qt::WindowFlags flags = 0
);
+ IrcConnectionWizard(QWidget
* parent = nullptr, Qt::WindowFlags flags = nullptr
);
- static QWizardPage
*createIntroductionPage(QWidget *parent = 0
);
+ static QWizardPage
* createIntroductionPage(QWidget* parent = nullptr
);
private slots:
void finishClicked();
private slots:
void finishClicked();
@@
-40,12
+40,11
@@
private slots:
void networkReady(NetworkId id);
private:
void networkReady(NetworkId id);
private:
- QWizardPage
*_introductionPage
;
- QWizardPage
*_identityPage
;
- QWizardPage
*_networkPage
;
+ QWizardPage
* _introductionPage{nullptr}
;
+ QWizardPage
* _identityPage{nullptr}
;
+ QWizardPage
* _networkPage{nullptr}
;
};
};
-
// ==============================
// Wizard Pages
// ==============================
// ==============================
// Wizard Pages
// ==============================
@@
-60,16
+59,15
@@
class IdentityPage : public QWizardPage
Q_OBJECT
public:
Q_OBJECT
public:
- IdentityPage(QWidget
*parent = 0
);
+ IdentityPage(QWidget
* parent = nullptr
);
- CertIdentity
*
identity();
+ CertIdentity
*
identity();
private:
private:
- IdentityEditWidget
*
_identityEditWidget;
- CertIdentity
*_identity
;
+ IdentityEditWidget
*
_identityEditWidget;
+ CertIdentity
* _identity{nullptr}
;
};
};
-
// Network Page
#include "network.h"
// Network Page
#include "network.h"
@@
-80,16
+78,15
@@
class NetworkPage : public QWizardPage
Q_OBJECT
public:
Q_OBJECT
public:
- NetworkPage(QWidget
*parent = 0
);
+ NetworkPage(QWidget
* parent = nullptr
);
NetworkInfo networkInfo();
QStringList channelList();
private:
NetworkInfo networkInfo();
QStringList channelList();
private:
- SimpleNetworkEditor
*
_networkEditor;
+ SimpleNetworkEditor
*
_networkEditor;
NetworkInfo _networkInfo;
QStringList _channelList;
};
NetworkInfo _networkInfo;
QStringList _channelList;
};
-
-#endif //IRCCONNECTIONWIZARD_H
+#endif // IRCCONNECTIONWIZARD_H