|
|
|
@ -166,7 +166,7 @@ KDirStatApp::initActions()
|
|
|
|
|
this, TQ_SLOT( stopReading() ), actionCollection(),
|
|
|
|
|
"file_stop_reading" );
|
|
|
|
|
|
|
|
|
|
_fileQuit = KStdAction::quit ( kapp, TQ_SLOT( quit() ), actionCollection() );
|
|
|
|
|
_fileQuit = KStdAction::quit ( tdeApp, TQ_SLOT( quit() ), actionCollection() );
|
|
|
|
|
_editCopy = KStdAction::copy ( this, TQ_SLOT( editCopy() ), actionCollection() );
|
|
|
|
|
_showToolBar = KStdAction::showToolbar ( this, TQ_SLOT( toggleToolBar() ), actionCollection() );
|
|
|
|
|
_showStatusBar = KStdAction::showStatusbar ( this, TQ_SLOT( toggleStatusBar() ), actionCollection() );
|
|
|
|
@ -345,7 +345,7 @@ KDirStatApp::openURL( const KURL& url )
|
|
|
|
|
void KDirStatApp::readMainWinConfig()
|
|
|
|
|
{
|
|
|
|
|
|
|
|
|
|
TDEConfig * config = kapp->config();
|
|
|
|
|
TDEConfig * config = tdeApp->config();
|
|
|
|
|
config->setGroup( "General Options" );
|
|
|
|
|
|
|
|
|
|
// Status settings of the various bars and views
|
|
|
|
@ -385,7 +385,7 @@ void KDirStatApp::readMainWinConfig()
|
|
|
|
|
void
|
|
|
|
|
KDirStatApp::saveMainWinConfig()
|
|
|
|
|
{
|
|
|
|
|
TDEConfig * config = kapp->config();
|
|
|
|
|
TDEConfig * config = tdeApp->config();
|
|
|
|
|
|
|
|
|
|
config->setGroup( "General Options" );
|
|
|
|
|
|
|
|
|
@ -524,7 +524,7 @@ void
|
|
|
|
|
KDirStatApp::editCopy()
|
|
|
|
|
{
|
|
|
|
|
if ( _treeView->selection() )
|
|
|
|
|
kapp->clipboard()->setText(_treeView->selection()->orig()->url());
|
|
|
|
|
tdeApp->clipboard()->setText(_treeView->selection()->orig()->url());
|
|
|
|
|
|
|
|
|
|
#if 0
|
|
|
|
|
#warning debug
|
|
|
|
@ -646,7 +646,7 @@ KDirStatApp::treemapRebuild()
|
|
|
|
|
void
|
|
|
|
|
KDirStatApp::treemapHelp()
|
|
|
|
|
{
|
|
|
|
|
kapp->invokeHelp( "treemap_intro" );
|
|
|
|
|
tdeApp->invokeHelp( "treemap_intro" );
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@ -702,7 +702,7 @@ KDirStatApp::askForFeedback()
|
|
|
|
|
if ( ! doFeedbackReminder() )
|
|
|
|
|
return;
|
|
|
|
|
|
|
|
|
|
TDEConfig * config = kapp->config();
|
|
|
|
|
TDEConfig * config = tdeApp->config();
|
|
|
|
|
|
|
|
|
|
switch ( KMessageBox::warningYesNoCancel( this,
|
|
|
|
|
i18n( "Now that you know this program for some time,\n"
|
|
|
|
@ -745,7 +745,7 @@ KDirStatApp::askForFeedback()
|
|
|
|
|
void
|
|
|
|
|
KDirStatApp::feedbackMailSent()
|
|
|
|
|
{
|
|
|
|
|
TDEConfig * config = kapp->config();
|
|
|
|
|
TDEConfig * config = tdeApp->config();
|
|
|
|
|
config->setGroup( "Feedback" );
|
|
|
|
|
config->writeEntry( "mailSent", true );
|
|
|
|
|
config->sync();
|
|
|
|
@ -755,7 +755,7 @@ KDirStatApp::feedbackMailSent()
|
|
|
|
|
bool
|
|
|
|
|
KDirStatApp::doFeedbackReminder()
|
|
|
|
|
{
|
|
|
|
|
TDEConfig * config = kapp->config();
|
|
|
|
|
TDEConfig * config = tdeApp->config();
|
|
|
|
|
config->setGroup( "Feedback" );
|
|
|
|
|
|
|
|
|
|
bool mailSent = config->readBoolEntry( "mailSent", false );
|
|
|
|
|