summaryrefslogtreecommitdiffstats
path: root/mountconfig/SMBShareSelectDialog.py
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-02-01 15:05:56 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-02-01 15:05:56 -0600
commit2a081fc8bfcf498b558c5c5434069572f6245b8e (patch)
treeafad48e0a2769d1079cbc6af0d890bd2e0e1dbbf /mountconfig/SMBShareSelectDialog.py
parent671df160874c6e4ff50b230a5e5f1eb35f1c6464 (diff)
downloadtde-guidance-2a081fc8bfcf498b558c5c5434069572f6245b8e.tar.gz
tde-guidance-2a081fc8bfcf498b558c5c5434069572f6245b8e.zip
Rename a number of classes to enhance compatibility with KDE4
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)