diff options
author | Slávek Banko <[email protected]> | 2013-06-29 12:56:53 +0200 |
---|---|---|
committer | Slávek Banko <[email protected]> | 2013-07-04 03:11:35 +0200 |
commit | 5f5e7c5455d52826b0bd50f64fcffb7695ce970d (patch) | |
tree | c8ee8792d3fb139365abbf70c2255f1e69d2aa34 /src/fileimporterbibutils.h | |
parent | 251c9a439759c830d34c70683d0fc9454d703010 (diff) | |
download | kbibtex-5f5e7c5455d52826b0bd50f64fcffb7695ce970d.tar.gz kbibtex-5f5e7c5455d52826b0bd50f64fcffb7695ce970d.zip |
Initial TQt conversion
Diffstat (limited to 'src/fileimporterbibutils.h')
-rw-r--r-- | src/fileimporterbibutils.h | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/src/fileimporterbibutils.h b/src/fileimporterbibutils.h index 8fd0635..11d06e7 100644 --- a/src/fileimporterbibutils.h +++ b/src/fileimporterbibutils.h @@ -24,7 +24,7 @@ #include <fileimporter.h> #include <fileimporterbibtex.h> -class QBuffer; +class TQBuffer; namespace BibTeX { @@ -39,27 +39,27 @@ namespace BibTeX FileImporterBibUtils( BibTeX::File::FileFormat inputFormat ); ~FileImporterBibUtils(); - File* load( QIODevice *iodevice ); - static bool guessCanDecode( const QString & text ); - static File::FileFormat guessInputFormat( const QString &text ); + File* load( TQIODevice *iodevice ); + static bool guessCanDecode( const TQString & text ); + static File::FileFormat guessInputFormat( const TQString &text ); public slots: void cancel(); private: bool m_cancelFlag; - QString m_workingDir; + TQString m_workingDir; BibTeX::File::FileFormat m_inputFormat; FileImporterBibTeX *m_bibTeXImporter; bool m_waiting; - QProcess *m_process; - QBuffer *m_processBuffer; + TQProcess *m_process; + TQBuffer *m_processBuffer; - bool iodeviceToXMLbuffer( QIODevice *iodevice ); + bool iodeviceToXMLbuffer( TQIODevice *iodevice ); File* xmlBufferToBibTeXFile(); - QString createTempDir(); - void deleteTempDir( const QString& directory ); + TQString createTempDir(); + void deleteTempDir( const TQString& directory ); private slots: void wakeUp(); |