Branch: master

cc0e8357 2014-10-13 00:16:08 Timothy Pearson
Bring up, down, top, and bottom icons into XDG compliance
M kget/dlgdirectoriesbase.ui
M kopete/kopete/config/accounts/kopeteaccountconfig.cpp
M kopete/kopete/config/appearance/tooltipeditdialog.cpp
M kopete/protocols/irc/ircprotocol.cpp
M kppp/edit.cpp
M ksirc/FilterRuleEditor.cpp
diff --git a/kget/dlgdirectoriesbase.ui b/kget/dlgdirectoriesbase.ui
index 1c86ec6..d173ebe 100644
--- a/kget/dlgdirectoriesbase.ui
+++ b/kget/dlgdirectoriesbase.ui
@@ -38,7 +38,7 @@
                         <string></string>
                     </property>
                     <property name="iconSet">
-                        <iconset>"down"</iconset>
+                        <iconset>"go-down"</iconset>
                     </property>
                 </widget>
                 <spacer row="1" column="1">
@@ -69,7 +69,7 @@
                         <string></string>
                     </property>
                     <property name="iconSet">
-                        <iconset>"up"</iconset>
+                        <iconset>"go-up"</iconset>
                     </property>
                 </widget>
                 <widget class="TQListView" row="0" column="0" rowspan="3" colspan="1">
diff --git a/kopete/kopete/config/accounts/kopeteaccountconfig.cpp b/kopete/kopete/config/accounts/kopeteaccountconfig.cpp
index 562d319..d76e215 100644
--- a/kopete/kopete/config/accounts/kopeteaccountconfig.cpp
+++ b/kopete/kopete/config/accounts/kopeteaccountconfig.cpp
@@ -60,8 +60,8 @@
 	( new TQVBoxLayout( this ) )->setAutoAdd( true );
 	m_view = new KopeteAccountConfigBase( this, "KopeteAccountConfig::m_view" );
 
-	m_view->mButtonUp->setIconSet( SmallIconSet( "up" ) );
-	m_view->mButtonDown->setIconSet( SmallIconSet( "down" ) );
+	m_view->mButtonUp->setIconSet( SmallIconSet( "go-up" ) );
+	m_view->mButtonDown->setIconSet( SmallIconSet( "go-down" ) );
 
 	connect( m_view->mButtonNew,    TQT_SIGNAL( clicked() ), this, TQT_SLOT( slotAddAccount() ) );
 	connect( m_view->mButtonEdit,   TQT_SIGNAL( clicked() ), this, TQT_SLOT( slotEditAccount() ) );
diff --git a/kopete/kopete/config/appearance/tooltipeditdialog.cpp b/kopete/kopete/config/appearance/tooltipeditdialog.cpp
index 89ec4e4..d23fbe7 100644
--- a/kopete/kopete/config/appearance/tooltipeditdialog.cpp
+++ b/kopete/kopete/config/appearance/tooltipeditdialog.cpp
@@ -97,13 +97,13 @@
 		this, TQT_SLOT(slotUsedSelected(TQListViewItem *)));
 
 	TQIconSet iconSet;
-	iconSet = SmallIconSet("up");
+	iconSet = SmallIconSet("go-up");
 	mMainWidget->tbUp->setIconSet(iconSet);
 	mMainWidget->tbUp->setEnabled(false);
 	mMainWidget->tbUp->setAutoRepeat(true);
 	connect(mMainWidget->tbUp, TQT_SIGNAL(clicked()), TQT_SLOT(slotUpButton()));
 
-	iconSet = SmallIconSet("down");
+	iconSet = SmallIconSet("go-down");
 	mMainWidget->tbDown->setIconSet(iconSet);
 	mMainWidget->tbDown->setEnabled(false);
 	mMainWidget->tbDown->setAutoRepeat(true);
diff --git a/kopete/protocols/irc/ircprotocol.cpp b/kopete/protocols/irc/ircprotocol.cpp
index 2c35d73..f5723c0 100644
--- a/kopete/protocols/irc/ircprotocol.cpp
+++ b/kopete/protocols/irc/ircprotocol.cpp
@@ -771,8 +771,8 @@
 	{
 		netConf = new NetworkConfig( Kopete::UI::Global::mainWidget(), "network_config", true );
 		netConf->host->setValidator( new TQRegExpValidator( TQString::fromLatin1("^[\\w-\\.]*$"), TQT_TQOBJECT(netConf) ) );
-		netConf->upButton->setIconSet( SmallIconSet( "up" )  );
-		netConf->downButton->setIconSet( SmallIconSet( "down" ) );
+		netConf->upButton->setIconSet( SmallIconSet( "go-up" )  );
+		netConf->downButton->setIconSet( SmallIconSet( "go-down" ) );
 
 		connect( netConf->networkList, TQT_SIGNAL( selectionChanged() ), this, TQT_SLOT( slotUpdateNetworkConfig() ) );
 		connect( netConf->hostList, TQT_SIGNAL( selectionChanged() ), this, TQT_SLOT( slotUpdateNetworkHostConfig() ) );
diff --git a/kppp/edit.cpp b/kppp/edit.cpp
index 7d2b6f5..7e7d46c 100644
--- a/kppp/edit.cpp
+++ b/kppp/edit.cpp
@@ -81,9 +81,9 @@
   del = new TQPushButton(i18n("&Remove"), parent);
 
   up = new TQPushButton(parent);
-  up->setIconSet(BarIconSet("up"));
+  up->setIconSet(BarIconSet("go-up"));
   down = new TQPushButton(parent);
-  down->setIconSet(BarIconSet("down"));
+  down->setIconSet(BarIconSet("go-down"));
   lpn1->addWidget(add);
   lpn1->addWidget(del);
   lpn1->addStretch(1);
diff --git a/ksirc/FilterRuleEditor.cpp b/ksirc/FilterRuleEditor.cpp
index 0328851..e234716 100644
--- a/ksirc/FilterRuleEditor.cpp
+++ b/ksirc/FilterRuleEditor.cpp
@@ -53,8 +53,8 @@
   filter->RuleList->setHScrollBarMode( TQListBox::AlwaysOff );
   filter->RuleList->setMultiSelection( FALSE );
 
-  filter->DownButton->setPixmap( BarIcon( "down", TDEIcon::SizeSmall ) );
-  filter->UpButton->setPixmap( BarIcon( "up", TDEIcon::SizeSmall ) );
+  filter->DownButton->setPixmap( BarIcon( "go-down", TDEIcon::SizeSmall ) );
+  filter->UpButton->setPixmap( BarIcon( "go-up", TDEIcon::SizeSmall ) );
 }