Bring stop, lock, exit, and run icons into XDG compliance

pull/16/head
Timothy Pearson 10 years ago
parent af586d3223
commit d2ac3c6183

Before

Width:  |  Height:  |  Size: 907 B

After

Width:  |  Height:  |  Size: 907 B

Before

Width:  |  Height:  |  Size: 759 B

After

Width:  |  Height:  |  Size: 759 B

Before

Width:  |  Height:  |  Size: 830 B

After

Width:  |  Height:  |  Size: 830 B

Before

Width:  |  Height:  |  Size: 1.1 KiB

After

Width:  |  Height:  |  Size: 1.1 KiB

Before

Width:  |  Height:  |  Size: 1.3 KiB

After

Width:  |  Height:  |  Size: 1.3 KiB

Before

Width:  |  Height:  |  Size: 1.1 KiB

After

Width:  |  Height:  |  Size: 1.1 KiB

Before

Width:  |  Height:  |  Size: 1.2 KiB

After

Width:  |  Height:  |  Size: 1.2 KiB

Before

Width:  |  Height:  |  Size: 1.3 KiB

After

Width:  |  Height:  |  Size: 1.3 KiB

Before

Width:  |  Height:  |  Size: 1.6 KiB

After

Width:  |  Height:  |  Size: 1.6 KiB

Before

Width:  |  Height:  |  Size: 1.6 KiB

After

Width:  |  Height:  |  Size: 1.6 KiB

Before

Width:  |  Height:  |  Size: 1.9 KiB

After

Width:  |  Height:  |  Size: 1.9 KiB

Before

Width:  |  Height:  |  Size: 2.3 KiB

After

Width:  |  Height:  |  Size: 2.3 KiB

Before

Width:  |  Height:  |  Size: 3.4 KiB

After

Width:  |  Height:  |  Size: 3.4 KiB

Before

Width:  |  Height:  |  Size: 2.7 KiB

After

Width:  |  Height:  |  Size: 2.7 KiB

Before

Width:  |  Height:  |  Size: 3.0 KiB

After

Width:  |  Height:  |  Size: 3.0 KiB

