diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2025-01-22 17:47:04 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2025-01-22 17:47:04 +0900 |
commit | e9368e5ab190b0fc0afe7f72e2b861b76b378b0c (patch) | |
tree | cee4c09c0f072f4e4cc42ea71e4530e74fdee45d /src/documentsourceview.cpp | |
parent | 3edb5122de3bf99176c5bd204166c0c1c654062b (diff) | |
download | kbibtex-e9368e5ab190b0fc0afe7f72e2b861b76b378b0c.tar.gz kbibtex-e9368e5ab190b0fc0afe7f72e2b861b76b378b0c.zip |
Use tdeApp
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'src/documentsourceview.cpp')
-rw-r--r-- | src/documentsourceview.cpp | 16 |
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(); } } |