summaryrefslogtreecommitdiffstats
path: root/krec/krecglobal.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'krec/krecglobal.cpp')
-rw-r--r--krec/krecglobal.cpp18
1 files changed, 9 insertions, 9 deletions
diff --git a/krec/krecglobal.cpp b/krec/krecglobal.cpp
index 3c0191de..4e852eac 100644
--- a/krec/krecglobal.cpp
+++ b/krec/krecglobal.cpp
@@ -51,7 +51,7 @@ KRecGlobal* KRecGlobal::the() {
void KRecGlobal::setMainWidget( TQWidget* n ) { _qwidget = n; }
TQWidget* KRecGlobal::mainWidget() { return _qwidget; }
-TDEConfig* KRecGlobal::tdeconfig() { return kapp->config(); }
+TDEConfig* KRecGlobal::tdeconfig() { return tdeApp->config(); }
void KRecGlobal::setStatusBar( KStatusBar *bar ) { _statusbar = bar; }
void KRecGlobal::message( const TQString &text ) { if ( _statusbar ) _statusbar->message( text, 2000 ); }
@@ -104,27 +104,27 @@ KRecExportItem* KRecGlobal::getExportItemForEnding( const TQString &ending ) {
int KRecGlobal::timeFormatMode() {
if ( _timeformatcache < 0 ) {
- kapp->config()->setGroup( "General" );
- _timeformatcache = kapp->config()->readNumEntry( "TimeFormat", 0 );
+ tdeApp->config()->setGroup( "General" );
+ _timeformatcache = tdeApp->config()->readNumEntry( "TimeFormat", 0 );
}
return _timeformatcache;
}
void KRecGlobal::setTimeFormatMode( int n ) {
- kapp->config()->setGroup( "General" );
- kapp->config()->writeEntry( "TimeFormat", n );
+ tdeApp->config()->setGroup( "General" );
+ tdeApp->config()->writeEntry( "TimeFormat", n );
_timeformatcache = n;
}
int KRecGlobal::frameBase() {
if ( _framebasecache < 0 ) {
- kapp->config()->setGroup( "General" );
- _framebasecache = kapp->config()->readNumEntry( "FrameBase", 25 );
+ tdeApp->config()->setGroup( "General" );
+ _framebasecache = tdeApp->config()->readNumEntry( "FrameBase", 25 );
}
return _framebasecache;
}
void KRecGlobal::setFrameBase( int n ) {
- kapp->config()->setGroup( "General" );
- kapp->config()->writeEntry( "FrameBase", n );
+ tdeApp->config()->setGroup( "General" );
+ tdeApp->config()->writeEntry( "FrameBase", n );
_framebasecache = n;
}