@ -81,7 +81,7 @@ SourceDisplay::SourceDisplay(KJSDebugWin *debugWin, TQWidget *parent, const char
{
verticalScrollBar()->setLineStep(TQFontMetrics(m_font).height());
viewport()->setBackgroundMode(TQt::NoBackground);
m_breakpointIcon = TDEGlobal::iconLoader()->loadIcon("stop",TDEIcon::Small);
m_breakpointIcon = TDEGlobal::iconLoader()->loadIcon("process-stop",TDEIcon::Small);
}
SourceDisplay::~SourceDisplay()
@ -361,7 +361,7 @@ KJSDebugWin::KJSDebugWin(TQWidget *parent, const char *name)
m_execsAlloc = 0;
m_steppingDepth = 0;
m_stopIcon = TDEGlobal::iconLoader()->loadIcon("stop",TDEIcon::Small);
m_stopIcon = TDEGlobal::iconLoader()->loadIcon("process-stop",TDEIcon::Small);
m_emptyIcon = TQPixmap(m_stopIcon.width(),m_stopIcon.height());
TQBitmap emptyMask(m_stopIcon.width(),m_stopIcon.height(),true);
m_emptyIcon.setMask(emptyMask);
@ -454,7 +454,7 @@ KJSDebugWin::KJSDebugWin(TQWidget *parent, const char *name)
scCont.append(KKeySequence(KKey(Qt::Key_F9)));
m_continueAction = new TDEAction(i18n("&Continue"),"dbgrun",scCont,TQT_TQOBJECT(this),TQT_SLOT(slotContinue()),
m_actionCollection,"cont");
m_stopAction = new TDEAction(i18n("St&op"),"stop",TDEShortcut(Qt::Key_F4),TQT_TQOBJECT(this),TQT_SLOT(slotStop()),
m_stopAction = new TDEAction(i18n("St&op"),"process-stop",TDEShortcut(Qt::Key_F4),TQT_TQOBJECT(this),TQT_SLOT(slotStop()),
m_actionCollection,"stop");
m_breakAction = new TDEAction(i18n("&Break at Next Statement"),"dbgrunto",TDEShortcut(Qt::Key_F8),TQT_TQOBJECT(this),TQT_SLOT(slotBreakNext()),
m_actionCollection,"breaknext");

@ -41,7 +41,7 @@ Shell::Shell()
m_paCloseEditor = new TDEAction( "&Close file editor", 0, this, TQT_SLOT( slotFileCloseEditor() ), coll, "close_editor" );
m_paCloseEditor->setEnabled(false);
TDEAction * paQuit = new TDEAction( "&Quit", 0, this, TQT_SLOT( close() ), coll, "shell_quit" );
paQuit->setIconSet(TQIconSet(BarIcon("exit")));
paQuit->setIconSet(TQIconSet(BarIcon("system-log-out")));
(void)new TDEAction( "Yet another menu item", 0, coll, "shell_yami" );
(void)new TDEAction( "Yet another submenu item", 0, coll, "shell_yasmi" );

@ -23,7 +23,7 @@ Shell::Shell()
TDEAction * paOpen = new TDEAction( "&Open file" , "fileopen", 0, this,
TQT_SLOT( slotFileOpen() ), actionCollection(), "file_open" );
TDEAction * paQuit = new TDEAction( "&Quit" , "exit", 0, this, TQT_SLOT( close() ), actionCollection(), "file_quit" );
TDEAction * paQuit = new TDEAction( "&Quit" , "system-log-out", 0, this, TQT_SLOT( close() ), actionCollection(), "file_quit" );
// Try to find a postscript component first
TDETrader::OfferList offers = TDETrader::self()->query("application/postscript", "('KParts/ReadOnlyPart' in ServiceTypes) or ('Browser/View' in ServiceTypes)");

@ -44,7 +44,7 @@ Shell::Shell()
m_paCloseEditor->plug( pFile );
TDEAction * paQuit = new TDEAction( "&Quit", 0, this, TQT_SLOT( close() ), coll, "shell_quit" );
paQuit->setIconSet(TQIconSet(BarIcon("exit")));
paQuit->setIconSet(TQIconSet(BarIcon("system-log-out")));
paQuit->plug( pFile );
setCentralWidget( m_splitter );

@ -56,7 +56,7 @@ KMPropQuota::KMPropQuota(TQWidget *parent, const char *name)
m_title = i18n("Quotas");
m_header = i18n("Quota Settings");
m_pixmap = "lock";
m_pixmap = "system-lock-screen";
}
KMPropQuota::~KMPropQuota()

@ -158,7 +158,7 @@ KPrintPreview::KPrintPreview(TQWidget *parent, bool previewOnly)
else
{
new TDEAction(i18n("Print"), "fileprint", Qt::Key_Return, TQT_TQOBJECT(this), TQT_SLOT(accept()), d->actions_, "continue_print");
new TDEAction(i18n("Cancel"), "stop", Qt::Key_Escape, TQT_TQOBJECT(this), TQT_SLOT(reject()), d->actions_, "stop_print");
new TDEAction(i18n("Cancel"), "process-stop", Qt::Key_Escape, TQT_TQOBJECT(this), TQT_SLOT(reject()), d->actions_, "stop_print");
}
}

