From da52348c5cdc76ce4ff748dc3317d557b267c885 Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Tue, 21 Jan 2025 17:20:40 +0900 Subject: Use tdeApp Signed-off-by: Michele Calgaro --- doc/html/configelem_8cpp-source.html | 6 +++--- doc/html/configlist_8cpp-source.html | 4 ++-- doc/html/kfeedback_8cpp-source.html | 4 ++-- doc/html/kshowmail_8cpp-source.html | 16 ++++++++-------- doc/html/kshowmailview_8cpp-source.html | 2 +- doc/html/serverdialog_8cpp-source.html | 2 +- doc/html/showrecordelem_8cpp-source.html | 2 +- 7 files changed, 18 insertions(+), 18 deletions(-) (limited to 'doc/html') diff --git a/doc/html/configelem_8cpp-source.html b/doc/html/configelem_8cpp-source.html index 2121fff..69b11ce 100644 --- a/doc/html/configelem_8cpp-source.html +++ b/doc/html/configelem_8cpp-source.html @@ -124,7 +124,7 @@ 00107 void ConfigElem::saveOptions( TQDomDocument& doc, TQDomElement& parent ) 00108 { 00109 //get application config -00110 TDEConfig* config = TDEApplication::kApplication()->config(); +00110 TDEConfig* config = tdeApp->config(); 00111 00112 //save the active state 00113 config->setGroup( getAccountName() ); @@ -314,7 +314,7 @@ 00297 setPassword( password ); 00298 00299 //save password in file or TDEWallet -00300 TDEConfig* config = TDEApplication::kApplication()->config(); +00300 TDEConfig* config = tdeApp->config(); 00301 config->setGroup( getAccountName() ); 00302 00303 if( PasswordStorage == CONFIG_VALUE_ACCOUNT_PASSWORD_SAVE_FILE ) @@ -605,7 +605,7 @@ 00588 emit sigMessageWindowOpened(); 00589 00590 //create and open the window -00591 ShowMailDialog dlg( kapp->mainWidget(), m_strAccount, appConfig->allowHTML(), tsender, tdate, tsize, tsubject, tmailbody ); +00591 ShowMailDialog dlg( tdeApp->mainWidget(), m_strAccount, appConfig->allowHTML(), tsender, tdate, tsize, tsubject, tmailbody ); 00592 int ret = dlg.exec(); 00593 00594 //emit signal to notify the closing of a window diff --git a/doc/html/configlist_8cpp-source.html b/doc/html/configlist_8cpp-source.html index d8ccfea..f7681a5 100644 --- a/doc/html/configlist_8cpp-source.html +++ b/doc/html/configlist_8cpp-source.html @@ -185,7 +185,7 @@ 00168 void ConfigList::beep () 00169 { 00170 if (m_bBeep) -00171 kapp->beep (); +00171 tdeApp->beep (); 00172 } 00173 00174 void ConfigList::playSound () @@ -768,7 +768,7 @@ 00751 void ConfigList::refreshSetup( TDEListView* view ) 00752 { 00753 //get application config object (kshowmailrc) -00754 config = TDEApplication::kApplication()->config(); +00754 config = tdeApp->config(); 00755 00756 //read actions group 00757 config->setGroup( CONFIG_GROUP_ACTIONS ); diff --git a/doc/html/kfeedback_8cpp-source.html b/doc/html/kfeedback_8cpp-source.html index 12bc843..6371891 100644 --- a/doc/html/kfeedback_8cpp-source.html +++ b/doc/html/kfeedback_8cpp-source.html @@ -180,7 +180,7 @@ 00163 if ( aboutData ) 00164 subject = aboutData->programName() + "-" + aboutData->version(); 00165 else -00166 subject = kapp->name(); +00166 subject = tdeApp->name(); 00167 00168 subject += " user feedback"; 00169 @@ -215,7 +215,7 @@ 00198 // Actually send mail 00199 // 00200 -00201 kapp->invokeMailer( mail ); +00201 tdeApp->invokeMailer( mail ); 00202 00203 emit mailSent(); 00204 } diff --git a/doc/html/kshowmail_8cpp-source.html b/doc/html/kshowmail_8cpp-source.html index 102d2eb..b35e04a 100644 --- a/doc/html/kshowmail_8cpp-source.html +++ b/doc/html/kshowmail_8cpp-source.html @@ -268,7 +268,7 @@ 00258 //just open the dialog, if the app is idle 00259 if (m_state != idle) 00260 { -00261 kapp->beep(); +00261 tdeApp->beep(); 00262 return; 00263 } 00264 @@ -330,7 +330,7 @@ 00320 //return, if the app is not idle 00321 if ( m_state != idle ) 00322 { -00323 kapp->beep(); +00323 tdeApp->beep(); 00324 initNextRefresh(); 00325 return; 00326 } @@ -357,7 +357,7 @@ 00347 { 00348 if (m_state == idle) 00349 { -00350 kapp->beep (); +00350 tdeApp->beep (); 00351 return; 00352 } 00353 kdDebug() << "KShowMailApp::slotStop" << endl; @@ -416,7 +416,7 @@ 00406 //just delete, if no operation is running 00407 if( m_state != idle ) 00408 { -00409 kapp->beep(); +00409 tdeApp->beep(); 00410 return; 00411 } 00412 @@ -456,7 +456,7 @@ 00446 //only show headers, if the app is idle 00447 if( m_state != idle ) 00448 { -00449 kapp->beep (); +00449 tdeApp->beep (); 00450 return; 00451 } 00452 @@ -470,7 +470,7 @@ 00460 //return, if application is not idle 00461 if( m_state != idle ) 00462 { -00463 kapp->beep (); +00463 tdeApp->beep (); 00464 return; 00465 } 00466 @@ -529,7 +529,7 @@ 00519 { 00520 if (m_state != idle) 00521 { -00522 kapp->beep (); +00522 tdeApp->beep (); 00523 return; 00524 } 00525 m_state = configure; @@ -776,7 +776,7 @@ 00766 //just open the dialog, if the app is idle 00767 if (m_state != idle) 00768 { -00769 kapp->beep(); +00769 tdeApp->beep(); 00770 return; 00771 } 00772 diff --git a/doc/html/kshowmailview_8cpp-source.html b/doc/html/kshowmailview_8cpp-source.html index 9a371db..7a9b5b2 100644 --- a/doc/html/kshowmailview_8cpp-source.html +++ b/doc/html/kshowmailview_8cpp-source.html @@ -54,7 +54,7 @@ 00037 TQSplitter(Vertical, parent, name) 00038 { 00039 //get application config object (kshowmailrc) -00040 config = TDEApplication::kApplication()->config(); +00040 config = tdeApp->config(); 00041 00042 m_pixOk = new TQPixmap (::locate ("data", "kshowmail/pics/ok.png")); 00043 diff --git a/doc/html/serverdialog_8cpp-source.html b/doc/html/serverdialog_8cpp-source.html index 08c02ed..cfe9b99 100644 --- a/doc/html/serverdialog_8cpp-source.html +++ b/doc/html/serverdialog_8cpp-source.html @@ -179,7 +179,7 @@ 00162 } 00163 00164 //get application config object (kshowmailrc) -00165 TDEConfig* config = TDEApplication::kApplication()->config(); +00165 TDEConfig* config = tdeApp->config(); 00166 00167 config->setGroup( txtAccount->text() ); 00168 diff --git a/doc/html/showrecordelem_8cpp-source.html b/doc/html/showrecordelem_8cpp-source.html index 6e4329c..c47bd45 100644 --- a/doc/html/showrecordelem_8cpp-source.html +++ b/doc/html/showrecordelem_8cpp-source.html @@ -607,7 +607,7 @@ 00590 TQString tmailheader = header(); 00591 00592 //create and open the window -00593 ShowHeaderDialog dlg( kapp->mainWidget(), account, tsubject, tmailheader ); +00593 ShowHeaderDialog dlg( tdeApp->mainWidget(), account, tsubject, tmailheader ); 00594 int ret = dlg.exec(); 00595 00596 //returns the matching value -- cgit v1.2.1