diff options
Diffstat (limited to 'src/kvilib/file/kvi_file.cpp')
-rw-r--r-- | src/kvilib/file/kvi_file.cpp | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/src/kvilib/file/kvi_file.cpp b/src/kvilib/file/kvi_file.cpp index 227a4997..d904540a 100644 --- a/src/kvilib/file/kvi_file.cpp +++ b/src/kvilib/file/kvi_file.cpp @@ -45,20 +45,12 @@ KviFile::~KviFile() bool KviFile::openForReading() { -#ifdef COMPILE_USE_QT4 - return open(TQFile::ReadOnly); -#else return open(IO_ReadOnly); -#endif } bool KviFile::openForWriting(bool bAppend) { -#ifdef COMPILE_USE_QT4 - return open(TQFile::WriteOnly | (bAppend ? TQFile::Append : TQFile::Truncate)); -#else return open(IO_WriteOnly | (bAppend ? IO_Append : IO_Truncate)); -#endif } @@ -77,7 +69,6 @@ bool KviFile::load(TQByteArray &bData) return true; } -#ifndef COMPILE_USE_QT4 bool KviFile::save(const KviTQCString &szData) { @@ -95,7 +86,6 @@ bool KviFile::load(KviTQCString &szData) return true; } -#endif bool KviFile::save(const TQString &szData) |