summaryrefslogtreecommitdiffstats
path: root/kscreensaver/kdesavers/banner.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-01-24 13:42:09 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-01-24 13:42:09 -0600
commitb1b005cf854aad925c2e64c3fc3ece582d4bffcf (patch)
tree53d452bd876320e4462a2a6ab4fa51b0111d8c02 /kscreensaver/kdesavers/banner.cpp
parent36117c8a3e07af8406a8e3c05748a785d6e53078 (diff)
downloadtdeartwork-b1b005cf854aad925c2e64c3fc3ece582d4bffcf.tar.gz
tdeartwork-b1b005cf854aad925c2e64c3fc3ece582d4bffcf.zip
Rename KGlobal, KProcess, and KClipboard to avoid conflicts with KDE4
Diffstat (limited to 'kscreensaver/kdesavers/banner.cpp')
-rw-r--r--kscreensaver/kdesavers/banner.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/kscreensaver/kdesavers/banner.cpp b/kscreensaver/kdesavers/banner.cpp
index 143c2aba..0410f397 100644
--- a/kscreensaver/kdesavers/banner.cpp
+++ b/kscreensaver/kdesavers/banner.cpp
@@ -166,7 +166,7 @@ KBannerSetup::KBannerSetup( TQWidget *parent, const char *name )
// read settings from config file
void KBannerSetup::readSettings()
{
- KConfig *config = KGlobal::config();
+ KConfig *config = TDEGlobal::config();
config->setGroup( "Settings" );
speed=config->readNumEntry("Speed",50);
@@ -308,7 +308,7 @@ void KBannerSetup::slotTimeToggled( bool on )
// Ok pressed - save settings and exit
void KBannerSetup::slotOk()
{
- KConfig *config = KGlobal::config();
+ KConfig *config = TDEGlobal::config();
config->setGroup( "Settings" );
config->writeEntry( "Speed", speed );
@@ -415,7 +415,7 @@ void KBannerSaver::setTimeDisplay()
// read settings from config file
void KBannerSaver::readSettings()
{
- KConfig *config = KGlobal::config();
+ KConfig *config = TDEGlobal::config();
config->setGroup( "Settings" );
setSpeed( config->readNumEntry("Speed",50) );
@@ -470,7 +470,7 @@ void KBannerSaver::slotTimeout()
}
if (showTime)
{
- TQString new_message = KGlobal::locale()->formatTime(TQTime::currentTime(), true);
+ TQString new_message = TDEGlobal::locale()->formatTime(TQTime::currentTime(), true);
if( new_message != message )
needUpdate = TRUE;
message = new_message;