aboutsummaryrefslogtreecommitdiffstats
path: root/src/modules/actioneditor
diff options
context:
space:
mode:
authorGravatar Elvio Basello2011-01-05 22:54:21 +0000
committerGravatar Elvio Basello2011-01-05 22:54:21 +0000
commit12fba74234ec39059b1043c2febcc983fd7cbaf6 (patch)
treeae5f7f58c546feac36742c2b12ae1a36cc24d5a1 /src/modules/actioneditor
parentAnother fix for the options instance generation script (diff)
downloadKVIrc-12fba74234ec39059b1043c2febcc983fd7cbaf6.tar.gz
KVIrc-12fba74234ec39059b1043c2febcc983fd7cbaf6.tar.bz2
KVIrc-12fba74234ec39059b1043c2febcc983fd7cbaf6.zip
reworked icon stuff
git-svn-id: https://svn.kvirc.de/svn/trunk/kvirc@5301 17fca916-40b9-46aa-a4ea-0a15b648b75c
Diffstat (limited to 'src/modules/actioneditor')
-rw-r--r--src/modules/actioneditor/ActionEditor.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/modules/actioneditor/ActionEditor.cpp b/src/modules/actioneditor/ActionEditor.cpp
index c20b762e7..4c1549174 100644
--- a/src/modules/actioneditor/ActionEditor.cpp
+++ b/src/modules/actioneditor/ActionEditor.cpp
@@ -873,17 +873,17 @@ ActionEditorWindow::ActionEditorWindow(KviMainWindow * lpFrm)
QPushButton * btn = new QPushButton(__tr2qs_ctx("OK","editor"),this);
connect(btn,SIGNAL(clicked()),this,SLOT(okClicked()));
- btn->setIcon(*(g_pIconManager->getSmallIcon(KVI_SMALLICON_ACCEPT)));
+ btn->setIcon(*(g_pIconManager->getSmallIcon(KviIconManager::Accept)));
g->addWidget(btn,1,1);
btn = new QPushButton(__tr2qs_ctx("Apply","editor"),this);
connect(btn,SIGNAL(clicked()),this,SLOT(applyClicked()));
- btn->setIcon(*(g_pIconManager->getSmallIcon(KVI_SMALLICON_ACCEPT)));
+ btn->setIcon(*(g_pIconManager->getSmallIcon(KviIconManager::Accept)));
g->addWidget(btn,1,2);
btn = new QPushButton(__tr2qs_ctx("Cancel","editor"),this);
connect(btn,SIGNAL(clicked()),this,SLOT(cancelClicked()));
- btn->setIcon(*(g_pIconManager->getSmallIcon(KVI_SMALLICON_DISCARD)));
+ btn->setIcon(*(g_pIconManager->getSmallIcon(KviIconManager::Discard)));
g->addWidget(btn,1,3);
g->setRowStretch(0,1);
@@ -914,7 +914,7 @@ void ActionEditorWindow::cancelClicked()
QPixmap * ActionEditorWindow::myIconPtr()
{
- return g_pIconManager->getSmallIcon(KVI_SMALLICON_SCRIPTACTION);
+ return g_pIconManager->getSmallIcon(KviIconManager::ScriptAction);
}
void ActionEditorWindow::getConfigGroupName(QString &szName)