diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2013-02-04 14:20:11 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2013-02-04 14:20:11 -0600 |
commit | 1c53bf78a70a66d8ec15a77cbf98606694d7e6e7 (patch) | |
tree | b7ec7a54f705aa5ef6388b9818ae394ba3ca2b9c /kommander/working | |
parent | c46f36d00839916c8b6cde8ed2ca54aeb40dba19 (diff) | |
download | tdewebdev-1c53bf78a70a66d8ec15a77cbf98606694d7e6e7.tar.gz tdewebdev-1c53bf78a70a66d8ec15a77cbf98606694d7e6e7.zip |
Rename KIcon to enhance compatibility with KDE4
Diffstat (limited to 'kommander/working')
-rw-r--r-- | kommander/working/plugintemplate/plugin.cpp | 2 | ||||
-rw-r--r-- | kommander/working/plugintemplate/widget.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/kommander/working/plugintemplate/plugin.cpp b/kommander/working/plugintemplate/plugin.cpp index ffaa8080..d8b91da0 100644 --- a/kommander/working/plugintemplate/plugin.cpp +++ b/kommander/working/plugintemplate/plugin.cpp @@ -16,7 +16,7 @@ public: %{APPNAME}Plugin::%{APPNAME}Plugin() { - addWidget( "%{APPNAME}", "Custom", i18n("Kommander %{APPNAME} plugin."), new TQIconSet(TDEGlobal::iconLoader()->loadIcon("%{APPNAMELC}", KIcon::NoGroup, KIcon::SizeMedium)) ); + addWidget( "%{APPNAME}", "Custom", i18n("Kommander %{APPNAME} plugin."), new TQIconSet(TDEGlobal::iconLoader()->loadIcon("%{APPNAMELC}", TDEIcon::NoGroup, TDEIcon::SizeMedium)) ); } TQWidget *%{APPNAME}Plugin::create( const TQString &className, TQWidget *parent, const char *name) diff --git a/kommander/working/plugintemplate/widget.cpp b/kommander/working/plugintemplate/widget.cpp index e950205e..d6ad8a0b 100644 --- a/kommander/working/plugintemplate/widget.cpp +++ b/kommander/working/plugintemplate/widget.cpp @@ -28,7 +28,7 @@ enum Functions { /* if (KommanderWidget::inEditor) { - setPixmap(TDEGlobal::iconLoader()->loadIcon("%{APPNAMELC}", KIcon::NoGroup, KIcon::SizeMedium)); + setPixmap(TDEGlobal::iconLoader()->loadIcon("%{APPNAMELC}", TDEIcon::NoGroup, TDEIcon::SizeMedium)); setFrameStyle(TQFrame::Box | TQFrame::Plain); setLineWidth(1); setAlignment(TQt::AlignCenter); |