summaryrefslogtreecommitdiffstats
path: root/serviceconfig
diff options
context:
space:
mode:
authorTimothy Pearson <[email protected]>2013-02-01 15:05:56 -0600
committerTimothy Pearson <[email protected]>2013-02-01 15:05:56 -0600
commit2a081fc8bfcf498b558c5c5434069572f6245b8e (patch)
treeafad48e0a2769d1079cbc6af0d890bd2e0e1dbbf /serviceconfig
parent671df160874c6e4ff50b230a5e5f1eb35f1c6464 (diff)
downloadtde-guidance-2a081fc8bfcf498b558c5c5434069572f6245b8e.tar.gz
tde-guidance-2a081fc8bfcf498b558c5c5434069572f6245b8e.zip
Rename a number of classes to enhance compatibility with KDE4
Diffstat (limited to 'serviceconfig')
-rwxr-xr-xserviceconfig/serviceconfig.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/serviceconfig/serviceconfig.py b/serviceconfig/serviceconfig.py
index 233ebfb..f302d7c 100755
--- a/serviceconfig/serviceconfig.py
+++ b/serviceconfig/serviceconfig.py
@@ -1006,7 +1006,7 @@ class SysVInitApp(programbase):
widget = QWidget(hb)
hb.setStretchFactor(widget,1)
- self.servicelistview = KListView(vb)
+ self.servicelistview = TDEListView(vb)
self.servicelistview.addColumn(i18n("Service"))
self.servicelistview.addColumn(i18n("Start at Boot"))
self.servicelistview.addColumn(i18n("Status"))
@@ -1060,7 +1060,7 @@ class SysVInitApp(programbase):
if not isroot:
self.disableStuff()
else:
- self.connect(self.servicelistview, SIGNAL("contextMenu(KListView*,QListViewItem*,const QPoint&)"),
+ self.connect(self.servicelistview, SIGNAL("contextMenu(TDEListView*,QListViewItem*,const QPoint&)"),
self.slotServiceContextMenu)
self.__fillListView(self.currentrunlevel)
@@ -1083,7 +1083,7 @@ class SysVInitApp(programbase):
self.zapbutton.setDisabled(True)
def slotServiceContextMenu(self,l,v,p):
- self.cmenu = KPopupMenu(self,"MyActions")
+ self.cmenu = TDEPopupMenu(self,"MyActions")
self.cmenu.insertItem(i18n("Start..."), self.slotStartButton)
self.cmenu.insertItem(i18n("Stop..."), self.slotStopButton)
self.cmenu.insertItem(i18n("Restart..."), self.slotRestartButton)