Changeset View
Changeset View
Standalone View
Standalone View
icons/IconMode.cpp
Show First 20 Lines • Show All 55 Lines • ▼ Show 20 Line(s) | 55 | IconMode::IconMode( QObject *parent, const QVariantList& ) | |||
---|---|---|---|---|---|
56 | : BaseMode( parent ) | 56 | : BaseMode( parent ) | ||
57 | , d( new Private() ) | 57 | , d( new Private() ) | ||
58 | { | 58 | { | ||
59 | d->aboutIcon = new KAboutData( QStringLiteral("IconView"), i18n( "Icon View" ), | 59 | d->aboutIcon = new KAboutData( QStringLiteral("IconView"), i18n( "Icon View" ), | ||
60 | QStringLiteral("1.0"), i18n( "Provides a categorized icons view of control modules." ), | 60 | QStringLiteral("1.0"), i18n( "Provides a categorized icons view of control modules." ), | ||
61 | KAboutLicense::GPL, i18n( "(c) 2009, Ben Cooksley" ) ); | 61 | KAboutLicense::GPL, i18n( "(c) 2009, Ben Cooksley" ) ); | ||
62 | d->aboutIcon->addAuthor( i18n( "Ben Cooksley" ), i18n( "Author" ), QStringLiteral("bcooksley@kde.org") ); | 62 | d->aboutIcon->addAuthor( i18n( "Ben Cooksley" ), i18n( "Author" ), QStringLiteral("bcooksley@kde.org") ); | ||
63 | d->aboutIcon->addAuthor( i18n( "Mathias Soeken" ), i18n( "Developer" ), QStringLiteral("msoeken@informatik.uni-bremen.de") ); | 63 | d->aboutIcon->addAuthor( i18n( "Mathias Soeken" ), i18n( "Developer" ), QStringLiteral("msoeken@informatik.uni-bremen.de") ); | ||
64 | d->aboutIcon->setProgramIconName( QStringLiteral("view-list-icons") ); | | |||
65 | 64 | | |||
66 | d->backAction = KStandardAction::back( this, SLOT(backToOverview()), this ); | 65 | d->backAction = KStandardAction::back( this, SLOT(backToOverview()), this ); | ||
67 | d->backAction->setText( i18n( "All Settings" ) ); | 66 | d->backAction->setText( i18n( "All Settings" ) ); | ||
68 | d->backAction->setToolTip( i18n("Keyboard Shortcut: %1", d->backAction->shortcut().toString( QKeySequence::NativeText )) ); | 67 | d->backAction->setToolTip( i18n("Keyboard Shortcut: %1", d->backAction->shortcut().toString( QKeySequence::NativeText )) ); | ||
69 | d->backAction->setEnabled( false ); | 68 | d->backAction->setEnabled( false ); | ||
70 | actionsList() << d->backAction; | 69 | actionsList() << d->backAction; | ||
71 | } | 70 | } | ||
72 | 71 | | |||
▲ Show 20 Lines • Show All 139 Lines • Show Last 20 Lines |