summaryrefslogtreecommitdiffstats
path: root/kate/filetemplates
diff options
context:
space:
mode:
authorMichele Calgaro <[email protected]>2025-01-20 18:25:59 +0900
committerMichele Calgaro <[email protected]>2025-02-03 21:40:45 +0900
commita7d0afc3a01114462488507812eb35d8d4ed0eb5 (patch)
treef9f2a3f5a6a0f15340c83c3249bff45eed905261 /kate/filetemplates
parent3318f2ef06191e7bb921bc9aca857cc938c169d9 (diff)
downloadtdeaddons-a7d0afc3a01114462488507812eb35d8d4ed0eb5.tar.gz
tdeaddons-a7d0afc3a01114462488507812eb35d8d4ed0eb5.zip
Use tdeAppHEADmaster
Signed-off-by: Michele Calgaro <[email protected]>
Diffstat (limited to 'kate/filetemplates')
-rw-r--r--kate/filetemplates/plugin/filetemplates.cpp12
1 files changed, 6 insertions, 6 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/" ),