Commit 827240bf authored by Laurent Montel's avatar Laurent Montel 😁

Compile++

svn path=/trunk/KDE/kdemultimedia/juk/; revision=584700
parent b7aab533
......@@ -177,7 +177,7 @@ void JuK::setupActions()
KToggleAction *resizeColumnAction =
new KToggleAction(i18n("&Resize Playlist Columns Manually"),
collection, "resizeColumnsManually");
resizeColumnAction->setCheckedState(i18n("&Resize Column Headers Automatically"));
resizeColumnAction->setCheckedState(KGuiItem(i18n("&Resize Column Headers Automatically")));
// the following are not visible by default
......@@ -209,7 +209,7 @@ void JuK::setupActions()
m_toggleSplashAction =
new KToggleAction(i18n("Show Splash Screen on Startup"),
collection, "showSplashScreen");
m_toggleSplashAction->setCheckedState(i18n("Hide Splash Screen on Startup"));
m_toggleSplashAction->setCheckedState(KGuiItem(i18n("Hide Splash Screen on Startup")));
m_toggleSystemTrayAction =
new KToggleAction(i18n("&Dock in System Tray"),
collection, "toggleSystemTray");
......
......@@ -250,8 +250,8 @@ K3bExporter::K3bOpenMode K3bExporter::openMode()
"mode CD suitable for computers and other digital music "
"players?"),
i18n("Create K3b Project"),
i18n("Audio Mode"),
i18n("Data Mode")
KGuiItem(i18n("Audio Mode")),
KGuiItem(i18n("Data Mode"))
);
switch(reply) {
......
......@@ -815,7 +815,7 @@ void Playlist::slotRemoveCover()
int button = KMessageBox::warningContinueCancel(this,
i18n("Are you sure you want to delete these covers?"),
QString::null,
i18n("&Delete Covers"));
KGuiItem(i18n("&Delete Covers")));
if(button == KMessageBox::Continue)
refreshAlbums(items);
}
......@@ -2245,7 +2245,7 @@ void Playlist::slotInlineEditDone(Q3ListViewItem *, const QString &, int column)
0,
i18n("This will edit multiple files. Are you sure?"),
QString::null,
i18n("Edit"),
KGuiItem(i18n("Edit")),
"DontWarnMultipleTags") == KMessageBox::Cancel))
{
return;
......
......@@ -304,7 +304,7 @@ void PlaylistBox::remove()
if(!files.isEmpty()) {
int remove = KMessageBox::warningYesNoCancelList(
this, i18n("Do you want to delete these files from the disk as well?"), files, QString::null, KStdGuiItem::del(), i18n("Keep"));
this, i18n("Do you want to delete these files from the disk as well?"), files, QString::null, KStdGuiItem::del(), KGuiItem(i18n("Keep")));
if(remove == KMessageBox::Yes) {
QStringList couldNotDelete;
......
......@@ -903,11 +903,11 @@ PlaylistCollection::ActionHandler::ActionHandler(PlaylistCollection *collection)
KToggleAction *historyAction =
new KToggleAction(KIcon("history"), i18n("Show &History"), actions(), "showHistory");
historyAction->setCheckedState(i18n("Hide &History"));
historyAction->setCheckedState(KGuiItem(i18n("Hide &History")));
KToggleAction *upcomingAction =
new KToggleAction(KIcon("today"), i18n("Show &Play Queue"), actions(), "showUpcoming");
upcomingAction->setCheckedState(i18n("Hide &Play Queue"));
upcomingAction->setCheckedState(KGuiItem(i18n("Hide &Play Queue")));
connect(action<KToggleAction>("showHistory"), SIGNAL(toggled(bool)),
this, SLOT(slotSetHistoryPlaylistEnabled(bool)));
......
......@@ -122,7 +122,7 @@ void PlaylistSplitter::setupActions()
{
KToggleAction *showSearch =
new KToggleAction(KIcon("filefind"), i18n("Show &Search Bar"), ActionCollection::actions(), "showSearch");
showSearch->setCheckedState(i18n("Hide &Search Bar"));
showSearch->setCheckedState(KGuiItem(i18n("Hide &Search Bar")));
KAction *act = new KAction(KIcon("edit_clear"), i18n("Edit Track Search"), ActionCollection::actions(), "editTrackSearch");
act->setShortcut(Qt::Key_F6);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment