diff --git a/src/EditProfileDialog.h b/src/EditProfileDialog.h index 746cb43d71b8a075fd237c2b4154f44e2d63baf4..4a592761445eb819afca93b826e4b724e84a5b77 100644 --- a/src/EditProfileDialog.h +++ b/src/EditProfileDialog.h @@ -17,8 +17,8 @@ 02110-1301 USA. */ -#ifndef EDITSESSIONDIALOG_H -#define EDITSESSIONDIALOG_H +#ifndef EDITPROFILEDIALOG_H +#define EDITPROFILEDIALOG_H // Qt #include @@ -272,5 +272,5 @@ public: }; } -#endif // EDITSESSIONDIALOG_H +#endif // EDITPROFILEDIALOG_H diff --git a/src/Part.h b/src/Part.h index 1015855257236c336df5009105c8dcbb9f0ada53..5ea2286ec9b885fd810633dbc8f94a53195b9fa2 100644 --- a/src/Part.h +++ b/src/Part.h @@ -57,7 +57,7 @@ Q_OBJECT Q_INTERFACES(TerminalInterface) public: /** Constructs a new Konsole part with the specified parent. */ - Part(QWidget* parentWidget , QObject* parent = 0); + explicit Part(QWidget* parentWidget , QObject* parent = 0); virtual ~Part(); /** Reimplemented from TerminalInterface. */ diff --git a/src/ProfileList.h b/src/ProfileList.h index f1cd805940c7bc4aeaa5829574bc9103f73547ce..d39bd271690cdf52d003242ded5e11fa0f22dd3b 100644 --- a/src/ProfileList.h +++ b/src/ProfileList.h @@ -17,8 +17,8 @@ 02110-1301 USA. */ -#ifndef SESSIONLIST_H -#define SESSIONLIST_H +#ifndef PROFILELIST_H +#define PROFILELIST_H #include #include @@ -95,4 +95,4 @@ private: } -#endif +#endif // PROFILELIST_H diff --git a/src/ProfileListWidget.h b/src/ProfileListWidget.h index 97418c038d086b6b606985cb6486394ec587c57e..297708c67d8b27a1a9a1728c3d8135de2167ef37 100644 --- a/src/ProfileListWidget.h +++ b/src/ProfileListWidget.h @@ -17,8 +17,8 @@ 02110-1301 USA. */ -#ifndef SESSIONLISTWIDGET_H -#define SESSIONLISTWIDGET_H +#ifndef PROFILELISTWIDGET_H +#define PROFILELISTWIDGET_H // Qt #include @@ -54,4 +54,4 @@ public: const QModelIndex& index) const; };*/ -#endif // SESSIONLISTWIDGET_H +#endif // PROFILELISTWIDGET_H diff --git a/src/Pty.h b/src/Pty.h index b5d6b36c4b4514d316fa30e6168efbe21cca1be9..f5426e12d2b876a9597a5e2ccb7202d0ad3afbfd 100644 --- a/src/Pty.h +++ b/src/Pty.h @@ -74,7 +74,7 @@ Q_OBJECT * @param program Path to the program to start * @param arguments Arguments to pass to the program being started * @param environment A list of key=value pairs which will be added - * to the environemnt for the new process. At the very least this + * to the environment for the new process. At the very least this * should include an assignment for the TERM environment variable. * @param winid Specifies the value of the WINDOWID environment variable * in the process's environment.