diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2013-02-04 14:05:40 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2013-02-04 14:05:40 -0600 |
commit | 1d4158dd755a445fd42f2db7db5abab8084175cd (patch) | |
tree | 71ca5f966ca25d2a47b66ae27f7bb06c34d190bf /kchart | |
parent | 391e0b69f256bab8971430050c65f0e6e7eea9be (diff) | |
download | koffice-1d4158dd755a445fd42f2db7db5abab8084175cd.tar.gz koffice-1d4158dd755a445fd42f2db7db5abab8084175cd.zip |
Rename KIcon to enhance compatibility with KDE4
Diffstat (limited to 'kchart')
-rw-r--r-- | kchart/kchartDataEditor.cc | 18 | ||||
-rw-r--r-- | kchart/kchartLegendConfigPage.cc | 4 | ||||
-rw-r--r-- | kchart/kchartWizardSelectChartTypePage.cc | 4 |
3 files changed, 13 insertions, 13 deletions
diff --git a/kchart/kchartDataEditor.cc b/kchart/kchartDataEditor.cc index 9c5de4f9..2bd0230d 100644 --- a/kchart/kchartDataEditor.cc +++ b/kchart/kchartDataEditor.cc @@ -204,10 +204,10 @@ kchartDataEditor::kchartDataEditor(TQWidget* parent) : // Buttons for Inserting / Removing rows & columns // The icon images are taken from the standard m_insertRowButton = new TQPushButton( page); - // In 2.0; this is supposed to be just KIcon("name").pixmap(32). + // In 2.0; this is supposed to be just TDEIcon("name").pixmap(32). m_insertRowButton->setPixmap( BarIcon( TQString("insert_table_row"), - KIcon::SizeMedium, - KIcon::DefaultState, + TDEIcon::SizeMedium, + TDEIcon::DefaultState, KChartFactory::global() ) ); //m_insertRowButton = new TQPushButton( i18n("Insert Row") , page); connect( m_insertRowButton, TQT_SIGNAL( clicked() ), @@ -215,8 +215,8 @@ kchartDataEditor::kchartDataEditor(TQWidget* parent) : m_removeRowButton = new TQPushButton( page ); m_removeRowButton->setPixmap( BarIcon( TQString("delete_table_row"), - KIcon::SizeMedium, - KIcon::DefaultState, + TDEIcon::SizeMedium, + TDEIcon::DefaultState, KChartFactory::global() ) ); //m_removeRowButton = new TQPushButton( i18n("Remove Row") , page); connect( m_removeRowButton, TQT_SIGNAL( clicked() ), @@ -224,8 +224,8 @@ kchartDataEditor::kchartDataEditor(TQWidget* parent) : m_insertColButton = new TQPushButton( page ); m_insertColButton->setPixmap( BarIcon( TQString("insert_table_col"), - KIcon::SizeMedium, - KIcon::DefaultState, + TDEIcon::SizeMedium, + TDEIcon::DefaultState, KChartFactory::global() ) ); //m_insertColButton = new TQPushButton( i18n("Insert Column") , page); connect( m_insertColButton, TQT_SIGNAL( clicked() ), @@ -233,8 +233,8 @@ kchartDataEditor::kchartDataEditor(TQWidget* parent) : m_removeColButton = new TQPushButton( page ); m_removeColButton->setPixmap( BarIcon( TQString("delete_table_col"), - KIcon::SizeMedium, - KIcon::DefaultState, + TDEIcon::SizeMedium, + TDEIcon::DefaultState, KChartFactory::global() ) ); //m_removeColButton = new TQPushButton( i18n("Remove Column") , page); connect( m_removeColButton, TQT_SIGNAL( clicked() ), diff --git a/kchart/kchartLegendConfigPage.cc b/kchart/kchartLegendConfigPage.cc index b469ab9b..7f516542 100644 --- a/kchart/kchartLegendConfigPage.cc +++ b/kchart/kchartLegendConfigPage.cc @@ -374,8 +374,8 @@ TQPushButton* KChartLegendConfigPage::addButton( TQGridLayout* layout, TQPushButton* button = new TQPushButton( gb ); button->setToggleButton( true ); button->setPixmap( BarIcon( icon, - KIcon::SizeMedium, - KIcon::DefaultState, + TDEIcon::SizeMedium, + TDEIcon::DefaultState, KChartFactory::global() ) ); TQToolTip::add( button, toolTipText ); layout->addWidget( button, posY, posX ); diff --git a/kchart/kchartWizardSelectChartTypePage.cc b/kchart/kchartWizardSelectChartTypePage.cc index dc4cbf8a..b0365ddd 100644 --- a/kchart/kchartWizardSelectChartTypePage.cc +++ b/kchart/kchartWizardSelectChartTypePage.cc @@ -93,8 +93,8 @@ void KChartWizardSelectChartTypePage::addButton(const TQString &name, { KChartButton *button = new KChartButton( this, name, BarIcon( icon_name, - KIcon::SizeMedium, - KIcon::DefaultState, + TDEIcon::SizeMedium, + TDEIcon::DefaultState, KChartFactory::global()) ); m_layout->addWidget(button, m_rowPos, m_colPos); m_typeBG->insert( button->button(), type ); |