summaryrefslogtreecommitdiffstats
path: root/mountconfig
diff options
context:
space:
mode:
Diffstat (limited to 'mountconfig')
-rw-r--r--mountconfig/SimpleCommandRunner.py6
-rw-r--r--mountconfig/fuser.py2
-rwxr-xr-xmountconfig/mountconfig.py6
3 files changed, 7 insertions, 7 deletions
diff --git a/mountconfig/SimpleCommandRunner.py b/mountconfig/SimpleCommandRunner.py
index 6573cf1..08feb97 100644
--- a/mountconfig/SimpleCommandRunner.py
+++ b/mountconfig/SimpleCommandRunner.py
@@ -43,11 +43,11 @@ class SimpleCommandRunner(QObject):
if debug: print cmdlist
self.STDOUT_only = STDOUT_only
self.output = u""
- proc = KProcess()
+ proc = TDEProcess()
proc.setEnvironment("LANG","US")
proc.setEnvironment("LC_ALL","US")
- self.connect(proc,SIGNAL("receivedStdout(KProcess *,char *,int)"),self.slotStdout)
- self.connect(proc,SIGNAL("receivedStderr(KProcess *,char *,int)"),self.slotStderr)
+ self.connect(proc,SIGNAL("receivedStdout(TDEProcess *,char *,int)"),self.slotStdout)
+ self.connect(proc,SIGNAL("receivedStderr(TDEProcess *,char *,int)"),self.slotStderr)
proc.setArguments(cmdlist)
rc = None
if proc.start(proc.Block,proc.AllOutput)==True:
diff --git a/mountconfig/fuser.py b/mountconfig/fuser.py
index 4a10ca9..9e4ec11 100644
--- a/mountconfig/fuser.py
+++ b/mountconfig/fuser.py
@@ -290,7 +290,7 @@ if standalone:
# ----------------------------------------------------------------------------
kapp = TDEApplication()
- KGlobal.iconLoader().addAppDir("guidance")
+ TDEGlobal.iconLoader().addAppDir("guidance")
fuserapp = FUser(device)
fuserapp.setApp(kapp)
diff --git a/mountconfig/mountconfig.py b/mountconfig/mountconfig.py
index 6ddec47..9ffdca1 100755
--- a/mountconfig/mountconfig.py
+++ b/mountconfig/mountconfig.py
@@ -2379,7 +2379,7 @@ class ROListBoxItem(QListBoxPixmap):
boldfont = QFont(p.font())
boldfont.setWeight(QFont.Bold)
p.setFont(boldfont)
- p.setBackgroundColor(KGlobalSettings.alternateBackgroundColor())
+ p.setBackgroundColor(TDEGlobalSettings.alternateBackgroundColor())
p.eraseRect(0,0,self.listBox().width(),self.height(self.listBox()))
QListBoxPixmap.paint(self,p)
@@ -2857,7 +2857,7 @@ class MountConfigApp(programbase):
########################################################################
def __init__(self,parent=None,name=None):
global standalone,isroot
- KGlobal.locale().insertCatalogue("guidance")
+ TDEGlobal.locale().insertCatalogue("guidance")
if standalone:
KDialogBase.__init__(self,KJanusWidget.Plain,i18n("Disk & Filesystems"),
@@ -2873,7 +2873,7 @@ class MountConfigApp(programbase):
# Create a configuration object.
self.config = KConfig("mountconfigrc")
- KGlobal.iconLoader().addAppDir("guidance")
+ TDEGlobal.iconLoader().addAppDir("guidance")
self.updatingGUI = False
self.mounttable = MountTable('/etc/fstab','/etc/mtab')
self.selectedentry = None