From eba47f8f0637f451e21348187591e1f1fd58ac74 Mon Sep 17 00:00:00 2001 From: tpearson Date: Mon, 2 Aug 2010 19:23:46 +0000 Subject: TQt conversion git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdegraphics@1158446 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- kdvi/dviFile.h | 36 ++++++++++++++++++------------------ 1 file changed, 18 insertions(+), 18 deletions(-) (limited to 'kdvi/dviFile.h') diff --git a/kdvi/dviFile.h b/kdvi/dviFile.h index 069ae6d9..59ffe65c 100644 --- a/kdvi/dviFile.h +++ b/kdvi/dviFile.h @@ -13,10 +13,10 @@ #include "bigEndianByteReader.h" -#include -#include -#include -#include +#include +#include +#include +#include class fontPool; class pageSize; @@ -28,25 +28,25 @@ class dvifile : public bigEndianByteReader public: /** Makes a deep copy of the old DVI file. */ dvifile(const dvifile *old, fontPool *fp ); - dvifile(const QString& fname, class fontPool* pool); + dvifile(const TQString& fname, class fontPool* pool); ~dvifile(); fontPool * font_pool; - QString filename; - QString generatorString; + TQString filename; + TQString generatorString; Q_UINT16 total_pages; - QMemArray page_offset; + TQMemArray page_offset; /** Saves the DVI file. Returns true on success. */ - bool saveAs(const QString &filename); + bool saveAs(const TQString &filename); // Returns a pointer to the DVI file's data, or 0 if no data has yet // been allocated. Q_UINT8 * dvi_Data() {return dviData.data();} - QIODevice::Offset size_of_file; - QString errorMsg; + TQIODevice::Offset size_of_file; + TQString errorMsg; /** This field is set to zero when the DVI file is constructed, and will be modified during the prescan phase (at this time the @@ -68,7 +68,7 @@ class dvifile : public bigEndianByteReader KDVI ensures that the user is only informed once. */ bool sourceSpecialMarker; - QIntDict tn_table; + TQIntDict tn_table; /** Returns the number of centimeters per DVI unit in this DVI file. */ @@ -89,7 +89,7 @@ class dvifile : public bigEndianByteReader /** Sets new DVI data; all old data is erased. EXPERIMENTAL, use with care. */ - void setNewData(const QMemArray& newData) {dviData = newData;} + void setNewData(const TQMemArray& newData) {dviData = newData;} /** Page numbers that appear in a DVI document need not be ordered. Worse, page numbers need not be unique. This method @@ -112,9 +112,9 @@ class dvifile : public bigEndianByteReader name, the method will then NOT convert the file, but simply return the name from the buffer - @returns The name of the PS file, or QString::null on failure. + @returns The name of the PS file, or TQString::null on failure. */ - QString convertPDFtoPS(const QString &PDFFilename); + TQString convertPDFtoPS(const TQString &PDFFilename); private: /** process_preamble reads the information in the preamble and @@ -134,17 +134,17 @@ class dvifile : public bigEndianByteReader double cmPerDVIunit; - QMemArray dviData; + TQMemArray dviData; /** Map of filenames for converted PDF files This map contains names of PDF files that were converted to PostScript. The key is the name of the PDF file, the data the name - of the associated PS file, or QString::null, if the file could not + of the associated PS file, or TQString::null, if the file could not be converted. The PS files are deleted when the DVI-file is destructed. */ - QMap convertedFiles; + TQMap convertedFiles; }; #endif //ifndef _DVIFILE_H -- cgit v1.2.1