summaryrefslogtreecommitdiffstats
path: root/ksysguard/gui/SensorDisplayLib/ProcessController.cc
diff options
context:
space:
mode:
Diffstat (limited to 'ksysguard/gui/SensorDisplayLib/ProcessController.cc')
-rw-r--r--ksysguard/gui/SensorDisplayLib/ProcessController.cc20
1 files changed, 10 insertions, 10 deletions
diff --git a/ksysguard/gui/SensorDisplayLib/ProcessController.cc b/ksysguard/gui/SensorDisplayLib/ProcessController.cc
index ba607b7fe..f02b02af9 100644
--- a/ksysguard/gui/SensorDisplayLib/ProcessController.cc
+++ b/ksysguard/gui/SensorDisplayLib/ProcessController.cc
@@ -56,7 +56,7 @@ ProcessController::ProcessController(TQWidget* parent, const char* name, const T
dict.insert("PPID", new TQString(i18n("PPID")));
dict.insert("UID", new TQString(i18n("UID")));
dict.insert("GID", new TQString(i18n("GID")));
- dict.insert("tqStatus", new TQString(i18n("tqStatus")));
+ dict.insert("Status", new TQString(i18n("Status")));
dict.insert("User%", new TQString(i18n("User%")));
dict.insert("System%", new TQString(i18n("System%")));
dict.insert("Nice", new TQString(i18n("Nice")));
@@ -65,7 +65,7 @@ ProcessController::ProcessController(TQWidget* parent, const char* name, const T
dict.insert("Login", new TQString(i18n("Login")));
dict.insert("Command", new TQString(i18n("Command")));
- // Setup the tqgeometry management.
+ // Setup the geometry management.
gm = new TQVBoxLayout(this, 10);
Q_CHECK_PTR(gm);
gm->addSpacing(15);
@@ -98,11 +98,11 @@ ProcessController::ProcessController(TQWidget* parent, const char* name, const T
cbFilter->insertItem(i18n("System Processes"), 1);
cbFilter->insertItem(i18n("User Processes"), 2);
cbFilter->insertItem(i18n("Own Processes"), 3);
- cbFilter->setMinimumSize(cbFilter->tqsizeHint());
+ cbFilter->setMinimumSize(cbFilter->sizeHint());
// Create the check box to switch between tree view and list view.
xbTreeView = new TQCheckBox(i18n("&Tree"), this, "xbTreeView");
Q_CHECK_PTR(xbTreeView);
- xbTreeView->setMinimumSize(xbTreeView->tqsizeHint());
+ xbTreeView->setMinimumSize(xbTreeView->sizeHint());
connect(xbTreeView, TQT_SIGNAL(toggled(bool)),
this, TQT_SLOT(setTreeView(bool)));
@@ -116,13 +116,13 @@ ProcessController::ProcessController(TQWidget* parent, const char* name, const T
bRefresh = new KPushButton( KGuiItem( i18n( "&Refresh" ), "reload" ),
this, "bRefresh" );
Q_CHECK_PTR(bRefresh);
- bRefresh->setMinimumSize(bRefresh->tqsizeHint());
+ bRefresh->setMinimumSize(bRefresh->sizeHint());
connect(bRefresh, TQT_SIGNAL(clicked()), this, TQT_SLOT(updateList()));
// Create the 'Kill' button.
bKill = new KPushButton(i18n("&Kill"), this, "bKill");
Q_CHECK_PTR(bKill);
- bKill->setMinimumSize(bKill->tqsizeHint());
+ bKill->setMinimumSize(bKill->sizeHint());
connect(bKill, TQT_SIGNAL(clicked()), this, TQT_SLOT(killProcess()));
/* Disable the kill button until we know that the daemon supports the
* kill command. */
@@ -147,7 +147,7 @@ ProcessController::ProcessController(TQWidget* parent, const char* name, const T
setPlotterWidget(pList);
- setMinimumSize(tqsizeHint());
+ setMinimumSize(sizeHint());
fixTabOrder();
}
@@ -247,7 +247,7 @@ ProcessController::killProcess()
KDialogBase *dlg = new KDialogBase ( i18n ("Kill Process"),
KDialogBase::Yes | KDialogBase::Cancel,
- KDialogBase::Yes, KDialogBase::Cancel, this->tqparentWidget(),
+ KDialogBase::Yes, KDialogBase::Cancel, this->parentWidget(),
"killconfirmation",
true, true, KGuiItem(i18n("Kill")));
@@ -298,7 +298,7 @@ ProcessController::answerReceived(int id, const TQString& answer)
{
case 1:
{
- /* We have received the answer to a ps? command that tqcontains
+ /* We have received the answer to a ps? command that contains
* the information about the table headers. */
KSGRD::SensorTokenizer lines(answer, '\n');
if (lines.count() != 2)
@@ -325,7 +325,7 @@ ProcessController::answerReceived(int id, const TQString& answer)
break;
}
case 2:
- /* We have received the answer to a ps command that tqcontains a
+ /* We have received the answer to a ps command that contains a
* list of processes with various additional information. */
pList->update(answer);
pListSearchLine->searchLine()->updateSearch(); //re-apply the filter