diff options
Diffstat (limited to 'kate')
-rw-r--r-- | kate/filetemplates/plugin/filetemplates.cpp | 12 | ||||
-rw-r--r-- | kate/insertcommand/plugin_kateinsertcommand.cpp | 2 | ||||
-rw-r--r-- | kate/textfilter/plugin_katetextfilter.cpp | 2 |
3 files changed, 8 insertions, 8 deletions
diff --git a/kate/filetemplates/plugin/filetemplates.cpp b/kate/filetemplates/plugin/filetemplates.cpp index 31d1745..39c0c40 100644 --- a/kate/filetemplates/plugin/filetemplates.cpp +++ b/kate/filetemplates/plugin/filetemplates.cpp @@ -140,7 +140,7 @@ KateFileTemplates::KateFileTemplates( TQObject* parent, const char* name ) TQ_SLOT(slotOpenTemplate(const KURL &)), m_actionCollection, "file_templates_recent" ); - m_acRecentTemplates->loadEntries( kapp->config(), "Recent Templates" ); + m_acRecentTemplates->loadEntries( tdeApp->config(), "Recent Templates" ); // template menu m_dw = new KDirWatch( this, "template_dirwatch" ); @@ -180,7 +180,7 @@ void KateFileTemplates::updateTemplateDirs(const TQString &d) TQRegExp re( "\\b(\\w+)\\s*=\\s*(.+)(?:\\s+\\w+=|$)" ); re.setMinimal( true ); - TDEConfig *config = kapp->config(); + TDEConfig *config = tdeApp->config(); TQStringList hidden; config->readListEntry( "Hidden", hidden, ';' ); @@ -239,7 +239,7 @@ void KateFileTemplates::updateTemplateDirs(const TQString &d) KateFileTemplates::~KateFileTemplates() { - m_acRecentTemplates->saveEntries( kapp->config(), "Recent Templates" ); + m_acRecentTemplates->saveEntries( tdeApp->config(), "Recent Templates" ); delete m_emailstuff; delete m_user; } @@ -388,7 +388,7 @@ void KateFileTemplates::slotOpenTemplate( const KURL &url ) } // this may take a moment.. - kapp->setOverrideCursor( TQCursor(TQCursor::WaitCursor) ); + tdeApp->setOverrideCursor( TQCursor(TQCursor::WaitCursor) ); // create a new document application()->activeMainWindow()->viewManager()->openURL( KURL() ); @@ -485,7 +485,7 @@ void KateFileTemplates::slotOpenTemplate( const KURL &url ) doc->setModified( false ); - kapp->restoreOverrideCursor(); + tdeApp->restoreOverrideCursor(); m_acRecentTemplates->addURL( url ); // clean up @@ -1188,7 +1188,7 @@ void KateTemplateManager::slotRemoveTemplate() // Find all instances of filename, and try to delete them. // If it fails (there was a global, unwritable instance), add to a // list of removed templates - TDEConfig *config = kapp->config(); + TDEConfig *config = tdeApp->config(); TQString fname = item->templateinfo->filename.section( '/', -1 ); TQStringList templates = TDEGlobal::dirs()->findAllResources( "data", fname.prepend( "kate/plugins/katefiletemplates/templates/" ), diff --git a/kate/insertcommand/plugin_kateinsertcommand.cpp b/kate/insertcommand/plugin_kateinsertcommand.cpp index 5351795..f744b55 100644 --- a/kate/insertcommand/plugin_kateinsertcommand.cpp +++ b/kate/insertcommand/plugin_kateinsertcommand.cpp @@ -109,7 +109,7 @@ void PluginKateInsertCommand::removeView(Kate::MainWindow *win) void PluginKateInsertCommand::slotInsertCommand() { - if (!kapp->authorize("shell_access")) { + if (!tdeApp->authorize("shell_access")) { KMessageBox::sorry(0,i18n("You are not allowed to execute arbitrary external applications. If you want to be able to do this, contact your system administrator."),i18n("Access Restrictions")); return; } diff --git a/kate/textfilter/plugin_katetextfilter.cpp b/kate/textfilter/plugin_katetextfilter.cpp index f5bb625..0cb992f 100644 --- a/kate/textfilter/plugin_katetextfilter.cpp +++ b/kate/textfilter/plugin_katetextfilter.cpp @@ -252,7 +252,7 @@ PluginKateTextFilter::slotFilterCloseStdin (TDEProcess * pProcess) void PluginKateTextFilter::slotEditFilter () // PCP { - if (!kapp->authorize("shell_access")) { + if (!tdeApp->authorize("shell_access")) { KMessageBox::sorry(0,i18n( "You are not allowed to execute arbitrary external applications. If " "you want to be able to do this, contact your system administrator."), |