summaryrefslogtreecommitdiffstats
path: root/khexedit/dialog.cpp
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2025-01-20 17:21:59 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2025-02-03 21:40:22 +0900
commit2f64e55b006125b1110fcdb05df19909159cee71 (patch)
tree113f02dbb3164ef83f2b7cec5e26adb6b5dc97f3 /khexedit/dialog.cpp
parent1feaed7cc0457e3cdafe0c0ce8119ae6ec618cb8 (diff)
downloadtdeutils-2f64e55b006125b1110fcdb05df19909159cee71.tar.gz
tdeutils-2f64e55b006125b1110fcdb05df19909159cee71.zip
Use tdeApp
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'khexedit/dialog.cpp')
-rw-r--r--khexedit/dialog.cpp16
1 files changed, 8 insertions, 8 deletions
diff --git a/khexedit/dialog.cpp b/khexedit/dialog.cpp
index 76f48bc..a26ed0e 100644
--- a/khexedit/dialog.cpp
+++ b/khexedit/dialog.cpp
@@ -78,7 +78,7 @@ CGotoDialog::CGotoDialog( TQWidget *parent, const char *name, bool modal )
gbox->addWidget( mCheckVisible, 2, 0 );
gbox->setRowStretch( 3, 10 );
- TDEConfig &config = *kapp->config();
+ TDEConfig &config = *tdeApp->config();
config.setGroup("Goto Dialog");
mCheckFromCursor->setChecked( config.readBoolEntry( "FromCursor", false ) );
mCheckVisible->setChecked( config.readBoolEntry( "StayVisible", true ) );
@@ -89,7 +89,7 @@ CGotoDialog::CGotoDialog( TQWidget *parent, const char *name, bool modal )
CGotoDialog::~CGotoDialog( void )
{
- TDEConfig &config = *kapp->config();
+ TDEConfig &config = *tdeApp->config();
config.setGroup("Goto Dialog");
config.writeEntry( "FromCursor", mCheckFromCursor->isChecked() );
config.writeEntry( "StayVisible", mCheckVisible->isChecked() );
@@ -232,7 +232,7 @@ CFindDialog::CFindDialog( TQWidget *parent, const char *name, bool modal )
gbox->addWidget( mCheckIgnoreCase, 3, 0 );
gbox->setRowStretch( 4, 10 );
- TDEConfig &config = *kapp->config();
+ TDEConfig &config = *tdeApp->config();
config.setGroup("Find Dialog");
mCheckFromCursor->setChecked( config.readBoolEntry( "FromCursor", true ) );
mCheckInSelection->setChecked( config.readBoolEntry( "InSelection", false) );
@@ -248,7 +248,7 @@ CFindDialog::CFindDialog( TQWidget *parent, const char *name, bool modal )
CFindDialog::~CFindDialog( void )
{
- TDEConfig &config = *kapp->config();
+ TDEConfig &config = *tdeApp->config();
config.setGroup("Find Dialog");
config.writeEntry( "FromCursor", mCheckFromCursor->isChecked() );
config.writeEntry( "InSelection", mCheckInSelection->isChecked() );
@@ -573,7 +573,7 @@ CReplaceDialog::CReplaceDialog( TQWidget *parent, const char *name, bool modal )
gbox->addWidget( mCheckIgnoreCase, 3, 0 );
gbox->setRowStretch( 4, 10 );
- TDEConfig &config = *kapp->config();
+ TDEConfig &config = *tdeApp->config();
config.setGroup("Replace Dialog");
mCheckFromCursor->setChecked( config.readBoolEntry( "FromCursor", true ) );
mCheckInSelection->setChecked( config.readBoolEntry( "InSelection", false) );
@@ -592,7 +592,7 @@ CReplaceDialog::CReplaceDialog( TQWidget *parent, const char *name, bool modal )
CReplaceDialog::~CReplaceDialog( void )
{
- TDEConfig &config = *kapp->config();
+ TDEConfig &config = *tdeApp->config();
config.setGroup("Replace Dialog");
config.writeEntry( "FromCursor", mCheckFromCursor->isChecked() );
config.writeEntry( "InSelection", mCheckInSelection->isChecked() );
@@ -1146,7 +1146,7 @@ CInsertDialog::CInsertDialog( TQWidget *parent, const char *name, bool modal )
connect( mCheckOnCursor, TQ_SIGNAL(clicked()), TQ_SLOT(cursorCheck()) );
gbox->setRowStretch( 3, 10 );
- TDEConfig &config = *kapp->config();
+ TDEConfig &config = *tdeApp->config();
config.setGroup("Insert Pattern Dialog");
mCheckPattern->setChecked( config.readBoolEntry( "RepeatPattern", false ) );
mCheckOnCursor->setChecked( config.readBoolEntry( "InsertOnCursor", false) );
@@ -1159,7 +1159,7 @@ CInsertDialog::CInsertDialog( TQWidget *parent, const char *name, bool modal )
CInsertDialog::~CInsertDialog( void )
{
- TDEConfig &config = *kapp->config();
+ TDEConfig &config = *tdeApp->config();
config.setGroup("Insert Pattern Dialog");
config.writeEntry( "RepeatPattern", mCheckPattern->isChecked() );
config.writeEntry( "InsertOnCursor", mCheckOnCursor->isChecked() );