From 940c092f32d40263ad6b24f948eaf4c48b01e99a Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Fri, 1 Feb 2013 15:13:25 -0600 Subject: Rename a number of classes to enhance compatibility with KDE4 --- arts/tools/artsactions.h | 52 ++++++++++++++++++++++++------------------------ 1 file changed, 26 insertions(+), 26 deletions(-) (limited to 'arts/tools/artsactions.h') diff --git a/arts/tools/artsactions.h b/arts/tools/artsactions.h index ea290f8c..b3005aa6 100644 --- a/arts/tools/artsactions.h +++ b/arts/tools/artsactions.h @@ -24,9 +24,9 @@ #include #include class KArtsServer; -class KAction; -class KActionCollection; -class KPopupMenu; +class TDEAction; +class TDEActionCollection; +class TDEPopupMenu; class FFTScopeView; class Gui_AUDIO_MANAGER; class ArtsStatusView; @@ -42,42 +42,42 @@ public: /** Constructs a ArtsActions-object. - Use the KActions you get from it to obtain a unique Style for all menus. + Use the TDEActions you get from it to obtain a unique Style for all menus. It also provides an easy way to have FFT-ScopeView, Audiomanager and other things available. @param artsserver a pointer to a existing KArtsServer. If 0 a new is created. - @param actioncollection the KActionCollection all the actions should belong to. Names of the actions are then: artssupport_* + @param actioncollection the TDEActionCollection all the actions should belong to. Names of the actions are then: artssupport_* @param qwidget the parent TQWidget @param name the name of the object */ - ArtsActions( KArtsServer* artsserver, KActionCollection* actioncollection, TQWidget* qwidget, const char* name=0 ); + ArtsActions( KArtsServer* artsserver, TDEActionCollection* actioncollection, TQWidget* qwidget, const char* name=0 ); /** Destructor */ ~ArtsActions(); /** Returns an Action for showing the ScopeView. Unless otherwise connected it also toggles a ScopeView. */ - KAction* actionScopeView(); + TDEAction* actionScopeView(); /** Returns an Action for showing the Audiomanager. Unless otherwise connected it also toggles a Audiomanager. */ - KAction* actionAudioManager(); + TDEAction* actionAudioManager(); /** Returns an Action for showing the StatusView. Unless otherwise connected it also toggles a StatusView. */ - KAction* actionArtsStatusView(); + TDEAction* actionArtsStatusView(); /** Returns an Action for showing the MidiManager. Unless otherwise connected it also toggles a MidiManager. */ - KAction* actionMidiManagerView(); + TDEAction* actionMidiManagerView(); /** Returns an Action for showing the EnvironmentView. Unless otherwise connected it also toggles a EnvironmentView. */ - KAction* actionEnvironmentView(); + TDEAction* actionEnvironmentView(); /** Returns an Action for showing the MediaTypesView. Unless otherwise connected it also toggles a MediaTypesView. */ - KAction* actionMediaTypesView(); + TDEAction* actionMediaTypesView(); - KAction* actionStyleNormal(); - KAction* actionStyleFire(); - KAction* actionStyleLine(); - KAction* actionStyleLED(); - KAction* actionStyleAnalog(); - KAction* actionStyleSmall(); - KPopupMenu* stylemenu(); + TDEAction* actionStyleNormal(); + TDEAction* actionStyleFire(); + TDEAction* actionStyleLine(); + TDEAction* actionStyleLED(); + TDEAction* actionStyleAnalog(); + TDEAction* actionStyleSmall(); + TDEPopupMenu* stylemenu(); - static KAction* actionMoreBars( const TQObject*, const char*, KActionCollection* ); - static KAction* actionLessBars( const TQObject*, const char*, KActionCollection* ); + static TDEAction* actionMoreBars( const TQObject*, const char*, TDEActionCollection* ); + static TDEAction* actionLessBars( const TQObject*, const char*, TDEActionCollection* ); public slots: void viewScopeView(); @@ -102,11 +102,11 @@ signals: void styleSmall(); private: KArtsServer* _kartsserver; - KActionCollection* _actioncollection; - KAction *_a_sv, *_a_am, *_a_asv, *_a_mmv, *_a_ev, *_a_mtv; - //KAction *_a_morebars, *_a_lessbars; - KAction *_a_style_normal, *_a_style_fire, *_a_style_line, *_a_style_led, *_a_style_analog, *_a_style_small; - KPopupMenu* _stylemenu; + TDEActionCollection* _actioncollection; + TDEAction *_a_sv, *_a_am, *_a_asv, *_a_mmv, *_a_ev, *_a_mtv; + //TDEAction *_a_morebars, *_a_lessbars; + TDEAction *_a_style_normal, *_a_style_fire, *_a_style_line, *_a_style_led, *_a_style_analog, *_a_style_small; + TDEPopupMenu* _stylemenu; FFTScopeView *_sv; Gui_AUDIO_MANAGER *_am; ArtsStatusView *_asv; -- cgit v1.2.1