Skip to content

Commit 2a7470e

Browse files
committed
Changed EOL character to LF in a few files.
1 parent 5ca3ba5 commit 2a7470e

6 files changed

Lines changed: 278 additions & 278 deletions

File tree

gui/applicationdialog.h

Lines changed: 21 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -22,34 +22,34 @@
2222
#include <QDialog>
2323
#include <QLineEdit>
2424

25-
/**
25+
/**
2626
* @brief Dialog to edit a startable application.
2727
* User can open errors with user specified applications. This is a dialog
28-
* to modify/add an application to open errors with.
29-
*
28+
* to modify/add an application to open errors with.
29+
*
3030
*/
3131
class ApplicationDialog : public QDialog
3232
{
3333
Q_OBJECT
3434
public:
35-
/**
36-
* @brief Constructor
37-
*
38-
* @param name Default name for the application to start
35+
/**
36+
* @brief Constructor
37+
*
38+
* @param name Default name for the application to start
3939
* @param path Path for the application
40-
* @param title Title for the dialog
40+
* @param title Title for the dialog
4141
*/
4242
ApplicationDialog(const QString &name,
4343
const QString &path,
4444
const QString &title);
4545
virtual ~ApplicationDialog();
4646

47-
/**
48-
* @brief Get modified name
47+
/**
48+
* @brief Get modified name
4949
* This is just a name to display the application. This has nothing to do
5050
* with executing the application.
51-
*
52-
* @return Modified name
51+
*
52+
* @return Modified name
5353
*/
5454
QString GetName();
5555

@@ -62,22 +62,22 @@ class ApplicationDialog : public QDialog
6262
protected slots:
6363
void Ok();
6464

65-
/**
66-
* @brief Slot to browse for an application
67-
*
65+
/**
66+
* @brief Slot to browse for an application
67+
*
6868
*/
6969
void Browse();
7070
protected:
71-
/**
72-
* @brief Editbox for the application's name
71+
/**
72+
* @brief Editbox for the application's name
7373
* This is just a name to display the application. This has nothing to do
74-
* with executing the application.
74+
* with executing the application.
7575
*/
7676
QLineEdit *mName;
7777

78-
/**
79-
* @brief Editbox for the application's path
80-
* This also contains all parameters user wants to specify.
78+
/**
79+
* @brief Editbox for the application's path
80+
* This also contains all parameters user wants to specify.
8181
*/
8282
QLineEdit *mPath;
8383
private:

gui/applicationlist.h

Lines changed: 60 additions & 60 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,8 @@
2323
#include <QSettings>
2424

2525

26-
/**
27-
* @brief List of applications user has specified to open errors with
26+
/**
27+
* @brief List of applications user has specified to open errors with
2828
* Each application has a name and a path. Name is displayed to the user
2929
* and has no other meaning. It isn't used to start the application.
3030
* Path contains the path to the application as well as the executable itself and
@@ -39,121 +39,121 @@
3939
*
4040
* Example opening a file with Kate and make Kate scroll to the corret line:
4141
* kate -l(line) (file)
42-
*
42+
*
4343
*/
4444
class ApplicationList : public QObject
4545
{
4646
public:
4747

48-
/**
49-
* @brief Struct containing information of the application
50-
*
48+
/**
49+
* @brief Struct containing information of the application
50+
*
5151
*/
5252
typedef struct
5353
{
54-
/**
55-
* @brief Applicaton's name
56-
*
54+
/**
55+
* @brief Applicaton's name
56+
*
5757
*/
5858
QString Name;
5959

60-
/**
61-
* @brief Application's path and commandline arguments
62-
*
60+
/**
61+
* @brief Application's path and commandline arguments
62+
*
6363
*/
6464
QString Path;
6565
}ApplicationType;
6666

6767
ApplicationList();
6868
virtual ~ApplicationList();
6969

70-
/**
71-
* @brief Load all applications
72-
*
73-
* @param programSettings QSettings to load application list from
70+
/**
71+
* @brief Load all applications
72+
*
73+
* @param programSettings QSettings to load application list from
7474
*/
7575
void LoadSettings(QSettings &programSettings);
7676

77-
/**
78-
* @brief Save all applications
79-
* @param programSettings QSettings to save applications to
77+
/**
78+
* @brief Save all applications
79+
* @param programSettings QSettings to save applications to
8080
*/
8181
void SaveSettings(QSettings &programSettings);
8282

83-
/**
84-
* @brief Get the amount of applications in the list
85-
* @return The count of applications
83+
/**
84+
* @brief Get the amount of applications in the list
85+
* @return The count of applications
8686
*/
8787
int GetApplicationCount();
8888

89-
/**
90-
* @brief Get spesific application's name
91-
*
92-
* @param index Index of the application whose name to get
93-
* @return Name of the application
89+
/**
90+
* @brief Get spesific application's name
91+
*
92+
* @param index Index of the application whose name to get
93+
* @return Name of the application
9494
*/
9595
QString GetApplicationName(const int index);
9696

97-
/**
98-
* @brief Get Application's path
99-
*
100-
* @param index of the application whose path to get
101-
* @return Application's path
97+
/**
98+
* @brief Get Application's path
99+
*
100+
* @param index of the application whose path to get
101+
* @return Application's path
102102
*/
103103
QString GetApplicationPath(const int index);
104104

105-
/**
106-
* @brief Modify an application
107-
*
108-
* @param index Index of the application to modify
105+
/**
106+
* @brief Modify an application
107+
*
108+
* @param index Index of the application to modify
109109
* @param name New name for the application
110-
* @param path New path for the application
110+
* @param path New path for the application
111111
*/
112112
void SetApplicationType(const int index,
113113
const QString &name,
114114
const QString &path);
115115

116-
/**
117-
* @brief Add a new application
118-
*
119-
* @param name Name of the application
120-
* @param path Path to the application
116+
/**
117+
* @brief Add a new application
118+
*
119+
* @param name Name of the application
120+
* @param path Path to the application
121121
*/
122122
void AddApplicationType(const QString &name, const QString &path);
123123

124-
/**
125-
* @brief Remove an application from the list
126-
*
127-
* @param index Index of the application to remove.
124+
/**
125+
* @brief Remove an application from the list
126+
*
127+
* @param index Index of the application to remove.
128128
*/
129129
void RemoveApplication(const int index);
130130

131-
/**
131+
/**
132132
* @brief Move certain application as first.
133133
* Position of the application is used by the application to determine
134134
* which of the applications is the default application. First application
135-
* (index 0) is the default application.
136-
*
137-
* @param index Index of the application to make the default one
135+
* (index 0) is the default application.
136+
*
137+
* @param index Index of the application to make the default one
138138
*/
139139
void MoveFirst(const int index);
140140

141-
/**
142-
* @brief Remove all applications from this list and copy all applications from
143-
* list given as a parameter.
144-
* @param list Copying source
141+
/**
142+
* @brief Remove all applications from this list and copy all applications from
143+
* list given as a parameter.
144+
* @param list Copying source
145145
*/
146146
void Copy(ApplicationList &list);
147147
protected:
148148

149-
/**
150-
* @brief Clear the list
151-
*
149+
/**
150+
* @brief Clear the list
151+
*
152152
*/
153153
void Clear();
154-
/**
155-
* @brief List of applications
156-
*
154+
/**
155+
* @brief List of applications
156+
*
157157
*/
158158
QList<ApplicationType> mApplications;
159159
private:

gui/common.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,9 +19,9 @@
1919
#ifndef COMMON_H
2020
#define COMMON_H
2121

22-
/**
23-
* @brief List of error types to show
24-
*
22+
/**
23+
* @brief List of error types to show
24+
*
2525
*/
2626
typedef enum
2727
{

gui/settingsdialog.h

Lines changed: 21 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -44,22 +44,22 @@ class SettingsDialog : public QDialog
4444
SettingsDialog(QSettings &programSettings, ApplicationList &list);
4545
virtual ~SettingsDialog();
4646

47-
/**
48-
* @brief Save all values to QSettings
49-
*
47+
/**
48+
* @brief Save all values to QSettings
49+
*
5050
*/
5151
void SaveCheckboxValues();
5252

5353
protected slots:
54-
/**
55-
* @brief Slot for clicking OK.
56-
*
54+
/**
55+
* @brief Slot for clicking OK.
56+
*
5757
*/
5858
void Ok();
5959

60-
/**
61-
* @brief Slot for adding a new application to the list
62-
*
60+
/**
61+
* @brief Slot for adding a new application to the list
62+
*
6363
*/
6464
void AddApplication();
6565

@@ -82,9 +82,9 @@ protected slots:
8282
void DefaultApplication();
8383
protected:
8484

85-
/**
86-
* @brief Clear all applications from the list and re insert them from mTempApplications
87-
*
85+
/**
86+
* @brief Clear all applications from the list and re insert them from mTempApplications
87+
*
8888
*/
8989
void PopulateListWidget();
9090

@@ -152,9 +152,9 @@ protected slots:
152152
*/
153153
QCheckBox *mForce;
154154

155-
/**
156-
* @brief List of all applications that can be started when right clicking
157-
* an error
155+
/**
156+
* @brief List of all applications that can be started when right clicking
157+
* an error
158158
*/
159159
QListWidget *mListWidget;
160160

@@ -165,16 +165,16 @@ protected slots:
165165
*/
166166
QSettings &mSettings;
167167

168-
/**
169-
* @brief List of applications user has specified
170-
*
168+
/**
169+
* @brief List of applications user has specified
170+
*
171171
*/
172172
ApplicationList &mApplications;
173173

174-
/**
175-
* @brief Temporary list of applications
174+
/**
175+
* @brief Temporary list of applications
176176
* This will be copied to actual list of applications (mApplications)
177-
* when user clicks ok.
177+
* when user clicks ok.
178178
*/
179179
ApplicationList mTempApplications;
180180
private:

0 commit comments

Comments
 (0)