@ -259,8 +259,8 @@ void KMJobViewer::init()
void KMJobViewer::initActions()
{
// job actions
TDEAction *hact = new TDEAction(i18n("&Hold"),"stop",0,TQT_TQOBJECT(this),TQT_SLOT(slotHold()),actionCollection(),"job_hold");
TDEAction *ract = new TDEAction(i18n("&Resume"),"run",0,TQT_TQOBJECT(this),TQT_SLOT(slotResume()),actionCollection(),"job_resume");
TDEAction *hact = new TDEAction(i18n("&Hold"),"process-stop",0,TQT_TQOBJECT(this),TQT_SLOT(slotHold()),actionCollection(),"job_hold");
TDEAction *ract = new TDEAction(i18n("&Resume"),"system-run",0,TQT_TQOBJECT(this),TQT_SLOT(slotResume()),actionCollection(),"job_resume");
TDEAction *dact = new TDEAction(i18n("Remo&ve"),"edittrash",Qt::Key_Delete,TQT_TQOBJECT(this),TQT_SLOT(slotRemove()),actionCollection(),"job_remove");
TDEAction *sact = new TDEAction(i18n("Res&tart"),"redo",0,TQT_TQOBJECT(this),TQT_SLOT(slotRestart()),actionCollection(),"job_restart");
TDEActionMenu *mact = new TDEActionMenu(i18n("&Move to Printer"),"fileprint",actionCollection(),"job_move");

@ -39,7 +39,7 @@ KMWSmb::KMWSmb(TQWidget *parent, const char *name)
m_view = new SmbView(this,"SmbView");
m_loginlabel = new TQLabel( this );
TQPushButton *m_scan = new KPushButton(KGuiItem(i18n("Scan"), "viewmag"), this);
TQPushButton *m_abort = new KPushButton(KGuiItem(i18n("Abort"), "stop"), this);
TQPushButton *m_abort = new KPushButton(KGuiItem(i18n("Abort"), "process-stop"), this);
m_abort->setEnabled(false);
TQLabel *m_worklabel = new TQLabel(i18n("Workgroup:"), this);
TQLabel *m_serverlabel = new TQLabel(i18n("Server:"), this);

@ -146,7 +146,7 @@ void NetworkScanner::start()
d->printers.clear();
emit scanStarted();
d->settings->setEnabled( false );
d->scan->setGuiItem( KGuiItem( i18n( "&Abort" ), "stop" ) );
d->scan->setGuiItem( KGuiItem( i18n( "&Abort" ), "process-stop" ) );
d->currentaddress = -1;
d->scanning = true;
next();

@ -413,7 +413,7 @@ KDE_EXPORT TQPixmap RandRScreen::rotationIcon(int rotation) const
case RR_Reflect_X:
case RR_Reflect_Y:
default:
return SmallIcon("stop");
return SmallIcon("process-stop");
}
}

@ -229,7 +229,7 @@ KGuiItem KStdGuiItem::open()
KGuiItem KStdGuiItem::quit()
{
return KGuiItem( i18n( "&Quit" ), "exit",
return KGuiItem( i18n( "&Quit" ), "system-log-out",
i18n( "Quit application" ) );
}
@ -256,7 +256,7 @@ KGuiItem KStdGuiItem::find()
KGuiItem KStdGuiItem::stop()
{
return KGuiItem(i18n("Stop"), "stop");
return KGuiItem(i18n("Stop"), "process-stop");
}
KGuiItem KStdGuiItem::add()

@ -147,7 +147,7 @@ setAutoSaveSettings();
tb->setItemAutoSized (5);
// Now add another button and align it right
pix = BarIcon("exit");
pix = BarIcon("system-log-out");
tb->insertButton(pix, 6, TQT_SIGNAL(clicked()), TDEApplication::kApplication(),
TQT_SLOT( quit() ), true, "Exit");
tb->alignItemRight (6);
@ -407,7 +407,7 @@ void testWindow::slotExit ()
else
{
TQPixmap pix;
pix = BarIcon("exit");
pix = BarIcon("system-log-out");
tb->insertButton(pix, 6, TQT_SIGNAL(clicked()), TDEApplication::kApplication(),
TQT_SLOT( quit() ), true, "Exit");
tb->alignItemRight (6);

Loading…
Cancel
Save