Skip to content

Commit 6883978

Browse files
committed
Added more classes from QTGZManager.
1 parent 2533248 commit 6883978

12 files changed

+2828
-8
lines changed

LICENSE

+340
Large diffs are not rendered by default.

octopi.pro

+10-2
Original file line numberDiff line numberDiff line change
@@ -22,15 +22,23 @@ HEADERS += src/QtSolutions/qtsingleapplication.h \
2222
src/searchlineedit.h \
2323
src/argumentlist.h \
2424
src/settingsmanager.h \
25-
src/uihelper.h
25+
src/uihelper.h \
26+
src/package.h \
27+
src/packagecontroller.h \
28+
src/unixcommand.h \
29+
src/wmhelper.h
2630

2731
SOURCES += src/QtSolutions/qtsingleapplication.cpp \
2832
src/QtSolutions/qtlocalpeer.cpp \
2933
src/main.cpp\
3034
src/mainwindow.cpp \
3135
src/searchlineedit.cpp \
3236
src/argumentlist.cpp \
33-
src/settingsmanager.cpp
37+
src/settingsmanager.cpp \
38+
src/package.cpp \
39+
src/packagecontroller.cpp \
40+
src/unixcommand.cpp \
41+
src/wmhelper.cpp
3442

3543
FORMS += ui/mainwindow.ui
3644

src/argumentlist.cpp

+2-3
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,16 @@
11
#include <QCoreApplication>
22
#include "argumentlist.h"
33
//#include <QDebug>
4+
45
/**
56
Obtain the command line arguments from the currently
67
running QApplication */
78

89
ArgumentList::ArgumentList() {
9-
if (qApp != NULL) /* a global pointer to the current
10-
qApplication */
10+
if (qApp != NULL) /* a global pointer to the current qApplication */
1111
*this = qApp->arguments();
1212
}
1313

14-
1514
void ArgumentList::argsToStringlist(int argc, char * argv []) {
1615
for (int i=0; i < argc; ++i) {
1716
*this += argv[i];

0 commit comments

Comments
 (0)