diff options
Diffstat (limited to 'mountconfig/mountconfig.py')
-rwxr-xr-x | mountconfig/mountconfig.py | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/mountconfig/mountconfig.py b/mountconfig/mountconfig.py index 7e9cca0..5e9692c 100755 --- a/mountconfig/mountconfig.py +++ b/mountconfig/mountconfig.py @@ -2724,7 +2724,7 @@ class MountEntryAdvancedPlainDialog(KDialogBase): return (unicode(self.optionslineedit.text()), self.fsfreqspinbox.value(), self.fspassnospinbox.value()) ############################################################################ -class MountListViewItem(KListViewItem): +class MountListViewItem(TDEListViewItem): ######################################################################## def __init__(self,parentitem,mountentry,haldevice=None): self.haldevice = haldevice @@ -2732,7 +2732,7 @@ class MountListViewItem(KListViewItem): if self.mountentry is None: # There is no mount entry right now. This acts as a place holder # for now. - KListViewItem.__init__(self,parentitem,self.haldevice.getName(),"","",self.haldevice.getDev(),"") + TDEListViewItem.__init__(self,parentitem,self.haldevice.getName(),"","",self.haldevice.getDev(),"") else: if mountentry.isEnabled(): enabled = i18n("Enabled") @@ -2742,7 +2742,7 @@ class MountListViewItem(KListViewItem): name = self.haldevice.getName() else: name = self.mountentry.getName() - KListViewItem.__init__(self, parentitem, \ + TDEListViewItem.__init__(self, parentitem, \ name, self.mountentry.getMountPoint(), \ self.mountentry.mounttype, \ @@ -2823,11 +2823,11 @@ class MountListViewItem(KListViewItem): self.setPixmap(0,UserIcon(self.mountentry.getIconName())) ############################################################################ -class MountGroupListViewItem(KListViewItem): +class MountGroupListViewItem(TDEListViewItem): ######################################################################## def __init__(self,parentitem,haldevice): self.haldevice = haldevice - KListViewItem.__init__(self,parentitem,self.haldevice.getName(),"","","","") + TDEListViewItem.__init__(self,parentitem,self.haldevice.getName(),"","","","") if self.haldevice is not None: iconname = self.haldevice.iconname @@ -2896,7 +2896,7 @@ class MountConfigApp(programbase): label = QLabel(i18n("Available Disks and Filesystems:"),hb) hb.setStretchFactor(label,1) - self.mountlist = KListView(topwidget,"Mount list") + self.mountlist = TDEListView(topwidget,"Mount list") toplayout.addWidget(self.mountlist) self.mountlist.addColumn(i18n("Name")) self.mountlist.addColumn(i18n("Mount Point")) @@ -2911,7 +2911,7 @@ class MountConfigApp(programbase): # Doubleclick in item opens modify dialogue. self.connect(self.mountlist, SIGNAL("doubleClicked(QListViewItem *)"), self.slotModifyClicked) # Rightclick: Open ContextMenu - self.connect(self.mountlist, SIGNAL("contextMenu(KListView*,QListViewItem*,const QPoint&)"), + self.connect(self.mountlist, SIGNAL("contextMenu(TDEListView*,QListViewItem*,const QPoint&)"), self.slotContextMenu) hbox = QHBox(topwidget) @@ -2965,7 +2965,7 @@ class MountConfigApp(programbase): hal_device = lv_item.haldevice if hal_device is not None and not isinstance(hal_device,MicroHAL.FakeSystemDevice): - self.cmenu = KPopupMenu(self,"MyActions") + self.cmenu = TDEPopupMenu(self,"MyActions") if isinstance(hal_device,MicroHAL.RemovableDisk) or isinstance(lv_item,MountListViewItem): self.cmenu.insertItem(i18n("Modify..."), self.slotModifyClicked, 0, 0) self.cmenu.insertItem(i18n("Delete..."), self.slotDeleteClicked, 0, 1) |