summaryrefslogtreecommitdiffstats
path: root/khotkeys/shared/triggers.h
diff options
context:
space:
mode:
Diffstat (limited to 'khotkeys/shared/triggers.h')
-rw-r--r--khotkeys/shared/triggers.h30
1 files changed, 15 insertions, 15 deletions
diff --git a/khotkeys/shared/triggers.h b/khotkeys/shared/triggers.h
index 9a8fe6bee..cf511f975 100644
--- a/khotkeys/shared/triggers.h
+++ b/khotkeys/shared/triggers.h
@@ -21,7 +21,7 @@
#include "input.h"
-class KConfig;
+class TDEConfig;
namespace KHotKeys
{
@@ -33,12 +33,12 @@ class KDE_EXPORT Trigger
{
public:
Trigger( Action_data* data_P );
- Trigger( KConfig& cfg_P, Action_data* data_P );
+ Trigger( TDEConfig& cfg_P, Action_data* data_P );
virtual ~Trigger();
- virtual void cfg_write( KConfig& cfg_P ) const = 0;
+ virtual void cfg_write( TDEConfig& cfg_P ) const = 0;
virtual Trigger* copy( Action_data* data_P ) const = 0;
virtual const TQString description() const = 0;
- static Trigger* create_cfg_read( KConfig& cfg_P, Action_data* data_P );
+ static Trigger* create_cfg_read( TDEConfig& cfg_P, Action_data* data_P );
virtual void activate( bool activate_P ) = 0;
protected:
Action_data* const data;
@@ -50,9 +50,9 @@ class KDE_EXPORT Trigger_list
{
public:
Trigger_list( const TQString& comment_P ); // CHECKME nebo i data ?
- Trigger_list( KConfig& cfg_P, Action_data* data_P );
+ Trigger_list( TDEConfig& cfg_P, Action_data* data_P );
void activate( bool activate_P );
- void cfg_write( KConfig& cfg_P ) const;
+ void cfg_write( TDEConfig& cfg_P ) const;
typedef TQPtrListIterator< Trigger > Iterator;
const TQString& comment() const;
Trigger_list* copy( Action_data* data_P ) const;
@@ -67,9 +67,9 @@ class KDE_EXPORT Shortcut_trigger
typedef Trigger base;
public:
Shortcut_trigger( Action_data* data_P, const KShortcut& shortcut_P );
- Shortcut_trigger( KConfig& cfg_P, Action_data* data_P );
+ Shortcut_trigger( TDEConfig& cfg_P, Action_data* data_P );
virtual ~Shortcut_trigger();
- virtual void cfg_write( KConfig& cfg_P ) const;
+ virtual void cfg_write( TDEConfig& cfg_P ) const;
virtual Shortcut_trigger* copy( Action_data* data_P ) const;
virtual const TQString description() const;
const KShortcut& shortcut() const;
@@ -93,9 +93,9 @@ class KDE_EXPORT Window_trigger
WINDOW_DEACTIVATES = ( 1 << 3 )
};
Window_trigger( Action_data* data_P, Windowdef_list* windows_P, int window_actions_P );
- Window_trigger( KConfig& cfg_P, Action_data* data_P );
+ Window_trigger( TDEConfig& cfg_P, Action_data* data_P );
virtual ~Window_trigger();
- virtual void cfg_write( KConfig& cfg_P ) const;
+ virtual void cfg_write( TDEConfig& cfg_P ) const;
#ifndef COVARIANT_RETURN_BROKEN // stupid gcc, it doesn't even warn it can't do this
virtual Window_trigger* copy( Action_data* data_P ) const;
#else
@@ -128,9 +128,9 @@ class KDE_EXPORT Gesture_trigger
typedef Trigger base;
public:
Gesture_trigger( Action_data* data_P, const TQString& gesture_P );
- Gesture_trigger( KConfig& cfg_P, Action_data* data_P );
+ Gesture_trigger( TDEConfig& cfg_P, Action_data* data_P );
virtual ~Gesture_trigger();
- virtual void cfg_write( KConfig& cfg_P ) const;
+ virtual void cfg_write( TDEConfig& cfg_P ) const;
virtual Trigger* copy( Action_data* data_P ) const;
virtual const TQString description() const;
const TQString& gesturecode() const;
@@ -149,9 +149,9 @@ class KDE_EXPORT Voice_trigger
typedef Trigger base;
public:
Voice_trigger( Action_data* data_P, const TQString& Voice_P, const VoiceSignature & signature1_P, const VoiceSignature & signature2_P );
- Voice_trigger( KConfig& cfg_P, Action_data* data_P );
+ Voice_trigger( TDEConfig& cfg_P, Action_data* data_P );
virtual ~Voice_trigger();
- virtual void cfg_write( KConfig& cfg_P ) const;
+ virtual void cfg_write( TDEConfig& cfg_P ) const;
virtual Trigger* copy( Action_data* data_P ) const;
virtual const TQString description() const;
const TQString& voicecode() const;
@@ -178,7 +178,7 @@ Trigger::Trigger( Action_data* data_P )
}
inline
-Trigger::Trigger( KConfig&, Action_data* data_P )
+Trigger::Trigger( TDEConfig&, Action_data* data_P )
: data( data_P )
{
}