Skip to content

Commit 8d9cbe9

Browse files
committed
Matched more file names to class names they contain.
1 parent 50b0f0a commit 8d9cbe9

File tree

10 files changed

+13
-22
lines changed

10 files changed

+13
-22
lines changed

src/propelleride/console.cpp renamed to src/propelleride/Console.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#include "console.h"
1+
#include "Console.h"
22
#include "Sleeper.h"
33

44
#include <QApplication>
File renamed without changes.

src/propelleride/PortListener.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
#include <QMutex>
88
#include <QByteArray>
99

10-
#include "console.h"
10+
#include "Console.h"
1111
#include "StatusDialog.h"
1212
#include "qext/qextserialport.h"
1313

src/propelleride/termprefs.cpp renamed to src/propelleride/TermPrefs.cpp

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
1-
#include "termprefs.h"
1+
#include "TermPrefs.h"
22
#include "Preferences.h"
33
#include "ui_TermPrefs.h"
4-
#include "console.h"
54

65
TermPrefs::TermPrefs(Terminal *term) : ui(new Ui::TermPrefs)
76
{

src/propelleride/termprefs.h renamed to src/propelleride/TermPrefs.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@
33
class TermPrefs;
44

55
#include <QtGui>
6-
#include "terminal.h"
7-
#include "console.h"
6+
#include "Terminal.h"
7+
#include "Console.h"
88
#include "Preferences.h"
99
#include "colors.h"
1010

src/propelleride/terminal.cpp renamed to src/propelleride/Terminal.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#include "terminal.h"
1+
#include "Terminal.h"
22

33
#include <QApplication>
44
#include <QDialog>

src/propelleride/terminal.h renamed to src/propelleride/Terminal.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,9 @@ class Terminal;
1111
#include <QLabel>
1212
#include <QTabWidget>
1313

14-
#include "console.h"
14+
#include "Console.h"
1515
#include "PortListener.h"
16-
#include "termprefs.h"
16+
#include "TermPrefs.h"
1717

1818
class Terminal : public QDialog
1919
{

src/propelleride/mainwindow.cpp

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -255,11 +255,6 @@ void MainWindow::openLastFile()
255255
* ******************************************************************/
256256
}
257257

258-
void MainWindow::terminalEditorTextChanged()
259-
{
260-
QString text = termEditor->toPlainText();
261-
}
262-
263258
/*
264259
* get the application settings from the registry for compile/startup
265260
*/

src/propelleride/mainwindow.h

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,8 @@
1717

1818
#include "PortListener.h"
1919
#include "qext/qextserialport.h"
20-
#include "terminal.h"
20+
#include "Terminal.h"
2121
#include "Preferences.h"
22-
#include "console.h"
2322
#include "editor.h"
2423
#include "PortConnectionMonitor.h"
2524
#include "StatusDialog.h"
@@ -70,7 +69,6 @@ public slots:
7069
void updateBackgroundColors();
7170

7271
public slots:
73-
void terminalEditorTextChanged();
7472
void newFile();
7573
void newFileAction();
7674
void openFile(const QString &path = QString());
@@ -248,7 +246,6 @@ public slots:
248246
QComboBox *cbBoard;
249247
QComboBox *cbPort;
250248
QToolButton *btnConnected;
251-
Console *termEditor;
252249
PortListener *portListener;
253250
Terminal *term;
254251
int termXpos;

src/propelleride/propelleride.pro

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -35,8 +35,8 @@ SOURCES += main.cpp\
3535
editor.cpp \
3636
SpinHighlighter.cpp \
3737
SpinParser.cpp \
38-
terminal.cpp \
39-
console.cpp \
38+
Terminal.cpp \
39+
Console.cpp \
4040
termprefs.cpp
4141

4242
HEADERS += mainwindow.h \
@@ -54,8 +54,8 @@ HEADERS += mainwindow.h \
5454
SpinParser.h \
5555
colors.h \
5656
Sleeper.h \
57-
terminal.h \
58-
console.h \
57+
Terminal.h \
58+
Console.h \
5959
termprefs.h \
6060

6161
OTHER_FILES +=

0 commit comments

Comments
 (0)