diff options
author | Slávek Banko <[email protected]> | 2013-06-29 16:33:55 +0200 |
---|---|---|
committer | Slávek Banko <[email protected]> | 2013-07-04 03:57:45 +0200 |
commit | f2d4b48ad7f6ce4f23c6cbba3e85c67486f922db (patch) | |
tree | 0414ba9f0823b98d2a159c11513ddcda84b932cc /src/webqueryz3950.cpp | |
parent | 5f5e7c5455d52826b0bd50f64fcffb7695ce970d (diff) | |
download | kbibtex-f2d4b48ad7f6ce4f23c6cbba3e85c67486f922db.tar.gz kbibtex-f2d4b48ad7f6ce4f23c6cbba3e85c67486f922db.zip |
Initial TDE conversion
Diffstat (limited to 'src/webqueryz3950.cpp')
-rw-r--r-- | src/webqueryz3950.cpp | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/src/webqueryz3950.cpp b/src/webqueryz3950.cpp index f001b4d..d59f285 100644 --- a/src/webqueryz3950.cpp +++ b/src/webqueryz3950.cpp @@ -38,15 +38,15 @@ #include <ntqlayout.h> #include <ntqlabel.h> -#include <klocale.h> +#include <tdelocale.h> #include <kstandarddirs.h> #include <klineedit.h> #include <kcombobox.h> -#include <kmessagebox.h> +#include <tdemessagebox.h> #include <kpushbutton.h> #include <kiconloader.h> -#include <kio/netaccess.h> -#include <kapplication.h> +#include <tdeio/netaccess.h> +#include <tdeapplication.h> #include <kdebug.h> #include <kurl.h> @@ -120,7 +120,7 @@ namespace KBibTeX label->setBuddy( lineEditQuery ); connect( clearSearchText, SIGNAL( clicked() ), lineEditQuery, SLOT( clear() ) ); connect( lineEditQuery, SIGNAL( textChanged( const TQString& ) ), this, SLOT( slotTextChanged( const TQString& ) ) ); - KCompletion *completionQuery = lineEditQuery->completionObject(); + TDECompletion *completionQuery = lineEditQuery->completionObject(); connect( lineEditQuery, SIGNAL( returnPressed() ), this, SIGNAL( startSearch() ) ); connect( lineEditQuery, SIGNAL( returnPressed( const TQString& ) ), completionQuery, SLOT( addItem( const TQString& ) ) ); label = new TQLabel( i18n( "Search in:" ), this ); @@ -354,12 +354,12 @@ namespace KBibTeX convertedResultText = resultText; else if ( syntax == "usmarc" || syntax == "marc21" ) { - if ( m_marc21transformer == NULL ) m_marc21transformer = new BibTeX::XSLTransform( KGlobal::dirs()->findResource( "data", "kbibtexpart/xslt/MARC21slim2MODS3.xsl" ) ); + if ( m_marc21transformer == NULL ) m_marc21transformer = new BibTeX::XSLTransform( TDEGlobal::dirs()->findResource( "data", "kbibtexpart/xslt/MARC21slim2MODS3.xsl" ) ); convertedResultText = m_marc21transformer->transform( resultText ); } else if ( syntax == "unimarc" ) { - if ( m_unimarctransformer == NULL ) m_unimarctransformer = new BibTeX::XSLTransform( KGlobal::dirs()->findResource( "data", "kbibtexpart/xslt/UNIMARC2MODS3.xsl" ) ); + if ( m_unimarctransformer == NULL ) m_unimarctransformer = new BibTeX::XSLTransform( TDEGlobal::dirs()->findResource( "data", "kbibtexpart/xslt/UNIMARC2MODS3.xsl" ) ); convertedResultText = m_unimarctransformer->transform( resultText ); } |