summaryrefslogtreecommitdiffstats
path: root/ksysv/OldView.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'ksysv/OldView.cpp')
-rw-r--r--ksysv/OldView.cpp18
1 files changed, 9 insertions, 9 deletions
diff --git a/ksysv/OldView.cpp b/ksysv/OldView.cpp
index bb3b46e..dabf882 100644
--- a/ksysv/OldView.cpp
+++ b/ksysv/OldView.cpp
@@ -72,8 +72,8 @@
#include "ActionList.h"
#include "TopWidget.h"
-KSVContent::KSVContent (KPopupMenu* openWithMenu, KSVTopLevel* tqparent, const char* name)
- : TQSplitter (Qt::Vertical, tqparent, name),
+KSVContent::KSVContent (KPopupMenu* openWithMenu, KSVTopLevel* parent, const char* name)
+ : TQSplitter (Qt::Vertical, parent, name),
startRL (new KSVDragList*[ksv::runlevelNumber]),
stopRL (new KSVDragList*[ksv::runlevelNumber]),
conf(KSVConfig::self()),
@@ -84,12 +84,12 @@ KSVContent::KSVContent (KPopupMenu* openWithMenu, KSVTopLevel* tqparent, const c
{
setOpaqueResize( KGlobalSettings::opaqueResize() );
- KXMLGUIFactory* factory = tqparent->factory();
- mItemMenu = static_cast<KPopupMenu*> (factory->container ("item_menu", tqparent));
+ KXMLGUIFactory* factory = parent->factory();
+ mItemMenu = static_cast<KPopupMenu*> (factory->container ("item_menu", parent));
mItemMenu->insertTitle (i18n ("Runlevel Menu"), -1, 0);
- mContextMenu = static_cast<KPopupMenu*> (factory->container ("list_menu", tqparent));
+ mContextMenu = static_cast<KPopupMenu*> (factory->container ("list_menu", parent));
mContextMenu->insertTitle (i18n ("Runlevel Menu"), -1, 0);
- mScriptMenu = static_cast<KPopupMenu*> (factory->container ("script_menu", tqparent));
+ mScriptMenu = static_cast<KPopupMenu*> (factory->container ("script_menu", parent));
mScriptMenu->insertTitle (i18n ("Services Menu"), -1, 0);
mScroller = new KScroller (this);
@@ -618,7 +618,7 @@ void KSVContent::stopService (const TQString& path)
_proc->start(KProcess::NotifyOnExit, KProcess::AllOutput);
- // notify tqparent
+ // notify parent
emit sigRun(path + i18n(" stop"));
}
@@ -644,7 +644,7 @@ void KSVContent::startService (const TQString& path)
_proc->start(KProcess::NotifyOnExit, KProcess::AllOutput);
- // notify tqparent
+ // notify parent
emit sigRun(path + i18n(" start"));
}
@@ -684,7 +684,7 @@ void KSVContent::restartService (const TQString& path)
_proc->start(KProcess::NotifyOnExit, KProcess::AllOutput);
- // notify tqparent
+ // notify parent
emit sigRun(path + i18n(" restart"));
}