Browse Source

Bring undo, redo, find, and revert icons into XDG compliance

Timothy Pearson 4 years ago
parent
commit
a19ce6ad34

+ 1
- 1
kappfinder/toplevel.cpp View File

@@ -77,7 +77,7 @@ TopLevel::TopLevel( const TQString &destDir, TQWidget *parent, const char *name
77 77
   layout->addWidget( mSummary );
78 78
 
79 79
   KButtonBox* bbox = new KButtonBox( this );
80
-  mScanButton = bbox->addButton( KGuiItem( i18n( "Scan" ), "find"), TQT_TQOBJECT(this), TQT_SLOT( slotScan() ) );
80
+  mScanButton = bbox->addButton( KGuiItem( i18n( "Scan" ), "edit-find"), TQT_TQOBJECT(this), TQT_SLOT( slotScan() ) );
81 81
   bbox->addStretch( 5 );
82 82
   mSelectButton = bbox->addButton( i18n( "Select All" ), TQT_TQOBJECT(this),
83 83
                                    TQT_SLOT( slotSelectAll() ) );

+ 2
- 2
kate/app/kategrepdialog.cpp View File

@@ -183,7 +183,7 @@ GrepTool::GrepTool(TQWidget *parent, const char *name)
183 183
   KButtonBox *actionbox = new KButtonBox(this, Qt::Vertical);
184 184
   layout->addWidget(actionbox, 0, 2);
185 185
   actionbox->addStretch();
186
-  btnSearch = static_cast<KPushButton*>(actionbox->addButton(KGuiItem(i18n("Find"),"find")));
186
+  btnSearch = static_cast<KPushButton*>(actionbox->addButton(KGuiItem(i18n("Find"),"edit-find")));
187 187
   btnSearch->setDefault(true);
188 188
   btnClear = static_cast<KPushButton*>(actionbox->addButton( KStdGuiItem::clear() ));
189 189
   actionbox->addStretch();
@@ -472,7 +472,7 @@ void GrepTool::childExited()
472 472
 //   int status = childproc->exitStatus();
473 473
   lbResult->unsetCursor();
474 474
   btnClear->setEnabled( true );
475
-  btnSearch->setGuiItem( KGuiItem(i18n("Find"), "find") );
475
+  btnSearch->setGuiItem( KGuiItem(i18n("Find"), "edit-find") );
476 476
 
477 477
   if ( ! errbuf.isEmpty() )
478 478
   {

+ 1
- 1
kcontrol/kcontrol/proxywidget.cpp View File

@@ -208,7 +208,7 @@ ProxyWidget::ProxyWidget(TDECModule *client, TQString title, const char *name,
208 208
   _handbook= new KPushButton( KGuiItem(KStdGuiItem::help().text(),"contents"), this );
209 209
   _default = new KPushButton( KStdGuiItem::defaults(), this );
210 210
   _apply =   new KPushButton( KStdGuiItem::apply(), this );
211
-  _reset =   new KPushButton( KGuiItem( i18n( "&Reset" ), "undo" ), this );
211
+  _reset =   new KPushButton( KGuiItem( i18n( "&Reset" ), "edit-undo" ), this );
212 212
   _root =    new KPushButton( KGuiItem(i18n( "&Administrator Mode" )), this );
213 213
 
214 214
   bool mayModify = (!run_as_root || !_client->useRootOnlyMsg()) && !KCGlobal::isInfoCenter();

+ 1
- 1
kfind/kfind.cpp View File

@@ -69,7 +69,7 @@ Kfind::Kfind(TQWidget *parent, const char *name)
69 69
   lay->addStretch(1);
70 70
   mTopLayout->addWidget(mButtonBox);
71 71
 
72
-  mSearch = new KPushButton( KGuiItem(i18n("&Find"), "find"), mButtonBox );
72
+  mSearch = new KPushButton( KGuiItem(i18n("&Find"), "edit-find"), mButtonBox );
73 73
   mButtonBox->setSpacing( (tabWidget->sizeHint().height()-4*mSearch->sizeHint().height()) / 4);
74 74
   connect( mSearch, TQT_SIGNAL(clicked()), this, TQT_SLOT( startSearch() ) );
75 75
   mStop = new KPushButton( KGuiItem(i18n("Stop"), "process-stop"), mButtonBox );

+ 1
- 1
kfind/kfinddlg.cpp View File

@@ -37,7 +37,7 @@ KfindDlg::KfindDlg(const KURL & url, TQWidget *parent, const char *name)
37 37
   enableButton(User1, false); // Disable "Stop"
38 38
   enableButton(User2, false); // Disable "Save As..."
39 39
 
40
-  setButtonApply(KGuiItem(i18n("&Find"), "find"));
40
+  setButtonApply(KGuiItem(i18n("&Find"), "edit-find"));
41 41
 
42 42
   isResultReported = false;
43 43
 

+ 4
- 4
kicker/kicker/ui/k_new_mnu.cpp View File

@@ -404,7 +404,7 @@ KMenu::KMenu()
404 404
     m_searchFrame->stackUnder( m_resizeHandle );
405 405
     m_isresizing = false;
406 406
 
407
-    m_searchPixmap->setPixmap( BarIcon( "find", 32 ) );
407
+    m_searchPixmap->setPixmap( BarIcon( "edit-find", 32 ) );
408 408
 
409 409
     TQFont f = font();
410 410
     f.setPointSize( kMax( 7, (f.pointSize() * 4 / 5 ) + KickerSettings::kickoffFontPointSizeOffset() ) );
@@ -1337,7 +1337,7 @@ void KMenu::insertStaticExitItems()
1337 1337
 
1338 1338
     m_exitView->leftView()->insertSeparator( nId++, i18n("Session"), index++ );
1339 1339
     if (kapp->authorize("logout"))
1340
-       m_exitView->leftView()->insertItem( "undo", i18n( "Logout" ),
1340
+       m_exitView->leftView()->insertItem( "edit-undo", i18n( "Logout" ),
1341 1341
                                    i18n( "End session" ), "kicker:/logout", nId++, index++ );
1342 1342
     if (kapp->authorize("lock_screen"))
1343 1343
        m_exitView->leftView()->insertItem( "system-lock-screen", i18n( "Lock" ),
@@ -2496,7 +2496,7 @@ void KMenu::doQuery (bool return_pressed)
2496 2496
 
2497 2497
     // start search plugin only with at least 3 characters
2498 2498
     if (query_str.length()<3 || !m_search_plugin || (m_search_plugin && !m_search_plugin->daemonRunning()) ) {
2499
-      m_searchPixmap->setPixmap( BarIcon( "find", 32 ) );
2499
+      m_searchPixmap->setPixmap( BarIcon( "edit-find", 32 ) );
2500 2500
       fillOverflowCategory();
2501 2501
       if (query_str.length()>2 && m_current_menu_items.isEmpty())
2502 2502
 	  reportError (i18n("No matches found"));
@@ -2568,7 +2568,7 @@ void KMenu::insertSearchResult(HitMenuItem* item)
2568 2568
 
2569 2569
 void KMenu::searchOver()
2570 2570
 {
2571
-    m_searchPixmap->setPixmap( BarIcon( "find", 32 ) );
2571
+    m_searchPixmap->setPixmap( BarIcon( "edit-find", 32 ) );
2572 2572
     fillOverflowCategory();
2573 2573
     if (m_current_menu_items.isEmpty()) {
2574 2574
         kdDebug() << "No matches found" << endl;

+ 1
- 1
konqueror/konq_extensionmanager.cc View File

@@ -41,7 +41,7 @@ public:
41 41
 
42 42
 KonqExtensionManager::KonqExtensionManager(TQWidget *parent, KonqMainWindow *mainWindow, KParts::ReadOnlyPart* activePart) :
43 43
   KDialogBase(Plain, i18n("Configure"), Default | Cancel | Apply | Ok | User1,
44
-              Ok, parent, "extensionmanager", false, true, KGuiItem(i18n("&Reset"), "undo"))
44
+              Ok, parent, "extensionmanager", false, true, KGuiItem(i18n("&Reset"), "edit-undo"))
45 45
 {
46 46
 	d = new KonqExtensionManagerPrivate;
47 47
 	showButton(User1, false);

+ 1
- 1
konsole/konsole/konsole.cpp View File

@@ -1111,7 +1111,7 @@ void Konsole::makeBasicGUI()
1111 1111
                                 TQT_SLOT(slotClearTerminal()), m_shortcuts, "clear_terminal");
1112 1112
   m_resetClearTerminal = new TDEAction(i18n("&Reset && Clear Terminal"), 0, TQT_TQOBJECT(this),
1113 1113
                                      TQT_SLOT(slotResetClearTerminal()), m_shortcuts, "reset_clear_terminal");
1114
-  m_findHistory = new TDEAction(i18n("&Find in History..."), "find", 0, TQT_TQOBJECT(this),
1114
+  m_findHistory = new TDEAction(i18n("&Find in History..."), "edit-find", 0, TQT_TQOBJECT(this),
1115 1115
                               TQT_SLOT(slotFindHistory()), m_shortcuts, "find_history");
1116 1116
   m_findHistory->setEnabled(b_histEnabled);
1117 1117
 

+ 1
- 1
ksmserver/shutdowndlg.cpp View File

@@ -781,7 +781,7 @@ KSMShutdownDlg::KSMShutdownDlg( TQWidget* parent,
781 781
 
782 782
 		buttonlay->addStretch( 1 );
783 783
 		// End session
784
-		KPushButton* btnLogout = new KPushButton( KGuiItem( i18n("&End Current Session"), "undo"), frame );
784
+		KPushButton* btnLogout = new KPushButton( KGuiItem( i18n("&End Current Session"), "edit-undo"), frame );
785 785
 				TQToolTip::add( btnLogout, i18n( "<qt><h3>End Current Session</h3><p>Log out of the current session to login with a different user</p></qt>" ) );
786 786
 		btnFont = btnLogout->font();
787 787
 		buttonlay->addWidget( btnLogout );

+ 1
- 1
ksysguard/gui/ksysguard.cc View File

@@ -133,7 +133,7 @@ TopLevel::TopLevel( const char *name )
133 133
   new TDEAction( i18n( "&Worksheet Properties" ), "configure", 0, TQT_TQOBJECT(mWorkSpace),
134 134
                TQT_SLOT( configure() ), actionCollection(), "configure_sheet" );
135 135
 
136
-  new TDEAction( i18n( "Load Standard Sheets" ), "revert",
136
+  new TDEAction( i18n( "Load Standard Sheets" ), "document-revert",
137 137
                0, TQT_TQOBJECT(this), TQT_SLOT( resetWorkSheets() ),
138 138
                actionCollection(), "revert_all_worksheets"  );
139 139
 

Loading…
Cancel
Save