Changeset View
Changeset View
Standalone View
Standalone View
src/kdialog.cpp
Show All 17 Lines | |||||
18 | // You should have received a copy of the GNU General Public License | 18 | // You should have received a copy of the GNU General Public License | ||
19 | // along with this program; if not, write to the Free Software | 19 | // along with this program; if not, write to the Free Software | ||
20 | // Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. | 20 | // Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. | ||
21 | // | 21 | // | ||
22 | 22 | | |||
23 | #include "config-kdialog.h" | 23 | #include "config-kdialog.h" | ||
24 | #include "widgets.h" | 24 | #include "widgets.h" | ||
25 | #include "utils.h" | 25 | #include "utils.h" | ||
26 | #include "kdialog_version.h" | ||||
26 | 27 | | |||
27 | // KF | 28 | // KF | ||
28 | #include <KMessageBox> | 29 | #include <KMessageBox> | ||
29 | #include <KPassivePopup> | 30 | #include <KPassivePopup> | ||
30 | #include <KRecentDocument> | 31 | #include <KRecentDocument> | ||
31 | #include <KAboutData> | 32 | #include <KAboutData> | ||
32 | #include <KConfig> | 33 | #include <KConfig> | ||
33 | #include <KIconDialog> | 34 | #include <KIconDialog> | ||
▲ Show 20 Lines • Show All 222 Lines • ▼ Show 20 Line(s) | 249 | { | |||
256 | 257 | | |||
257 | QApplication app(argc, argv); | 258 | QApplication app(argc, argv); | ||
258 | KLocalizedString::setApplicationDomain("kdialog"); | 259 | KLocalizedString::setApplicationDomain("kdialog"); | ||
259 | 260 | | |||
260 | // enable high dpi support | 261 | // enable high dpi support | ||
261 | app.setAttribute(Qt::AA_UseHighDpiPixmaps, true); | 262 | app.setAttribute(Qt::AA_UseHighDpiPixmaps, true); | ||
262 | 263 | | |||
263 | KAboutData aboutData( QStringLiteral("kdialog"), i18n("KDialog"), | 264 | KAboutData aboutData( QStringLiteral("kdialog"), i18n("KDialog"), | ||
264 | QStringLiteral("2.0"), i18n( "KDialog can be used to show nice dialog boxes from shell scripts" ), | 265 | QStringLiteral(KDIALOG_VERSION_STRING), i18n( "KDialog can be used to show nice dialog boxes from shell scripts" ), | ||
265 | KAboutLicense::GPL, | 266 | KAboutLicense::GPL, | ||
266 | i18n("(C) 2000, Nick Thompson")); | 267 | i18n("(C) 2000, Nick Thompson")); | ||
267 | aboutData.addAuthor(i18n("David Faure"), i18n("Current maintainer"),QStringLiteral("faure@kde.org")); | 268 | aboutData.addAuthor(i18n("David Faure"), i18n("Current maintainer"),QStringLiteral("faure@kde.org")); | ||
268 | aboutData.addAuthor(i18n("Brad Hards"), QString(), QStringLiteral("bradh@frogmouth.net")); | 269 | aboutData.addAuthor(i18n("Brad Hards"), QString(), QStringLiteral("bradh@frogmouth.net")); | ||
269 | aboutData.addAuthor(i18n("Nick Thompson"),QString(), QString()/*"nickthompson@lucent.com" bounces*/); | 270 | aboutData.addAuthor(i18n("Nick Thompson"),QString(), QString()/*"nickthompson@lucent.com" bounces*/); | ||
270 | aboutData.addAuthor(i18n("Matthias Hölzer"),QString(),QStringLiteral("hoelzer@kde.org")); | 271 | aboutData.addAuthor(i18n("Matthias Hölzer"),QString(),QStringLiteral("hoelzer@kde.org")); | ||
271 | aboutData.addAuthor(i18n("David Gümbel"),QString(),QStringLiteral("david.guembel@gmx.net")); | 272 | aboutData.addAuthor(i18n("David Gümbel"),QString(),QStringLiteral("david.guembel@gmx.net")); | ||
272 | aboutData.addAuthor(i18n("Richard Moore"),QString(),QStringLiteral("rich@kde.org")); | 273 | aboutData.addAuthor(i18n("Richard Moore"),QString(),QStringLiteral("rich@kde.org")); | ||
▲ Show 20 Lines • Show All 753 Lines • Show Last 20 Lines |