| 1 | #cxx . . $ `<file>/main.cpp`/include <QtGui> |
| 2 | #include <QTranslator> |
| 3 | |
| 4 | #include "ipQalc.h"cxx . . $ `<file>/ipQalc.h`/ |
| 5 | |
| 6 | int maincxx . . $ main(afcd3168fc1188a4).(int argc, char *argv[]){ |
| 7 | QApplicationcxx . . $ QApplication# appcxx . . $ QApplication#QApplication(6e9b1c7df49e191d).(argc, argv); |
| 8 | |
| 9 | QApplicationcxx . . $ QApplication#::setApplicationNamecxx . . $ QCoreApplication#setApplicationName(3520e46b33348bf6).("IpQalc"cxx . . $ QString#QString(85c52e162fed56f9).); |
| 10 | QApplicationcxx . . $ QApplication#::setApplicationVersioncxx . . $ QCoreApplication#setApplicationVersion(3520e46b33348bf6).(VERSIONcxx . . $ `ipQalc.h:9:9`!); |
| 11 | QApplicationcxx . . $ QApplication#::setOrganizationDomaincxx . . $ QCoreApplication#setOrganizationDomain(3520e46b33348bf6).("dansoft.ru"cxx . . $ QString#QString(85c52e162fed56f9).); |
| 12 | |
| 13 | QCommandLineParsercxx . . $ QCommandLineParser# parsercxx . . $ QCommandLineParser#QCommandLineParser(49f6e7a06ebc5aa8).; |
| 14 | parser.setApplicationDescriptioncxx . . $ QCommandLineParser#setApplicationDescription(3520e46b33348bf6).(QApplicationcxx . . $ QApplication#::trcxx . . $ QApplication#tr(75d9f1c324b4579d).("Small utility for IP address calculations including broadcast and network addresses as well as Cisco wildcard mask")); |
| 15 | parser.addVersionOptioncxx . . $ QCommandLineParser#addVersionOption(cd8590dcf46f7865).(); |
| 16 | parser.processcxx . . $ QCommandLineParser#process(b8a59b8a0e185f8a).(app); |
| 17 | |
| 18 | QTranslatorcxx . . $ QTranslator# translatorcxx . . $ QTranslator#QTranslator(749de1b6ae65bddd).; |
| 19 | |
| 20 | QStringcxx . . $ QString# locale = QLocalecxx . . $ QString#QString(e1217c004a86c950).::systemcxx . . $ QLocale#system(7171962d3a2fd395).().namecxx . . $ QLocale#name(6ef7b6c27b00b43d).(); |
| 21 | |
| 22 | if (translator.loadcxx . . $ QTranslator#load(142924642d8b819d).(QStringcxx . . $ QString#QString(85c52e162fed56f9).("ipqalc_") +cxx . . $ operator+(fab9b4f80031f353). locale)==false){ |
| 23 | translator.loadcxx . . $ QTranslator#load(142924642d8b819d).(QStringcxx . . $ QString#QString(85c52e162fed56f9).("/usr/share/ipqalc/langs/ipqalc_") +cxx . . $ operator+(fab9b4f80031f353). locale); |
| 24 | } |
| 25 | app.installTranslatorcxx . . $ QCoreApplication#installTranslator(d376406de50edad7).(&translator); |
| 26 | |
| 27 | |
| 28 | ipQalccxx . . $ ipQalc# form1cxx . . $ ipQalc#ipQalc(108f35f7aa7f3cf9).; |
| 29 | form1.showcxx . . $ QWidget#show(49f6e7a06ebc5aa8).(); |
| 30 | |
| 31 | return app.execcxx . . $ QApplication#exec(b126dc7c1de90089).(); |
| 32 | |
| 33 | } |