summaryrefslogtreecommitdiffstats
path: root/src/documentsourceview.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/documentsourceview.cpp')
-rw-r--r--src/documentsourceview.cpp16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/documentsourceview.cpp b/src/documentsourceview.cpp
index d26ad85..30fb36f 100644
--- a/src/documentsourceview.cpp
+++ b/src/documentsourceview.cpp
@@ -56,7 +56,7 @@ namespace KBibTeX
DocumentSourceView::~DocumentSourceView()
{
- kapp->config() ->sync();
+ tdeApp->config() ->sync();
}
/**
@@ -213,7 +213,7 @@ namespace KBibTeX
bool result = FALSE;
m_progDlg = new KProgressDialog( this, NULL, i18n( "Source View" ), i18n( "Converting BibTeX document to plain text ..." ), true );
m_progDlg->setAllowCancel( false );
- kapp->processEvents();
+ tdeApp->processEvents();
TQBuffer buffer;
buffer.open( IO_WriteOnly );
@@ -229,7 +229,7 @@ namespace KBibTeX
if ( result )
{
- kapp->processEvents();
+ tdeApp->processEvents();
buffer.open( IO_ReadOnly );
TQTextStream in( &buffer );
in.setEncoding( TQTextStream::UnicodeUTF8 );
@@ -238,7 +238,7 @@ namespace KBibTeX
if ( m_editInterface )
{
- kapp->processEvents();
+ tdeApp->processEvents();
// very strange: to set the text, you have to set
// readwrite to TRUE...
m_document->setReadWrite( TRUE );
@@ -249,7 +249,7 @@ namespace KBibTeX
m_bibtexFile = bibtexFile;
}
- kapp->processEvents();
+ tdeApp->processEvents();
delete m_progDlg;
return result;
@@ -314,13 +314,13 @@ namespace KBibTeX
void DocumentSourceView::readConfig()
{
- TDEConfig * config = kapp->config();
+ TDEConfig * config = tdeApp->config();
readConfig( config );
}
void DocumentSourceView::writeConfig()
{
- TDEConfig * config = kapp->config();
+ TDEConfig * config = tdeApp->config();
writeConfig( config );
}
@@ -373,7 +373,7 @@ namespace KBibTeX
{
m_progDlg->progressBar()->setTotalSteps( total );
m_progDlg->progressBar()->setValue( current );
- kapp->processEvents();
+ tdeApp->processEvents();
}
}