diff options
| author | Michele Calgaro <michele.calgaro@yahoo.it> | 2025-01-21 14:24:33 +0900 |
|---|---|---|
| committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2025-01-21 14:24:33 +0900 |
| commit | f60ff832d78a8cfbbcac6ebda959194611caa0bf (patch) | |
| tree | 8fe71a25025f7b554cb1fc43d20413e3bb6ee3bc /src/gui | |
| parent | e8b74729c4708682276e290efcdb0cb229145161 (diff) | |
| download | ktechlab-f60ff832d78a8cfbbcac6ebda959194611caa0bf.tar.gz ktechlab-f60ff832d78a8cfbbcac6ebda959194611caa0bf.zip | |
Use tdeApp
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'src/gui')
| -rw-r--r-- | src/gui/itemselector.cpp | 4 | ||||
| -rw-r--r-- | src/gui/settingsdlg.cpp | 6 |
2 files changed, 5 insertions, 5 deletions
diff --git a/src/gui/itemselector.cpp b/src/gui/itemselector.cpp index f82fa6d..5295f13 100644 --- a/src/gui/itemselector.cpp +++ b/src/gui/itemselector.cpp @@ -133,7 +133,7 @@ void ItemSelector::addItem( const TQString & caption, const TQString & id, const void ItemSelector::writeOpenStates() { - TDEConfig *config = kapp->config(); + TDEConfig *config = tdeApp->config(); config->setGroup( name() ); const TQStringList::iterator end = m_categories.end(); @@ -149,7 +149,7 @@ void ItemSelector::writeOpenStates() bool ItemSelector::readOpenState( const TQString &id ) { - TDEConfig *config = kapp->config(); + TDEConfig *config = tdeApp->config(); config->setGroup( name() ); return config->readBoolEntry( id+"IsOpen", true ); diff --git a/src/gui/settingsdlg.cpp b/src/gui/settingsdlg.cpp index 1361bb2..7b7a6a0 100644 --- a/src/gui/settingsdlg.cpp +++ b/src/gui/settingsdlg.cpp @@ -280,7 +280,7 @@ int SettingsDlg::sliderValueToRefreshRate( int sliderValue ) void SettingsDlg::updateSettings() { - TDEConfig * config = kapp->config(); + TDEConfig * config = tdeApp->config(); TDEConfigSkeleton::ItemInt *item = dynamic_cast<TDEConfigSkeleton::ItemInt*>(KTLConfig::self()->findItem( "RefreshRate" )); if ( !item ) @@ -306,7 +306,7 @@ void SettingsDlg::updateSettings() void SettingsDlg::slotUpdateSettings() { - TDEConfig * config = kapp->config(); + TDEConfig * config = tdeApp->config(); TDEConfigSkeleton::ItemString * item = dynamic_cast<TDEConfigSkeleton::ItemString*>(KTLConfig::self()->findItem( "PicProgrammerProgram" )); if ( !item ) @@ -337,7 +337,7 @@ void SettingsDlg::updateWidgets() { m_generalOptionsWidget->refreshRateSlider->setValue( refreshRateToSliderValue( KTLConfig::refreshRate() ) ); - m_pPicProgrammerSettings->load( kapp->config() ); + m_pPicProgrammerSettings->load( tdeApp->config() ); TQStringList programmerNames = m_pPicProgrammerSettings->configNames( false ); |
