]>
cloud.milkyroute.net Git - dolphin.git/blob - src/main.cpp
1 /***************************************************************************
2 * Copyright (C) 2006 by Peter Penz <peter.penz@gmx.at> *
3 * Copyright (C) 2006 by Stefan Monov <logixoul@gmail.com> *
5 * This program is free software; you can redistribute it and/or modify *
6 * it under the terms of the GNU General Public License as published by *
7 * the Free Software Foundation; either version 2 of the License, or *
8 * (at your option) any later version. *
10 * This program is distributed in the hope that it will be useful, *
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of *
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
13 * GNU General Public License for more details. *
15 * You should have received a copy of the GNU General Public License *
16 * along with this program; if not, write to the *
17 * Free Software Foundation, Inc., *
18 * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA *
19 ***************************************************************************/
21 #include "dolphinapplication.h"
23 #include <kaboutdata.h>
24 #include <kcmdlineargs.h>
27 int main(int argc
, char **argv
)
29 KAboutData
about("dolphin", 0,
30 ki18nc("@title", "Dolphin"),
32 ki18nc("@title", "File Manager"),
33 KAboutData::License_GPL
,
34 ki18nc("@info:credit", "(C) 2006 Peter Penz"));
35 about
.setHomepage("http://enzosworld.gmxhome.de");
36 about
.setBugAddress("peter.penz@gmx.at");
37 about
.addAuthor(ki18nc("@info:credit", "Peter Penz"),
38 ki18nc("@info:credit", "Maintainer and developer"),
40 about
.addAuthor(ki18nc("@info:credit", "Cvetoslav Ludmiloff"),
41 ki18nc("@info:credit", "Developer"),
42 "ludmiloff@gmail.com");
43 about
.addAuthor(ki18nc("@info:credit", "Stefan Monov"),
44 ki18nc("@info:credit", "Developer"),
45 "logixoul@gmail.com");
46 about
.addAuthor(ki18nc("@info:credit", "Michael Austin"),
47 ki18nc("@info:credit", "Documentation"),
48 "tuxedup@users.sourceforge.net");
49 about
.addAuthor(ki18nc("@info:credit", "Orville Bennett"),
50 ki18nc("@info:credit", "Documentation"), "obennett@hartford.edu");
51 about
.addCredit(ki18nc("@info:credit", "Aaron J. Seigo"),
52 ki18nc("@info:credit", "... for the great support and the amazing patches"));
53 about
.addCredit(ki18nc("@info:credit", "Patrice Tremblay and Gregor Kalisnik"),
54 ki18nc("@info:credit", "... for their patches"));
55 about
.addCredit(ki18nc("@info:credit", "Ain, Itai, Ivan, Stephane, Patrice, Piotr and Stefano"),
56 ki18nc("@info:credit", "... for their translations"));
58 KCmdLineArgs::init(argc
, argv
, &about
);
60 KCmdLineOptions options
;
61 options
.add("+[Url]", ki18nc("@info:shell", "Document to open"));
62 KCmdLineArgs::addCmdLineOptions(options
);
64 if (!DolphinApplication::start()) {
68 DolphinApplication app
;
70 #warning TODO, SessionManagement
73 if (false /* KDE4-TODO: app.isSessionRestored() */) {
75 while (KMainWindow::canBeRestored(n
)) {
76 Dolphin::mainWin().restore(n
);