summaryrefslogtreecommitdiffstats
path: root/mountconfig/SMBShareSelectDialog.py
diff options
context:
space:
mode:
Diffstat (limited to 'mountconfig/SMBShareSelectDialog.py')
-rw-r--r--mountconfig/SMBShareSelectDialog.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/mountconfig/SMBShareSelectDialog.py b/mountconfig/SMBShareSelectDialog.py
index f76e561..d3fb794 100644
--- a/mountconfig/SMBShareSelectDialog.py
+++ b/mountconfig/SMBShareSelectDialog.py
@@ -50,7 +50,7 @@ class SMBShareSelectDialog(KDialogBase):
hbox2 = QHBox(vbox)
# The main treeview where the action happens.
- self.treeview = KListView(hbox2)
+ self.treeview = TDEListView(hbox2)
self.treeview.addColumn("(hidden)")
self.treeview.header().hide()
self.treeview.setRootIsDecorated(True)
@@ -168,7 +168,7 @@ class SMBShareSelectDialog(KDialogBase):
########################################################################
def setOpen(self,item,open):
if item.isResolved():
- KListView.setOpen(self.treeview,item,open)
+ TDEListView.setOpen(self.treeview,item,open)
else:
item.startResolve(True)
@@ -379,7 +379,7 @@ class SMBShareSelectDialog(KDialogBase):
self.reconnectbutton.setEnabled(False)
############################################################################
-class SMBShareListViewItem(KListViewItem):
+class SMBShareListViewItem(TDEListViewItem):
# Return codes for selectURL()
OPEN_SUCCESS = 1
OPEN_SUCCESS_INVALID = 2
@@ -394,7 +394,7 @@ class SMBShareListViewItem(KListViewItem):
########################################################################
def __init__(self,parentitem,name,url,smbdialog):
- KListViewItem.__init__(self,parentitem,name)
+ TDEListViewItem.__init__(self,parentitem,name)
if not isinstance(parentitem,SMBShareListViewItem):
self._setIcon(0)
self.setSelectable(False)