diff options
Diffstat (limited to 'ksysguard/gui/SensorDisplayLib')
9 files changed, 19 insertions, 19 deletions
diff --git a/ksysguard/gui/SensorDisplayLib/DancingBarsSettings.cc b/ksysguard/gui/SensorDisplayLib/DancingBarsSettings.cc index 1b97cc25f..c6ad058b3 100644 --- a/ksysguard/gui/SensorDisplayLib/DancingBarsSettings.cc +++ b/ksysguard/gui/SensorDisplayLib/DancingBarsSettings.cc @@ -162,7 +162,7 @@ DancingBarsSettings::DancingBarsSettings( TQWidget* parent, const char* name ) pageLayout = new TQGridLayout( page, 3, 2, 0, spacingHint() ); pageLayout->setRowStretch( 2, 1 ); - mSensorView = new KListView( page ); + mSensorView = new TDEListView( page ); mSensorView->addColumn( i18n( "Host" ) ); mSensorView->addColumn( i18n( "Sensor" ) ); mSensorView->addColumn( i18n( "Label" ) ); @@ -191,7 +191,7 @@ DancingBarsSettings::DancingBarsSettings( TQWidget* parent, const char* name ) connect( mEditButton, TQT_SIGNAL( clicked() ), TQT_SLOT( editSensor() ) ); connect( mRemoveButton, TQT_SIGNAL( clicked() ), TQT_SLOT( removeSensor() ) ); - KAcceleratorManager::manage( this ); + TDEAcceleratorManager::manage( this ); mTitle->setFocus(); } diff --git a/ksysguard/gui/SensorDisplayLib/DancingBarsSettings.h b/ksysguard/gui/SensorDisplayLib/DancingBarsSettings.h index 5b268ad7f..aa9d580bd 100644 --- a/ksysguard/gui/SensorDisplayLib/DancingBarsSettings.h +++ b/ksysguard/gui/SensorDisplayLib/DancingBarsSettings.h @@ -30,7 +30,7 @@ class KColorButton; class KDoubleSpinBox; class KIntNumInput; class KLineEdit; -class KListView; +class TDEListView; class TQCheckBox; class TQListViewItem; @@ -94,7 +94,7 @@ class DancingBarsSettings : public KDialogBase KDoubleSpinBox *mLowerLimit; KDoubleSpinBox *mUpperLimit; KLineEdit *mTitle; - KListView *mSensorView; + TDEListView *mSensorView; KIntNumInput *mFontSize; TQCheckBox *mUseLowerLimit; diff --git a/ksysguard/gui/SensorDisplayLib/FancyPlotterSettings.cc b/ksysguard/gui/SensorDisplayLib/FancyPlotterSettings.cc index 559d309c7..0c0ee3b7d 100644 --- a/ksysguard/gui/SensorDisplayLib/FancyPlotterSettings.cc +++ b/ksysguard/gui/SensorDisplayLib/FancyPlotterSettings.cc @@ -226,7 +226,7 @@ FancyPlotterSettings::FancyPlotterSettings( TQWidget* parent, const char* name ) pageLayout->setRowStretch( 2, 1 ); pageLayout->setRowStretch( 5, 1 ); - mSensorView = new KListView( page ); + mSensorView = new TDEListView( page ); mSensorView->addColumn("" , 0); mSensorView->addColumn( i18n( "Host" ) ); mSensorView->addColumn( i18n( "Sensor" ) ); @@ -282,7 +282,7 @@ FancyPlotterSettings::FancyPlotterSettings( TQWidget* parent, const char* name ) connect( mMoveDownButton, TQT_SIGNAL( clicked() ), TQT_SLOT( moveDownSensor() ) ); connect ( mSensorView, TQT_SIGNAL( doubleClicked( TQListViewItem *, const TQPoint &, int )), TQT_SLOT(editSensor())); - KAcceleratorManager::manage( this ); + TDEAcceleratorManager::manage( this ); } FancyPlotterSettings::~FancyPlotterSettings() diff --git a/ksysguard/gui/SensorDisplayLib/FancyPlotterSettings.h b/ksysguard/gui/SensorDisplayLib/FancyPlotterSettings.h index 8b10abd8d..010b4938b 100644 --- a/ksysguard/gui/SensorDisplayLib/FancyPlotterSettings.h +++ b/ksysguard/gui/SensorDisplayLib/FancyPlotterSettings.h @@ -29,7 +29,7 @@ class KColorButton; class KIntNumInput; class KLineEdit; -class KListView; +class TDEListView; class TQCheckBox; class TQListViewItem; @@ -121,7 +121,7 @@ class FancyPlotterSettings : public KDialogBase KIntNumInput *mVerticalLinesDistance; KIntNumInput *mHorizontalLinesCount; KIntNumInput *mFontSize; - KListView *mSensorView; + TDEListView *mSensorView; TQCheckBox *mShowVerticalLines; TQCheckBox *mShowHorizontalLines; diff --git a/ksysguard/gui/SensorDisplayLib/LogFile.cc b/ksysguard/gui/SensorDisplayLib/LogFile.cc index bb29af7a9..bae2d0e7c 100644 --- a/ksysguard/gui/SensorDisplayLib/LogFile.cc +++ b/ksysguard/gui/SensorDisplayLib/LogFile.cc @@ -115,7 +115,7 @@ void LogFile::settingsFontSelection() { TQFont tmpFont = lfs->fontButton->font(); - if (KFontDialog::getFont(tmpFont) == KFontDialog::Accepted) { + if (TDEFontDialog::getFont(tmpFont) == TDEFontDialog::Accepted) { lfs->fontButton->setFont(tmpFont); } } diff --git a/ksysguard/gui/SensorDisplayLib/ProcessController.cc b/ksysguard/gui/SensorDisplayLib/ProcessController.cc index 664870374..c7cfa0ca7 100644 --- a/ksysguard/gui/SensorDisplayLib/ProcessController.cc +++ b/ksysguard/gui/SensorDisplayLib/ProcessController.cc @@ -78,7 +78,7 @@ ProcessController::ProcessController(TQWidget* parent, const char* name, const T pList = new ProcessList(this, "pList"); TQ_CHECK_PTR(pList); pList->setShowSortIndicator(true); - pListSearchLine = new KListViewSearchLineWidget(pList, this, "process_list_search_line"); + pListSearchLine = new TDEListViewSearchLineWidget(pList, this, "process_list_search_line"); gmSearch->addWidget(pListSearchLine, 1); connect(pList, TQT_SIGNAL(killProcess(int, int)), diff --git a/ksysguard/gui/SensorDisplayLib/ProcessController.h b/ksysguard/gui/SensorDisplayLib/ProcessController.h index 69445b91e..9df70cc3b 100644 --- a/ksysguard/gui/SensorDisplayLib/ProcessController.h +++ b/ksysguard/gui/SensorDisplayLib/ProcessController.h @@ -38,7 +38,7 @@ class TQHBoxLayout; class TQCheckBox; class TQComboBox; class KPushButton; -class KListViewSearchLineWidget; +class TDEListViewSearchLineWidget; extern TDEApplication* Kapp; @@ -133,7 +133,7 @@ private: ProcessList* pList; ///Layout for the search line and process filter combo box TQHBoxLayout* gmSearch; - KListViewSearchLineWidget *pListSearchLine; + TDEListViewSearchLineWidget *pListSearchLine; TQHBoxLayout* gm1; diff --git a/ksysguard/gui/SensorDisplayLib/ProcessList.cc b/ksysguard/gui/SensorDisplayLib/ProcessList.cc index 4fd3e766e..507e57927 100644 --- a/ksysguard/gui/SensorDisplayLib/ProcessList.cc +++ b/ksysguard/gui/SensorDisplayLib/ProcessList.cc @@ -101,7 +101,7 @@ int ProcessLVI::compare( TQListViewItem *item, int col, bool ascending ) const } ProcessList::ProcessList(TQWidget *parent, const char* name) - : KListView(parent, name) + : TDEListView(parent, name) { iconCache.setAutoDelete(true); @@ -952,7 +952,7 @@ ProcessList::keyPressEvent(TQKeyEvent *e) if (e->key() == Key_Control) { ctrlKeyDown = true; } - KListView::keyPressEvent(e); + TDEListView::keyPressEvent(e); } void @@ -964,7 +964,7 @@ ProcessList::keyReleaseEvent(TQKeyEvent *e) if (e->key() == Key_Control) { ctrlKeyDown = false; } - KListView::keyReleaseEvent(e); + TDEListView::keyReleaseEvent(e); } #include "ProcessList.moc" diff --git a/ksysguard/gui/SensorDisplayLib/ProcessList.h b/ksysguard/gui/SensorDisplayLib/ProcessList.h index fc668cf15..db3f7637b 100644 --- a/ksysguard/gui/SensorDisplayLib/ProcessList.h +++ b/ksysguard/gui/SensorDisplayLib/ProcessList.h @@ -42,11 +42,11 @@ typedef const char* (*KeyFunc)(const char*); * To support bi-directional sorting, and sorting of text, integers etc. we * need a specialized version of TQListViewItem. */ -class ProcessLVI : public KListViewItem +class ProcessLVI : public TDEListViewItem { public: - ProcessLVI(TQListView* lv) : KListViewItem(lv) { } - ProcessLVI(TQListViewItem* lvi) : KListViewItem(lvi) { } + ProcessLVI(TQListView* lv) : TDEListViewItem(lv) { } + ProcessLVI(TQListViewItem* lvi) : TDEListViewItem(lvi) { } virtual int compare( TQListViewItem *item, int column, bool ) const; }; @@ -57,7 +57,7 @@ class TQPopupMenu; * This class implementes a table filled with information about the running * processes. The table is derived from TQListView. */ -class ProcessList : public KListView +class ProcessList : public TDEListView { Q_OBJECT |