Changeset View
Changeset View
Standalone View
Standalone View
src/Main.cpp
Show All 11 Lines | |||||
12 | * GNU General Public License for more details. | 12 | * GNU General Public License for more details. | ||
13 | * | 13 | * | ||
14 | * You should have received a copy of the GNU Lesser General Public License | 14 | * You should have received a copy of the GNU Lesser General Public License | ||
15 | * along with this program; if not, write to the Free Software | 15 | * along with this program; if not, write to the Free Software | ||
16 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, | 16 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, | ||
17 | * Boston, MA 02110-1301, USA. | 17 | * Boston, MA 02110-1301, USA. | ||
18 | */ | 18 | */ | ||
19 | 19 | | |||
20 | #include <QApplication> | 20 | #include "Config.h" | ||
21 | #include <QIcon> | 21 | #include "SpectacleCore.h" | ||
22 | #include <QObject> | 22 | #include "SpectacleDBusAdapter.h" | ||
23 | #include <QString> | | |||
24 | #include <QCommandLineParser> | | |||
25 | #include <QDBusConnection> | | |||
26 | #include <QDebug> | | |||
27 | 23 | | |||
28 | #include <KAboutData> | 24 | #include <KAboutData> | ||
29 | #include <KLocalizedString> | | |||
30 | #include <KDBusService> | 25 | #include <KDBusService> | ||
26 | #include <KLocalizedString> | ||||
31 | 27 | | |||
32 | #include "SpectacleCore.h" | 28 | #include <QCommandLineParser> | ||
33 | #include "SpectacleDBusAdapter.h" | 29 | #include <QDBusConnection> | ||
34 | #include "ExportManager.h" | | |||
35 | #include "Config.h" | | |||
rkflx: Please keep this. | |||||
36 | 30 | | |||
37 | int main(int argc, char **argv) | 31 | int main(int argc, char **argv) | ||
38 | { | 32 | { | ||
39 | // set up the application | 33 | // set up the application | ||
40 | 34 | | |||
41 | QApplication app(argc, argv); | 35 | QApplication app(argc, argv); | ||
42 | 36 | | |||
43 | app.setAttribute(Qt::AA_DontCreateNativeWidgetSiblings, true); | 37 | app.setAttribute(Qt::AA_DontCreateNativeWidgetSiblings, true); | ||
▲ Show 20 Lines • Show All 118 Lines • Show Last 20 Lines |
Please keep this.