diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2013-02-04 14:07:18 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2013-02-04 14:07:18 -0600 |
commit | e2179589a7ecefb4fd930c689771b9de111ee369 (patch) | |
tree | e8978ec904c1af5045b0a5508d00ee77c2ea9ed0 | |
parent | 926615f13c25a9d0b25d7842054a71d3122d4f94 (diff) | |
download | krename-e2179589a7ecefb4fd930c689771b9de111ee369.tar.gz krename-e2179589a7ecefb4fd930c689771b9de111ee369.zip |
Rename KIcon to enhance compatibility with KDE4
-rw-r--r-- | krename/commandplugin.cpp | 2 | ||||
-rw-r--r-- | krename/datetime.cpp | 2 | ||||
-rw-r--r-- | krename/encodingplugin.cpp | 2 | ||||
-rw-r--r-- | krename/fileplugin.cpp | 4 | ||||
-rw-r--r-- | krename/kmylistbox.cpp | 4 | ||||
-rw-r--r-- | krename/mydirplugin.cpp | 2 | ||||
-rw-r--r-- | krename/permission.cpp | 2 | ||||
-rw-r--r-- | krename/translitplugin.cpp | 2 |
8 files changed, 10 insertions, 10 deletions
diff --git a/krename/commandplugin.cpp b/krename/commandplugin.cpp index 81da8bd..095e5da 100644 --- a/krename/commandplugin.cpp +++ b/krename/commandplugin.cpp @@ -186,6 +186,6 @@ void CommandPlugin::exec() const TQPixmap CommandPlugin::getIcon() const { - return kapp->iconLoader()->loadIcon( "konsole", KIcon::Small ); + return kapp->iconLoader()->loadIcon( "konsole", TDEIcon::Small ); } diff --git a/krename/datetime.cpp b/krename/datetime.cpp index 7c9319f..42c1692 100644 --- a/krename/datetime.cpp +++ b/krename/datetime.cpp @@ -61,7 +61,7 @@ bool MyDatePlugin::checkError() const TQPixmap MyDatePlugin::getIcon() const { - return kapp->iconLoader()->loadIcon( "kalarm", KIcon::Small ); + return kapp->iconLoader()->loadIcon( "kalarm", TDEIcon::Small ); } void MyDatePlugin::drawInterface( TQWidget* w, TQVBoxLayout* l ) diff --git a/krename/encodingplugin.cpp b/krename/encodingplugin.cpp index 3345b9c..9340f73 100644 --- a/krename/encodingplugin.cpp +++ b/krename/encodingplugin.cpp @@ -122,7 +122,7 @@ void EncodingPlugin::finished() const TQPixmap EncodingPlugin::getIcon() const { - return kapp->iconLoader()->loadIcon( "fonts", KIcon::Small ); + return kapp->iconLoader()->loadIcon( "fonts", TDEIcon::Small ); } void EncodingPlugin::enableControls() diff --git a/krename/fileplugin.cpp b/krename/fileplugin.cpp index 7c3dded..f2261be 100644 --- a/krename/fileplugin.cpp +++ b/krename/fileplugin.cpp @@ -129,7 +129,7 @@ void FilePlugin::drawInterface( TQWidget* w, TQVBoxLayout* l ) TQHBoxLayout* hbox = new TQHBoxLayout( 0, 6, 6 ); TQLabel* pix = new TQLabel( w ); - pix->setPixmap( kapp->iconLoader()->loadIcon( m_icon, KIcon::Desktop ) ); + pix->setPixmap( kapp->iconLoader()->loadIcon( m_icon, TDEIcon::Desktop ) ); hbox->addWidget( pix ); hbox->addWidget( new TQLabel( "<qt><b>"+getName()+"</b></qt>", w ) ); @@ -195,7 +195,7 @@ void FilePlugin::addHelp( HelpDialogData* data ) const TQPixmap FilePlugin::getIcon() const { - return kapp->iconLoader()->loadIcon( m_icon, KIcon::Small ); + return kapp->iconLoader()->loadIcon( m_icon, TDEIcon::Small ); } bool FilePlugin::supports( const TQString & token ) diff --git a/krename/kmylistbox.cpp b/krename/kmylistbox.cpp index a92c77a..c7477f2 100644 --- a/krename/kmylistbox.cpp +++ b/krename/kmylistbox.cpp @@ -360,7 +360,7 @@ void KMyListBox::previewFailed( const KFileItem* item ) if( url( i ) == item->url() ) { KMyListBoxItem* it = static_cast<KMyListBoxItem*>(this->item( i )); if( it ) { - it->setPixmap( item->pixmap( getPreviewSize(), KIcon::DefaultState ) ); + it->setPixmap( item->pixmap( getPreviewSize(), TDEIcon::DefaultState ) ); } break; } @@ -780,7 +780,7 @@ void KMyListBoxItem::paint( TQPainter *painter ) if( pm.isNull() ) { KFileItem item( KFileItem::Unknown, KFileItem::Unknown, m_url ); KMyListBox* box = static_cast<KMyListBox*>(this->listBox()); - setPixmap( item.pixmap( box->getPreviewSize(), KIcon::DefaultState ) ); + setPixmap( item.pixmap( box->getPreviewSize(), TDEIcon::DefaultState ) ); } yPos = ( itemHeight - pm.height() ) / 2; diff --git a/krename/mydirplugin.cpp b/krename/mydirplugin.cpp index 4e4a768..f3fe2fc 100644 --- a/krename/mydirplugin.cpp +++ b/krename/mydirplugin.cpp @@ -54,7 +54,7 @@ bool MyDirPlugin::checkError() const TQPixmap MyDirPlugin::getIcon() const { - return kapp->iconLoader()->loadIcon( "folder", KIcon::Small ); + return kapp->iconLoader()->loadIcon( "folder", TDEIcon::Small ); } void MyDirPlugin::drawInterface( TQWidget* w, TQVBoxLayout* l ) diff --git a/krename/permission.cpp b/krename/permission.cpp index 83fcd5b..54cf217 100644 --- a/krename/permission.cpp +++ b/krename/permission.cpp @@ -323,7 +323,7 @@ void MyPermPlugin::enableControls() const TQPixmap MyPermPlugin::getIcon() const { - return kapp->iconLoader()->loadIcon( "clanbomber", KIcon::Small ); + return kapp->iconLoader()->loadIcon( "clanbomber", TDEIcon::Small ); } diff --git a/krename/translitplugin.cpp b/krename/translitplugin.cpp index 0e4b262..a199e6b 100644 --- a/krename/translitplugin.cpp +++ b/krename/translitplugin.cpp @@ -40,7 +40,7 @@ const TQString TranslitPlugin::getAccelName() const const TQPixmap TranslitPlugin::getIcon() const { - return kapp->iconLoader()->loadIcon( "fonts", KIcon::Small ); + return kapp->iconLoader()->loadIcon( "fonts", TDEIcon::Small ); } const int TranslitPlugin::type() const |