kwin/kcmkwin/kwincompositing/main.cpp
Antonis Tsiapaliokas a336e51867 Add missing i18n
2014-04-03 07:23:14 +02:00

54 lines
2.3 KiB
C++

/**************************************************************************
* KWin - the KDE window manager *
* This file is part of the KDE project. *
* *
* Copyright (C) 2013 Antonis Tsiapaliokas <kok3rs@gmail.com> *
* *
* This program is free software; you can redistribute it and/or modify *
* it under the terms of the GNU General Public License as published by *
* the Free Software Foundation; either version 2 of the License, or *
* (at your option) any later version. *
* *
* This program is distributed in the hope that it will be useful, *
* but WITHOUT ANY WARRANTY; without even the implied warranty of *
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
* GNU General Public License for more details. *
* *
* You should have received a copy of the GNU General Public License *
* along with this program. If not, see <http://www.gnu.org/licenses/>. *
**************************************************************************/
#include "model.h"
#include <QApplication>
#include <KAboutData>
#include <klocalizedstring.h>
#include <kdeclarative/kdeclarative.h>
#include <QStandardPaths>
int main(int argc, char *argv[])
{
KAboutData aboutData("kwincompositing", 0, i18n("KWinCompositing"),
"1.0", i18n("KWin Compositing"),
KAboutData::License_GPL,
i18n("Copyright 2013 KWin Development Team"),
"", "", "kwin@kde.org");
aboutData.addAuthor(i18n("Antonis Tsiapaliokas"),
i18n("Author and maintainer"),
"kok3rs@gmail.com");
QApplication app(argc, argv);
KDeclarative kdeclarative;
KWin::Compositing::EffectView *view = new KWin::Compositing::EffectView();
kdeclarative.setDeclarativeEngine(view->engine());
kdeclarative.setupBindings();
view->show();
return app.exec();
}