diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2013-02-04 14:19:44 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2013-02-04 14:19:44 -0600 |
commit | 799fae5feea55e95876c3722c79fd7dabadd2cd6 (patch) | |
tree | 5fbd41b26e477d4bc6b5aa7ef1aebcc714127def /languages/cpp | |
parent | 9d6a3e0894983b55f072a5d70dbe407718c6f788 (diff) | |
download | tdevelop-799fae5feea55e95876c3722c79fd7dabadd2cd6.tar.gz tdevelop-799fae5feea55e95876c3722c79fd7dabadd2cd6.zip |
Rename KIcon to enhance compatibility with KDE4
Diffstat (limited to 'languages/cpp')
-rw-r--r-- | languages/cpp/app_templates/kateplugin2/plugin_app.h | 2 | ||||
-rw-r--r-- | languages/cpp/app_templates/kde4app/kapp4.cpp | 2 | ||||
-rw-r--r-- | languages/cpp/cppsupportpart.cpp | 6 | ||||
-rw-r--r-- | languages/cpp/debugger/debuggerpart.cpp | 2 |
4 files changed, 6 insertions, 6 deletions
diff --git a/languages/cpp/app_templates/kateplugin2/plugin_app.h b/languages/cpp/app_templates/kateplugin2/plugin_app.h index 86776a53..f47140bf 100644 --- a/languages/cpp/app_templates/kateplugin2/plugin_app.h +++ b/languages/cpp/app_templates/kateplugin2/plugin_app.h @@ -50,7 +50,7 @@ public: Kate::PluginConfigPage *configPage (uint , TQWidget *w, const char *name=0); TQString configPageName(uint) const { return i18n("%{APPNAME}"); }; TQString configPageFullName(uint) const { return i18n("Configure KatePlugin%{APPNAME}"); }; - TQPixmap configPagePixmap (uint number = 0, int size = KIcon::SizeSmall) const { return 0L; }; + TQPixmap configPagePixmap (uint number = 0, int size = TDEIcon::SizeSmall) const { return 0L; }; public slots: void slotInsertHello(); diff --git a/languages/cpp/app_templates/kde4app/kapp4.cpp b/languages/cpp/app_templates/kde4app/kapp4.cpp index 5cfd1342..d224123c 100644 --- a/languages/cpp/app_templates/kde4app/kapp4.cpp +++ b/languages/cpp/app_templates/kde4app/kapp4.cpp @@ -53,7 +53,7 @@ void %{APPNAME}::setupActions() TDEStandardAction::preferences(this, TQT_SLOT(optionsPreferences()), actionCollection()); // custom menu and menu item - the slot is in the class %{APPNAME}View - TDEAction *custom = new TDEAction(KIcon("colorize"), i18n("Swi&tch Colors"), this); + TDEAction *custom = new TDEAction(TDEIcon("colorize"), i18n("Swi&tch Colors"), this); actionCollection()->addAction( TQLatin1String("switch_action"), custom ); connect(custom, TQT_SIGNAL(triggered(bool)), m_view, TQT_SLOT(switchColors())); } diff --git a/languages/cpp/cppsupportpart.cpp b/languages/cpp/cppsupportpart.cpp index 57e5c757..a1ef51e6 100644 --- a/languages/cpp/cppsupportpart.cpp +++ b/languages/cpp/cppsupportpart.cpp @@ -436,7 +436,7 @@ void CppSupportPart::projectConfigWidget( KDialogBase* dlg ) TQVBox * vbox = 0; vbox = dlg->addVBoxPage( i18n( "C++ Support" ), i18n( "C++ Support" ), - BarIcon( info() ->icon(), KIcon::SizeMedium ) ); + BarIcon( info() ->icon(), TDEIcon::SizeMedium ) ); CCConfigWidget* w = new CCConfigWidget( this, vbox ); connect( dlg, TQT_SIGNAL( okClicked( ) ), w, TQT_SLOT( accept( ) ) ); } @@ -444,12 +444,12 @@ void CppSupportPart::projectConfigWidget( KDialogBase* dlg ) void CppSupportPart::configWidget( KDialogBase *dlg ) { TQVBox * vbox = dlg->addVBoxPage( i18n( "C++ Class Generator" ), i18n( "C++ Class Generator" ), - BarIcon( info() ->icon(), KIcon::SizeMedium ) ); + BarIcon( info() ->icon(), TDEIcon::SizeMedium ) ); ClassGeneratorConfig *w = new ClassGeneratorConfig( vbox, "classgenerator config widget" ); connect( dlg, TQT_SIGNAL( okClicked() ), w, TQT_SLOT( storeConfig() ) ); vbox = dlg->addVBoxPage(i18n("C++ Parsing"), i18n("C++ Parsing"), - BarIcon( "source_cpp", KIcon::SizeMedium) ); + BarIcon( "source_cpp", TDEIcon::SizeMedium) ); ConfigureProblemReporter* ww = new ConfigureProblemReporter( vbox ); ww->setPart( this ); connect(dlg, TQT_SIGNAL(okClicked()), ww, TQT_SLOT(accept())); diff --git a/languages/cpp/debugger/debuggerpart.cpp b/languages/cpp/debugger/debuggerpart.cpp index a185ade9..e0fafa95 100644 --- a/languages/cpp/debugger/debuggerpart.cpp +++ b/languages/cpp/debugger/debuggerpart.cpp @@ -560,7 +560,7 @@ void DebuggerPart::contextEvaluate() void DebuggerPart::projectConfigWidget(KDialogBase *dlg) { - TQVBox *vbox = dlg->addVBoxPage(i18n("Debugger"), i18n("Debugger"), BarIcon( info()->icon(), KIcon::SizeMedium) ); + TQVBox *vbox = dlg->addVBoxPage(i18n("Debugger"), i18n("Debugger"), BarIcon( info()->icon(), TDEIcon::SizeMedium) ); DebuggerConfigWidget *w = new DebuggerConfigWidget(this, vbox, "debugger config widget"); connect( dlg, TQT_SIGNAL(okClicked()), w, TQT_SLOT(accept()) ); connect( dlg, TQT_SIGNAL(finished()), controller, TQT_SLOT(configure()) ); |