1
/* BEGIN_COMMON_COPYRIGHT_HEADER
4
* LXDE-Qt - a lightweight, Qt based, desktop toolset
7
* Copyright: 2012 Razor team
9
* Petr Vanek <petr@scribus.info>
11
* This program or library is free software; you can redistribute it
12
* and/or modify it under the terms of the GNU Lesser General Public
13
* License as published by the Free Software Foundation; either
14
* version 2.1 of the License, or (at your option) any later version.
16
* This library is distributed in the hope that it will be useful,
17
* but WITHOUT ANY WARRANTY; without even the implied warranty of
18
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
19
* Lesser General Public License for more details.
21
* You should have received a copy of the GNU Lesser General
22
* Public License along with this library; if not, write to the
23
* Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
24
* Boston, MA 02110-1301 USA
26
* END_COMMON_COPYRIGHT_HEADER */
28
#include <LXQt/Application>
29
#include "mainwindow.h"
32
int main(int argc, char *argv[])
34
LxQt::Application a(argc, argv);
36
// TODO/FIXME: maybe a better algorithm?
38
if (a.arguments().count() < 2)
39
prompt = QObject::tr("unknown request");
41
prompt = a.arguments().at(a.arguments().count()-1);