diff options
| author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-01-03 20:16:47 +0000 | 
|---|---|---|
| committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-01-03 20:16:47 +0000 | 
| commit | 495d08bc2db58ee7fc4ea55a7158f2f61b82fc56 (patch) | |
| tree | daabcb652c07b9a17cad88ca50b63a2d91ead4a3 /ksysguard/gui/SensorDisplayLib/ProcessController.cc | |
| parent | 50001f1757f97510e80cb1990e2f2d5b00144c2a (diff) | |
| download | tdebase-495d08bc2db58ee7fc4ea55a7158f2f61b82fc56.tar.gz tdebase-495d08bc2db58ee7fc4ea55a7158f2f61b82fc56.zip | |
Automated conversion for enhanced compatibility with TQt for Qt4 3.4.0 TP1
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdebase@1211357 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'ksysguard/gui/SensorDisplayLib/ProcessController.cc')
| -rw-r--r-- | ksysguard/gui/SensorDisplayLib/ProcessController.cc | 20 | 
1 files changed, 10 insertions, 10 deletions
| diff --git a/ksysguard/gui/SensorDisplayLib/ProcessController.cc b/ksysguard/gui/SensorDisplayLib/ProcessController.cc index f02b02af9..ba607b7fe 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("Status", new TQString(i18n("Status"))); +	dict.insert("tqStatus", new TQString(i18n("tqStatus")));  	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 geometry management. +	// Setup the tqgeometry 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->sizeHint()); +	cbFilter->setMinimumSize(cbFilter->tqsizeHint());  	// 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->sizeHint()); +	xbTreeView->setMinimumSize(xbTreeView->tqsizeHint());  	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->sizeHint()); +	bRefresh->setMinimumSize(bRefresh->tqsizeHint());  	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->sizeHint()); +	bKill->setMinimumSize(bKill->tqsizeHint());  	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(sizeHint()); +	setMinimumSize(tqsizeHint());  	fixTabOrder();   } @@ -247,7 +247,7 @@ ProcessController::killProcess()  		KDialogBase *dlg = new KDialogBase (  i18n ("Kill Process"),   						      KDialogBase::Yes | KDialogBase::Cancel, -						      KDialogBase::Yes, KDialogBase::Cancel, this->parentWidget(), +						      KDialogBase::Yes, KDialogBase::Cancel, this->tqparentWidget(),  						      "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 contains +		/* We have received the answer to a ps? command that tqcontains  		 * 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 contains a +		/* We have received the answer to a ps command that tqcontains a  		 * list of processes with various additional information. */  		pList->update(answer);  		pListSearchLine->searchLine()->updateSearch(); //re-apply the filter | 
