summaryrefslogtreecommitdiffstats
path: root/ksplashml/kcmksplash/installer.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <[email protected]>2013-01-24 13:43:14 -0600
committerTimothy Pearson <[email protected]>2013-01-24 13:43:14 -0600
commit79b21d47bce1ee428affc97534cd8b257232a871 (patch)
tree0df1fa0109d9f2bcef932eda8b5c25b2e06669ed /ksplashml/kcmksplash/installer.cpp
parent9a898d493f493adbc404f7223043c85f3817472b (diff)
downloadtdebase-79b21d47bce1ee428affc97534cd8b257232a871.tar.gz
tdebase-79b21d47bce1ee428affc97534cd8b257232a871.zip
Rename KGlobal, KProcess, and KClipboard to avoid conflicts with KDE4
Diffstat (limited to 'ksplashml/kcmksplash/installer.cpp')
-rw-r--r--ksplashml/kcmksplash/installer.cpp16
1 files changed, 8 insertions, 8 deletions
diff --git a/ksplashml/kcmksplash/installer.cpp b/ksplashml/kcmksplash/installer.cpp
index 860844ffe..a1fa7a033 100644
--- a/ksplashml/kcmksplash/installer.cpp
+++ b/ksplashml/kcmksplash/installer.cpp
@@ -68,7 +68,7 @@ void ThemeListBox::mouseMoveEvent(TQMouseEvent *e)
{
if (((e->state() & Qt::LeftButton) != 0) && !mDragFile.isEmpty())
{
- int delay = KGlobalSettings::dndEventDelay();
+ int delay = TDEGlobalSettings::dndEventDelay();
TQPoint newPos = e->globalPos();
if(newPos.x() > mOldPos.x()+delay || newPos.x() < mOldPos.x()-delay ||
newPos.y() > mOldPos.y()+delay || newPos.y() < mOldPos.y()-delay)
@@ -88,7 +88,7 @@ void ThemeListBox::mouseMoveEvent(TQMouseEvent *e)
SplashInstaller::SplashInstaller (TQWidget *aParent, const char *aName, bool aInit)
: TQWidget(aParent, aName), mGui(!aInit)
{
- KGlobal::dirs()->addResourceType("ksplashthemes", KStandardDirs::kde_default("data") + "ksplash/Themes");
+ TDEGlobal::dirs()->addResourceType("ksplashthemes", KStandardDirs::kde_default("data") + "ksplash/Themes");
if (!mGui)
return;
@@ -161,7 +161,7 @@ int SplashInstaller::addTheme(const TQString &path, const TQString &name)
// Copy theme package into themes directory
void SplashInstaller::addNewTheme(const KURL &srcURL)
{
- TQString dir = KGlobal::dirs()->saveLocation("ksplashthemes");
+ TQString dir = TDEGlobal::dirs()->saveLocation("ksplashthemes");
KURL url;
TQString filename = srcURL.fileName();
int i = filename.findRev('.');
@@ -222,7 +222,7 @@ void SplashInstaller::readThemesList()
mThemesList->clear();
// Read local themes
- TQStringList entryList = KGlobal::dirs()->resourceDirs("ksplashthemes");
+ TQStringList entryList = TDEGlobal::dirs()->resourceDirs("ksplashthemes");
//kdDebug() << "readThemesList: " << entryList << endl;
TQDir dir;
TQStringList subdirs;
@@ -468,15 +468,15 @@ void SplashInstaller::slotTest()
return;
if( themeName == "Simple" )
{
- KProcess proc;
+ TDEProcess proc;
proc << "ksplashsimple" << "--test";
- if (!proc.start(KProcess::Block))
+ if (!proc.start(TDEProcess::Block))
KMessageBox::error(this,i18n("Unable to start ksplashsimple."));
return;
}
- KProcess proc;
+ TDEProcess proc;
proc << "ksplash" << "--test" << "--theme" << themeName;
- if (!proc.start(KProcess::Block))
+ if (!proc.start(TDEProcess::Block))
KMessageBox::error(this,i18n("Unable to start ksplash."));
}