summaryrefslogtreecommitdiffstats
path: root/mountconfig/fuser.py
diff options
context:
space:
mode:
authorFrancois Andriot <albator78@libertysurf.fr>2014-09-23 18:28:49 -0500
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2014-09-23 18:28:49 -0500
commit138f1893d0aa1fa54f9fd55674a5fc8e24aa07b5 (patch)
treeddedd4611a10dbf3475cdaf6a1ae21b24b3dfff1 /mountconfig/fuser.py
parent499a99b5822f3e219b9817b4bed1e7737e1c31db (diff)
downloadtde-guidance-138f1893d0aa1fa54f9fd55674a5fc8e24aa07b5.tar.gz
tde-guidance-138f1893d0aa1fa54f9fd55674a5fc8e24aa07b5.zip
Convert mountconfig module to TQt3
This relates to Bug 2261
Diffstat (limited to 'mountconfig/fuser.py')
-rw-r--r--mountconfig/fuser.py10
1 files changed, 5 insertions, 5 deletions
diff --git a/mountconfig/fuser.py b/mountconfig/fuser.py
index 9e4ec11..74eaafc 100644
--- a/mountconfig/fuser.py
+++ b/mountconfig/fuser.py
@@ -30,7 +30,7 @@ from SimpleCommandRunner import *
standalone = __name__ == "__main__"
-class FileProcess(QListViewItem):
+class FileProcess(TQListViewItem):
""" A FileProcess is simply one line from lsof, one filedescriptor that's in use
by a process represented as a listviewitem in the lsof processtable. """
@@ -47,7 +47,7 @@ class FileProcess(QListViewItem):
"pfile":3 }
def __init__(self,parent,pid,isparent=False):
- QListViewItem.__init__(self,parent)
+ TQListViewItem.__init__(self,parent)
self.setPid(pid)
self.isparent = isparent
self.pfile = ""
@@ -146,8 +146,8 @@ class FUser(FUserUI):
self.warningimage.setPixmap(MainBarIcon("messagebox_warning"))
# Delayed initialisation.
- QTimer.singleShot(0,self.isMounted)
- QTimer.singleShot(0,self.refreshProcesslist)
+ TQTimer.singleShot(0,self.isMounted)
+ TQTimer.singleShot(0,self.refreshProcesslist)
def setApp(self,app):
""" We need a reference to the (K|Q)Application for certain things, e.g. setting
@@ -172,7 +172,7 @@ class FUser(FUserUI):
""" Read lsof output and add the processdescriptors to the listview. """
kapp = self.app
- kapp.setOverrideCursor(QCursor(Qt.BusyCursor))
+ kapp.setOverrideCursorT(TQCursor(TQt.BusyCursor))
self.processlist.clear()
rc, output = SimpleCommandRunner().run([self.lsof_bin,'-FpcLn',self.device],True)