diff options
Diffstat (limited to 'ksysguard/gui/SensorDisplayLib')
-rw-r--r-- | ksysguard/gui/SensorDisplayLib/DancingBars.cpp | 2 | ||||
-rw-r--r-- | ksysguard/gui/SensorDisplayLib/DancingBarsSettings.cpp | 18 | ||||
-rw-r--r-- | ksysguard/gui/SensorDisplayLib/FancyPlotter.cpp | 6 | ||||
-rw-r--r-- | ksysguard/gui/SensorDisplayLib/FancyPlotterSettings.cpp | 48 | ||||
-rw-r--r-- | ksysguard/gui/SensorDisplayLib/ListView.cpp | 2 | ||||
-rw-r--r-- | ksysguard/gui/SensorDisplayLib/LogFile.cpp | 20 | ||||
-rw-r--r-- | ksysguard/gui/SensorDisplayLib/MultiMeter.cpp | 2 | ||||
-rw-r--r-- | ksysguard/gui/SensorDisplayLib/ProcessController.cpp | 32 | ||||
-rw-r--r-- | ksysguard/gui/SensorDisplayLib/ProcessList.cpp | 18 | ||||
-rw-r--r-- | ksysguard/gui/SensorDisplayLib/SensorLogger.cpp | 4 |
10 files changed, 76 insertions, 76 deletions
diff --git a/ksysguard/gui/SensorDisplayLib/DancingBars.cpp b/ksysguard/gui/SensorDisplayLib/DancingBars.cpp index 5b09addc0..43fbe549f 100644 --- a/ksysguard/gui/SensorDisplayLib/DancingBars.cpp +++ b/ksysguard/gui/SensorDisplayLib/DancingBars.cpp @@ -104,7 +104,7 @@ void DancingBars::configureSettings() } mSettingsDialog->setSensors( list ); - connect( mSettingsDialog, TQT_SIGNAL( applyClicked() ), TQT_SLOT( applySettings() ) ); + connect( mSettingsDialog, TQ_SIGNAL( applyClicked() ), TQ_SLOT( applySettings() ) ); if ( mSettingsDialog->exec() ) applySettings(); diff --git a/ksysguard/gui/SensorDisplayLib/DancingBarsSettings.cpp b/ksysguard/gui/SensorDisplayLib/DancingBarsSettings.cpp index 9b05d6806..b754791f8 100644 --- a/ksysguard/gui/SensorDisplayLib/DancingBarsSettings.cpp +++ b/ksysguard/gui/SensorDisplayLib/DancingBarsSettings.cpp @@ -181,15 +181,15 @@ DancingBarsSettings::DancingBarsSettings( TQWidget* parent, const char* name ) TQWhatsThis::add( mRemoveButton, i18n( "Push this button to delete the sensor." ) ); pageLayout->addWidget( mRemoveButton, 1, 1 ); - connect( mUseLowerLimit, TQT_SIGNAL( toggled( bool ) ), - mLowerLimit, TQT_SLOT( setEnabled( bool ) ) ); - connect( mUseUpperLimit, TQT_SIGNAL( toggled( bool ) ), - mUpperLimit, TQT_SLOT( setEnabled( bool ) ) ); - - connect( mSensorView, TQT_SIGNAL( selectionChanged( TQListViewItem* ) ), - TQT_SLOT( selectionChanged( TQListViewItem* ) ) ); - connect( mEditButton, TQT_SIGNAL( clicked() ), TQT_SLOT( editSensor() ) ); - connect( mRemoveButton, TQT_SIGNAL( clicked() ), TQT_SLOT( removeSensor() ) ); + connect( mUseLowerLimit, TQ_SIGNAL( toggled( bool ) ), + mLowerLimit, TQ_SLOT( setEnabled( bool ) ) ); + connect( mUseUpperLimit, TQ_SIGNAL( toggled( bool ) ), + mUpperLimit, TQ_SLOT( setEnabled( bool ) ) ); + + connect( mSensorView, TQ_SIGNAL( selectionChanged( TQListViewItem* ) ), + TQ_SLOT( selectionChanged( TQListViewItem* ) ) ); + connect( mEditButton, TQ_SIGNAL( clicked() ), TQ_SLOT( editSensor() ) ); + connect( mRemoveButton, TQ_SIGNAL( clicked() ), TQ_SLOT( removeSensor() ) ); TDEAcceleratorManager::manage( this ); diff --git a/ksysguard/gui/SensorDisplayLib/FancyPlotter.cpp b/ksysguard/gui/SensorDisplayLib/FancyPlotter.cpp index 4e32dc630..eccf470c2 100644 --- a/ksysguard/gui/SensorDisplayLib/FancyPlotter.cpp +++ b/ksysguard/gui/SensorDisplayLib/FancyPlotter.cpp @@ -111,9 +111,9 @@ void FancyPlotter::configureSettings() } mSettingsDialog->setSensors( list ); - connect( mSettingsDialog, TQT_SIGNAL( applyClicked() ), TQT_SLOT( applySettings() ) ); - connect( mSettingsDialog, TQT_SIGNAL( okClicked() ), TQT_SLOT( applySettings() ) ); - connect( mSettingsDialog, TQT_SIGNAL( finished() ), TQT_SLOT( killDialog() ) ); + connect( mSettingsDialog, TQ_SIGNAL( applyClicked() ), TQ_SLOT( applySettings() ) ); + connect( mSettingsDialog, TQ_SIGNAL( okClicked() ), TQ_SLOT( applySettings() ) ); + connect( mSettingsDialog, TQ_SIGNAL( finished() ), TQ_SLOT( killDialog() ) ); mSettingsDialog->show(); } diff --git a/ksysguard/gui/SensorDisplayLib/FancyPlotterSettings.cpp b/ksysguard/gui/SensorDisplayLib/FancyPlotterSettings.cpp index 447d9c718..7e7e15d7d 100644 --- a/ksysguard/gui/SensorDisplayLib/FancyPlotterSettings.cpp +++ b/ksysguard/gui/SensorDisplayLib/FancyPlotterSettings.cpp @@ -257,30 +257,30 @@ FancyPlotterSettings::FancyPlotterSettings( TQWidget* parent, const char* name ) mMoveDownButton->setEnabled( false ); pageLayout->addWidget( mMoveDownButton, 4, 1 ); - connect( mUseAutoRange, TQT_SIGNAL( toggled( bool ) ), mMinValue, - TQT_SLOT( setDisabled( bool ) ) ); - connect( mUseAutoRange, TQT_SIGNAL( toggled( bool ) ), mMaxValue, - TQT_SLOT( setDisabled( bool ) ) ); - connect( mShowVerticalLines, TQT_SIGNAL( toggled( bool ) ), mVerticalLinesDistance, - TQT_SLOT( setEnabled( bool ) ) ); - connect( mShowVerticalLines, TQT_SIGNAL( toggled( bool ) ), mVerticalLinesScroll, - TQT_SLOT( setEnabled( bool ) ) ); - connect( mShowVerticalLines, TQT_SIGNAL( toggled( bool ) ), mVerticalLinesColor, - TQT_SLOT( setEnabled( bool ) ) ); - connect( mShowHorizontalLines, TQT_SIGNAL( toggled( bool ) ), mHorizontalLinesCount, - TQT_SLOT( setEnabled( bool ) ) ); - connect( mShowHorizontalLines, TQT_SIGNAL( toggled( bool ) ), mHorizontalLinesColor, - TQT_SLOT( setEnabled( bool ) ) ); - connect( mShowHorizontalLines, TQT_SIGNAL( toggled( bool ) ), mShowLabels, - TQT_SLOT( setEnabled( bool ) ) ); - connect( mSensorView, TQT_SIGNAL( selectionChanged( TQListViewItem* ) ), - TQT_SLOT( selectionChanged( TQListViewItem* ) ) ); - - connect( mEditButton, TQT_SIGNAL( clicked() ), TQT_SLOT( editSensor() ) ); - connect( mRemoveButton, TQT_SIGNAL( clicked() ), TQT_SLOT( removeSensor() ) ); - connect( mMoveUpButton, TQT_SIGNAL( clicked() ), TQT_SLOT( moveUpSensor() ) ); - connect( mMoveDownButton, TQT_SIGNAL( clicked() ), TQT_SLOT( moveDownSensor() ) ); - connect ( mSensorView, TQT_SIGNAL( doubleClicked( TQListViewItem *, const TQPoint &, int )), TQT_SLOT(editSensor())); + connect( mUseAutoRange, TQ_SIGNAL( toggled( bool ) ), mMinValue, + TQ_SLOT( setDisabled( bool ) ) ); + connect( mUseAutoRange, TQ_SIGNAL( toggled( bool ) ), mMaxValue, + TQ_SLOT( setDisabled( bool ) ) ); + connect( mShowVerticalLines, TQ_SIGNAL( toggled( bool ) ), mVerticalLinesDistance, + TQ_SLOT( setEnabled( bool ) ) ); + connect( mShowVerticalLines, TQ_SIGNAL( toggled( bool ) ), mVerticalLinesScroll, + TQ_SLOT( setEnabled( bool ) ) ); + connect( mShowVerticalLines, TQ_SIGNAL( toggled( bool ) ), mVerticalLinesColor, + TQ_SLOT( setEnabled( bool ) ) ); + connect( mShowHorizontalLines, TQ_SIGNAL( toggled( bool ) ), mHorizontalLinesCount, + TQ_SLOT( setEnabled( bool ) ) ); + connect( mShowHorizontalLines, TQ_SIGNAL( toggled( bool ) ), mHorizontalLinesColor, + TQ_SLOT( setEnabled( bool ) ) ); + connect( mShowHorizontalLines, TQ_SIGNAL( toggled( bool ) ), mShowLabels, + TQ_SLOT( setEnabled( bool ) ) ); + connect( mSensorView, TQ_SIGNAL( selectionChanged( TQListViewItem* ) ), + TQ_SLOT( selectionChanged( TQListViewItem* ) ) ); + + connect( mEditButton, TQ_SIGNAL( clicked() ), TQ_SLOT( editSensor() ) ); + connect( mRemoveButton, TQ_SIGNAL( clicked() ), TQ_SLOT( removeSensor() ) ); + connect( mMoveUpButton, TQ_SIGNAL( clicked() ), TQ_SLOT( moveUpSensor() ) ); + connect( mMoveDownButton, TQ_SIGNAL( clicked() ), TQ_SLOT( moveDownSensor() ) ); + connect ( mSensorView, TQ_SIGNAL( doubleClicked( TQListViewItem *, const TQPoint &, int )), TQ_SLOT(editSensor())); TDEAcceleratorManager::manage( this ); } diff --git a/ksysguard/gui/SensorDisplayLib/ListView.cpp b/ksysguard/gui/SensorDisplayLib/ListView.cpp index 5b748e9c0..828832668 100644 --- a/ksysguard/gui/SensorDisplayLib/ListView.cpp +++ b/ksysguard/gui/SensorDisplayLib/ListView.cpp @@ -329,7 +329,7 @@ ListView::configureSettings() { lvs = new ListViewSettings(this, "ListViewSettings"); TQ_CHECK_PTR(lvs); - connect(lvs, TQT_SIGNAL(applyClicked()), TQT_SLOT(applySettings())); + connect(lvs, TQ_SIGNAL(applyClicked()), TQ_SLOT(applySettings())); TQColorGroup colorGroup = monitor->colorGroup(); lvs->setGridColor(colorGroup.color(TQColorGroup::Link)); diff --git a/ksysguard/gui/SensorDisplayLib/LogFile.cpp b/ksysguard/gui/SensorDisplayLib/LogFile.cpp index 763953163..c92594fa6 100644 --- a/ksysguard/gui/SensorDisplayLib/LogFile.cpp +++ b/ksysguard/gui/SensorDisplayLib/LogFile.cpp @@ -92,16 +92,16 @@ void LogFile::configureSettings(void) lfs->ruleList->insertStringList(filterRules); lfs->title->setText(title()); - connect(lfs->okButton, TQT_SIGNAL(clicked()), lfs, TQT_SLOT(accept())); - connect(lfs->applyButton, TQT_SIGNAL(clicked()), this, TQT_SLOT(applySettings())); - connect(lfs->cancelButton, TQT_SIGNAL(clicked()), lfs, TQT_SLOT(reject())); - - connect(lfs->fontButton, TQT_SIGNAL(clicked()), this, TQT_SLOT(settingsFontSelection())); - connect(lfs->addButton, TQT_SIGNAL(clicked()), this, TQT_SLOT(settingsAddRule())); - connect(lfs->deleteButton, TQT_SIGNAL(clicked()), this, TQT_SLOT(settingsDeleteRule())); - connect(lfs->changeButton, TQT_SIGNAL(clicked()), this, TQT_SLOT(settingsChangeRule())); - connect(lfs->ruleList, TQT_SIGNAL(selected(int)), this, TQT_SLOT(settingsRuleListSelected(int))); - connect(lfs->ruleText, TQT_SIGNAL(returnPressed()), this, TQT_SLOT(settingsAddRule())); + connect(lfs->okButton, TQ_SIGNAL(clicked()), lfs, TQ_SLOT(accept())); + connect(lfs->applyButton, TQ_SIGNAL(clicked()), this, TQ_SLOT(applySettings())); + connect(lfs->cancelButton, TQ_SIGNAL(clicked()), lfs, TQ_SLOT(reject())); + + connect(lfs->fontButton, TQ_SIGNAL(clicked()), this, TQ_SLOT(settingsFontSelection())); + connect(lfs->addButton, TQ_SIGNAL(clicked()), this, TQ_SLOT(settingsAddRule())); + connect(lfs->deleteButton, TQ_SIGNAL(clicked()), this, TQ_SLOT(settingsDeleteRule())); + connect(lfs->changeButton, TQ_SIGNAL(clicked()), this, TQ_SLOT(settingsChangeRule())); + connect(lfs->ruleList, TQ_SIGNAL(selected(int)), this, TQ_SLOT(settingsRuleListSelected(int))); + connect(lfs->ruleText, TQ_SIGNAL(returnPressed()), this, TQ_SLOT(settingsAddRule())); if (lfs->exec()) { applySettings(); diff --git a/ksysguard/gui/SensorDisplayLib/MultiMeter.cpp b/ksysguard/gui/SensorDisplayLib/MultiMeter.cpp index 111c4787b..382b6cb13 100644 --- a/ksysguard/gui/SensorDisplayLib/MultiMeter.cpp +++ b/ksysguard/gui/SensorDisplayLib/MultiMeter.cpp @@ -202,7 +202,7 @@ MultiMeter::configureSettings() mms->setAlarmDigitColor(alarmDigitColor); mms->setMeterBackgroundColor(lcd->backgroundColor()); - connect(mms, TQT_SIGNAL(applyClicked()), TQT_SLOT(applySettings())); + connect(mms, TQ_SIGNAL(applyClicked()), TQ_SLOT(applySettings())); if (mms->exec()) applySettings(); diff --git a/ksysguard/gui/SensorDisplayLib/ProcessController.cpp b/ksysguard/gui/SensorDisplayLib/ProcessController.cpp index 91851d113..cb4579031 100644 --- a/ksysguard/gui/SensorDisplayLib/ProcessController.cpp +++ b/ksysguard/gui/SensorDisplayLib/ProcessController.cpp @@ -81,12 +81,12 @@ ProcessController::ProcessController(TQWidget* parent, const char* name, const T pListSearchLine = new TDEListViewSearchLineWidget(pList, this, "process_list_search_line"); gmSearch->addWidget(pListSearchLine, 1); - connect(pList, TQT_SIGNAL(killProcess(int, int)), - this, TQT_SLOT(killProcess(int, int))); - connect(pList, TQT_SIGNAL(reniceProcess(const TQValueList<int> &, int)), - this, TQT_SLOT(reniceProcess(const TQValueList<int> &, int))); - connect(pList, TQT_SIGNAL(listModified(bool)), - this, TQT_SLOT(setModified(bool))); + connect(pList, TQ_SIGNAL(killProcess(int, int)), + this, TQ_SLOT(killProcess(int, int))); + connect(pList, TQ_SIGNAL(reniceProcess(const TQValueList<int> &, int)), + this, TQ_SLOT(reniceProcess(const TQValueList<int> &, int))); + connect(pList, TQ_SIGNAL(listModified(bool)), + this, TQ_SLOT(setModified(bool))); /* Create the combo box to configure the process filter. The * cbFilter must be created prior to constructing pList as the @@ -103,27 +103,27 @@ ProcessController::ProcessController(TQWidget* parent, const char* name, const T xbTreeView = new TQCheckBox(i18n("&Tree View"), this, "xbTreeView"); TQ_CHECK_PTR(xbTreeView); xbTreeView->setMinimumSize(xbTreeView->sizeHint()); - connect(xbTreeView, TQT_SIGNAL(toggled(bool)), - this, TQT_SLOT(setTreeView(bool))); + connect(xbTreeView, TQ_SIGNAL(toggled(bool)), + this, TQ_SLOT(setTreeView(bool))); /* When the both cbFilter and pList are constructed we can connect the * missing link. */ - connect(cbFilter, TQT_SIGNAL(activated(int)), - this, TQT_SLOT(filterModeChanged(int))); + connect(cbFilter, TQ_SIGNAL(activated(int)), + this, TQ_SLOT(filterModeChanged(int))); // Create the 'Refresh' button. bRefresh = new KPushButton( KGuiItem( i18n( "&Refresh" ), "reload" ), this, "bRefresh" ); TQ_CHECK_PTR(bRefresh); bRefresh->setMinimumSize(bRefresh->sizeHint()); - connect(bRefresh, TQT_SIGNAL(clicked()), this, TQT_SLOT(updateList())); + connect(bRefresh, TQ_SIGNAL(clicked()), this, TQ_SLOT(updateList())); // Create the 'Kill' button. bKill = new KPushButton(i18n("&Kill"), this, "bKill"); TQ_CHECK_PTR(bKill); bKill->setMinimumSize(bKill->sizeHint()); - connect(bKill, TQT_SIGNAL(clicked()), this, TQT_SLOT(killProcess())); + connect(bKill, TQ_SIGNAL(clicked()), this, TQ_SLOT(killProcess())); /* Disable the kill button until we know that the daemon supports the * kill command. */ bKill->setEnabled(false); @@ -154,7 +154,7 @@ ProcessController::ProcessController(TQWidget* parent, const char* name, const T void ProcessController::setSearchFocus() { //stupid search line widget. See rant in fixTabOrder if(!pListSearchLine->searchLine()) - TQTimer::singleShot(100, this, TQT_SLOT(setSearchFocus())); + TQTimer::singleShot(100, this, TQ_SLOT(setSearchFocus())); else { pListSearchLine->searchLine()->setFocus(); } @@ -167,7 +167,7 @@ void ProcessController::fixTabOrder() { // //Did i mention I hate this? if(!pListSearchLine->searchLine()) - TQTimer::singleShot(100, this, TQT_SLOT(fixTabOrder())); + TQTimer::singleShot(100, this, TQ_SLOT(fixTabOrder())); else { setTabOrder(pListSearchLine->searchLine(), cbFilter); setTabOrder(cbFilter, pList); @@ -224,7 +224,7 @@ ProcessController::killProcess(int pid, int sig) if ( !timerOn() ) // give ksysguardd time to update its proccess list - TQTimer::singleShot(3000, this, TQT_SLOT(updateList())); + TQTimer::singleShot(3000, this, TQ_SLOT(updateList())); else updateList(); } @@ -274,7 +274,7 @@ ProcessController::killProcess() if ( !timerOn()) // give ksysguardd time to update its proccess list - TQTimer::singleShot(3000, this, TQT_SLOT(updateList())); + TQTimer::singleShot(3000, this, TQ_SLOT(updateList())); else updateList(); } diff --git a/ksysguard/gui/SensorDisplayLib/ProcessList.cpp b/ksysguard/gui/SensorDisplayLib/ProcessList.cpp index 9293ef6a0..b7e8b0c72 100644 --- a/ksysguard/gui/SensorDisplayLib/ProcessList.cpp +++ b/ksysguard/gui/SensorDisplayLib/ProcessList.cpp @@ -221,19 +221,19 @@ ProcessList::ProcessList(TQWidget *parent, const char* name) /* The filter mode is controlled by a combo box of the parent. If * the mode is changed we get a signal. */ - connect(parent, TQT_SIGNAL(setFilterMode(int)), - this, TQT_SLOT(setFilterMode(int))); + connect(parent, TQ_SIGNAL(setFilterMode(int)), + this, TQ_SLOT(setFilterMode(int))); /* We need to catch this signal to show various popup menues. */ connect(this, - TQT_SIGNAL(rightButtonPressed(TQListViewItem*, const TQPoint&, int)), + TQ_SIGNAL(rightButtonPressed(TQListViewItem*, const TQPoint&, int)), this, - TQT_SLOT(handleRMBPressed(TQListViewItem*, const TQPoint&, int))); + TQ_SLOT(handleRMBPressed(TQListViewItem*, const TQPoint&, int))); /* Since Qt does not tell us the sorting details we have to do our * own bookkeping, so we can save and restore the sorting * settings. */ - connect(header(), TQT_SIGNAL(clicked(int)), this, TQT_SLOT(sortingChanged(int))); + connect(header(), TQ_SIGNAL(clicked(int)), this, TQ_SLOT(sortingChanged(int))); ctrlKeyDown = false; shiftKeyDown = false; @@ -260,10 +260,10 @@ ProcessList::ProcessList(TQWidget *parent, const char* name) headerPM->insertItem(i18n("Add Column"), HEADER_ADD); headerPM->insertItem(i18n("Help on Column"), HEADER_HELP); - connect(header(), TQT_SIGNAL(sizeChange(int, int, int)), - this, TQT_SLOT(sizeChanged(int, int, int))); - connect(header(), TQT_SIGNAL(indexChange(int, int, int)), - this, TQT_SLOT(indexChanged(int, int, int))); + connect(header(), TQ_SIGNAL(sizeChange(int, int, int)), + this, TQ_SLOT(sizeChanged(int, int, int))); + connect(header(), TQ_SIGNAL(indexChange(int, int, int)), + this, TQ_SLOT(indexChanged(int, int, int))); killSupported = false; setModified(false); diff --git a/ksysguard/gui/SensorDisplayLib/SensorLogger.cpp b/ksysguard/gui/SensorDisplayLib/SensorLogger.cpp index 9cdf1f507..63cee160b 100644 --- a/ksysguard/gui/SensorDisplayLib/SensorLogger.cpp +++ b/ksysguard/gui/SensorDisplayLib/SensorLogger.cpp @@ -146,7 +146,7 @@ SensorLogger::SensorLogger(TQWidget *parent, const char *name, const TQString& t monitor->setPalette(TQPalette(cgroup, cgroup, cgroup)); monitor->setSelectionMode(TQListView::NoSelection); - connect(monitor, TQT_SIGNAL(rightButtonClicked(TQListViewItem*, const TQPoint&, int)), this, TQT_SLOT(RMBClicked(TQListViewItem*, const TQPoint&, int))); + connect(monitor, TQ_SIGNAL(rightButtonClicked(TQListViewItem*, const TQPoint&, int)), this, TQ_SLOT(RMBClicked(TQListViewItem*, const TQPoint&, int))); setTitle(i18n("Sensor Logger")); @@ -237,7 +237,7 @@ SensorLogger::configureSettings() sls = new SensorLoggerSettings(this, "SensorLoggerSettings"); TQ_CHECK_PTR(sls); - connect( sls, TQT_SIGNAL( applyClicked() ), TQT_SLOT( applySettings() ) ); + connect( sls, TQ_SIGNAL( applyClicked() ), TQ_SLOT( applySettings() ) ); sls->setTitle(title()); sls->setForegroundColor(cgroup.text()); |