diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-08-10 22:19:39 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-08-10 22:19:39 +0000 |
commit | 93910780efc46524d0f2c6693784b3fa10d26985 (patch) | |
tree | e44cc42ad795bb8399c6558bf8af3887c966fd49 /ksysv/OldView.cpp | |
parent | 4a25ca5c80d9b88fdc1a0d44d1db47da47206899 (diff) | |
download | tdeadmin-93910780efc46524d0f2c6693784b3fa10d26985.tar.gz tdeadmin-93910780efc46524d0f2c6693784b3fa10d26985.zip |
rename the following methods:
tqparent parent
tqmask mask
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdeadmin@1246260 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'ksysv/OldView.cpp')
-rw-r--r-- | ksysv/OldView.cpp | 18 |
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")); } |