Bring up, down, top, and bottom icons into XDG compliance

pull/1/head
Timothy Pearson 10 years ago
parent e9268c9203
commit cc0e8357c9

@ -38,7 +38,7 @@
<string></string> <string></string>
</property> </property>
<property name="iconSet"> <property name="iconSet">
<iconset>"down"</iconset> <iconset>"go-down"</iconset>
</property> </property>
</widget> </widget>
<spacer row="1" column="1"> <spacer row="1" column="1">
@ -69,7 +69,7 @@
<string></string> <string></string>
</property> </property>
<property name="iconSet"> <property name="iconSet">
<iconset>"up"</iconset> <iconset>"go-up"</iconset>
</property> </property>
</widget> </widget>
<widget class="TQListView" row="0" column="0" rowspan="3" colspan="1"> <widget class="TQListView" row="0" column="0" rowspan="3" colspan="1">

@ -60,8 +60,8 @@ KopeteAccountConfig::KopeteAccountConfig( TQWidget *parent, const char * /* name
( new TQVBoxLayout( this ) )->setAutoAdd( true ); ( new TQVBoxLayout( this ) )->setAutoAdd( true );
m_view = new KopeteAccountConfigBase( this, "KopeteAccountConfig::m_view" ); m_view = new KopeteAccountConfigBase( this, "KopeteAccountConfig::m_view" );
m_view->mButtonUp->setIconSet( SmallIconSet( "up" ) ); m_view->mButtonUp->setIconSet( SmallIconSet( "go-up" ) );
m_view->mButtonDown->setIconSet( SmallIconSet( "down" ) ); m_view->mButtonDown->setIconSet( SmallIconSet( "go-down" ) );
connect( m_view->mButtonNew, TQT_SIGNAL( clicked() ), this, TQT_SLOT( slotAddAccount() ) ); connect( m_view->mButtonNew, TQT_SIGNAL( clicked() ), this, TQT_SLOT( slotAddAccount() ) );
connect( m_view->mButtonEdit, TQT_SIGNAL( clicked() ), this, TQT_SLOT( slotEditAccount() ) ); connect( m_view->mButtonEdit, TQT_SIGNAL( clicked() ), this, TQT_SLOT( slotEditAccount() ) );

@ -97,13 +97,13 @@ TooltipEditDialog::TooltipEditDialog(TQWidget *parent, const char* name)
this, TQT_SLOT(slotUsedSelected(TQListViewItem *))); this, TQT_SLOT(slotUsedSelected(TQListViewItem *)));
TQIconSet iconSet; TQIconSet iconSet;
iconSet = SmallIconSet("up"); iconSet = SmallIconSet("go-up");
mMainWidget->tbUp->setIconSet(iconSet); mMainWidget->tbUp->setIconSet(iconSet);
mMainWidget->tbUp->setEnabled(false); mMainWidget->tbUp->setEnabled(false);
mMainWidget->tbUp->setAutoRepeat(true); mMainWidget->tbUp->setAutoRepeat(true);
connect(mMainWidget->tbUp, TQT_SIGNAL(clicked()), TQT_SLOT(slotUpButton())); connect(mMainWidget->tbUp, TQT_SIGNAL(clicked()), TQT_SLOT(slotUpButton()));
iconSet = SmallIconSet("down"); iconSet = SmallIconSet("go-down");
mMainWidget->tbDown->setIconSet(iconSet); mMainWidget->tbDown->setIconSet(iconSet);
mMainWidget->tbDown->setEnabled(false); mMainWidget->tbDown->setEnabled(false);
mMainWidget->tbDown->setAutoRepeat(true); mMainWidget->tbDown->setAutoRepeat(true);

@ -771,8 +771,8 @@ void IRCProtocol::editNetworks( const TQString &networkName )
{ {
netConf = new NetworkConfig( Kopete::UI::Global::mainWidget(), "network_config", true ); netConf = new NetworkConfig( Kopete::UI::Global::mainWidget(), "network_config", true );
netConf->host->setValidator( new TQRegExpValidator( TQString::fromLatin1("^[\\w-\\.]*$"), TQT_TQOBJECT(netConf) ) ); netConf->host->setValidator( new TQRegExpValidator( TQString::fromLatin1("^[\\w-\\.]*$"), TQT_TQOBJECT(netConf) ) );
netConf->upButton->setIconSet( SmallIconSet( "up" ) ); netConf->upButton->setIconSet( SmallIconSet( "go-up" ) );
netConf->downButton->setIconSet( SmallIconSet( "down" ) ); netConf->downButton->setIconSet( SmallIconSet( "go-down" ) );
connect( netConf->networkList, TQT_SIGNAL( selectionChanged() ), this, TQT_SLOT( slotUpdateNetworkConfig() ) ); connect( netConf->networkList, TQT_SIGNAL( selectionChanged() ), this, TQT_SLOT( slotUpdateNetworkConfig() ) );
connect( netConf->hostList, TQT_SIGNAL( selectionChanged() ), this, TQT_SLOT( slotUpdateNetworkHostConfig() ) ); connect( netConf->hostList, TQT_SIGNAL( selectionChanged() ), this, TQT_SLOT( slotUpdateNetworkHostConfig() ) );

@ -81,9 +81,9 @@ DialWidget::DialWidget( TQWidget *parent, bool isnewaccount, const char *name )
del = new TQPushButton(i18n("&Remove"), parent); del = new TQPushButton(i18n("&Remove"), parent);
up = new TQPushButton(parent); up = new TQPushButton(parent);
up->setIconSet(BarIconSet("up")); up->setIconSet(BarIconSet("go-up"));
down = new TQPushButton(parent); down = new TQPushButton(parent);
down->setIconSet(BarIconSet("down")); down->setIconSet(BarIconSet("go-down"));
lpn1->addWidget(add); lpn1->addWidget(add);
lpn1->addWidget(del); lpn1->addWidget(del);
lpn1->addStretch(1); lpn1->addStretch(1);

@ -53,8 +53,8 @@ FilterRuleEditor::FilterRuleEditor
filter->RuleList->setHScrollBarMode( TQListBox::AlwaysOff ); filter->RuleList->setHScrollBarMode( TQListBox::AlwaysOff );
filter->RuleList->setMultiSelection( FALSE ); filter->RuleList->setMultiSelection( FALSE );
filter->DownButton->setPixmap( BarIcon( "down", TDEIcon::SizeSmall ) ); filter->DownButton->setPixmap( BarIcon( "go-down", TDEIcon::SizeSmall ) );
filter->UpButton->setPixmap( BarIcon( "up", TDEIcon::SizeSmall ) ); filter->UpButton->setPixmap( BarIcon( "go-up", TDEIcon::SizeSmall ) );
} }

Loading…
Cancel
Save