File: main.cpp

package info (click to toggle)
lxqt-config 0.14.1-2
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 3,996 kB
  • sloc: cpp: 11,275; makefile: 13; sh: 4
file content (44 lines) | stat: -rw-r--r-- 1,233 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
/* coded by Ketmar // Vampire Avalon (psyc://ketmar.no-ip.org/~Ketmar)
 * (c)DWTFYW
 *
 * This program is free software. It comes without any warranty, to
 * the extent permitted by applicable law. You can redistribute it
 * and/or modify it under the terms of the Do What The Fuck You Want
 * To Public License, Version 2, as published by Sam Hocevar. See
 * http://sam.zoy.org/wtfpl/COPYING for more details.
 */
//#include <QtCore>
#include <QDebug>

#include <XdgIcon>
#include <LXQt/Settings>
#include "main.h"
#include "lxqttranslate.h"

#include <LXQt/Application>
#include <QFile>
#include <QImage>
#include <QString>
#include <QStringList>
#include <QTextCodec>
#include <QTextStream>


///////////////////////////////////////////////////////////////////////////////
int main (int argc, char *argv[])
{
    //QTextCodec::setCodecForCStrings(QTextCodec::codecForName("koi8-r"));
    //QTextCodec::setCodecForLocale(QTextCodec::codecForName("koi8-r"));

    LXQt::Application app(argc, argv);
    app.setAttribute(Qt::AA_UseHighDpiPixmaps, true);

    TRANSLATE_APP;

    //qDebug() << findDefaultTheme() << getCurrentTheme();

    SelectWnd *sw = new SelectWnd;
    sw->show();
    sw->setCurrent();
    return app.exec();
}