diff options
Diffstat (limited to 'khotkeys/shared/windows.cpp')
-rw-r--r-- | khotkeys/shared/windows.cpp | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/khotkeys/shared/windows.cpp b/khotkeys/shared/windows.cpp index 4b009ace3..ddfc612e2 100644 --- a/khotkeys/shared/windows.cpp +++ b/khotkeys/shared/windows.cpp @@ -201,18 +201,18 @@ Window_data::Window_data( WId id_P ) // Windowdef -void Windowdef::cfg_write( KConfig& cfg_P ) const +void Windowdef::cfg_write( TDEConfig& cfg_P ) const { cfg_P.writeEntry( "Type", "ERROR" ); cfg_P.writeEntry( "Comment", comment()); } -Windowdef::Windowdef( KConfig& cfg_P ) +Windowdef::Windowdef( TDEConfig& cfg_P ) { _comment = cfg_P.readEntry( "Comment" ); } -Windowdef* Windowdef::create_cfg_read( KConfig& cfg_P ) +Windowdef* Windowdef::create_cfg_read( TDEConfig& cfg_P ) { TQString type = cfg_P.readEntry( "Type" ); if( type == "SIMPLE" ) @@ -223,7 +223,7 @@ Windowdef* Windowdef::create_cfg_read( KConfig& cfg_P ) // Windowdef_list -Windowdef_list::Windowdef_list( KConfig& cfg_P ) +Windowdef_list::Windowdef_list( TDEConfig& cfg_P ) : TQPtrList< Windowdef >() { setAutoDelete( true ); @@ -242,7 +242,7 @@ Windowdef_list::Windowdef_list( KConfig& cfg_P ) cfg_P.setGroup( save_cfg_group ); } -void Windowdef_list::cfg_write( KConfig& cfg_P ) const +void Windowdef_list::cfg_write( TDEConfig& cfg_P ) const { TQString save_cfg_group = cfg_P.group(); int i = 0; @@ -292,7 +292,7 @@ Windowdef_simple::Windowdef_simple( const TQString& comment_P, const TQString& t { } -Windowdef_simple::Windowdef_simple( KConfig& cfg_P ) +Windowdef_simple::Windowdef_simple( TDEConfig& cfg_P ) : Windowdef( cfg_P ) { _title = cfg_P.readEntry( "Title" ); @@ -304,7 +304,7 @@ Windowdef_simple::Windowdef_simple( KConfig& cfg_P ) _window_types = cfg_P.readNumEntry( "WindowTypes" ); } -void Windowdef_simple::cfg_write( KConfig& cfg_P ) const +void Windowdef_simple::cfg_write( TDEConfig& cfg_P ) const { base::cfg_write( cfg_P ); cfg_P.writeEntry( "Title", title()); |