diff options
Diffstat (limited to 'mountconfig/fuser.py')
-rw-r--r-- | mountconfig/fuser.py | 10 |
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) |