diff options
Diffstat (limited to 'lib/kofficecore/KoDocument.cpp')
-rw-r--r-- | lib/kofficecore/KoDocument.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/kofficecore/KoDocument.cpp b/lib/kofficecore/KoDocument.cpp index 3f32927e3..4c3854fe2 100644 --- a/lib/kofficecore/KoDocument.cpp +++ b/lib/kofficecore/KoDocument.cpp @@ -1185,7 +1185,7 @@ bool KoDocument::saveToStore( KoStore* _store, const TQString & _path ) bool KoDocument::saveOasisPreview( KoStore* store, KoXmlWriter* manifestWriter ) { const TQPixmap pix = generatePreview( TQSize( 128, 128 ) ); - TQImage preview ( pix.convertToImage().convertDepth( 32, Qt::ColorOnly ) ); + TQImage preview ( pix.convertToImage().convertDepth( 32, TQt::ColorOnly ) ); if ( !preview.hasAlphaBuffer() ) { preview.setAlphaBuffer( true ); @@ -1206,7 +1206,7 @@ bool KoDocument::savePreview( KoStore* store ) { TQPixmap pix = generatePreview(TQSize(256, 256)); // Reducing to 8bpp reduces file sizes quite a lot. - const TQImage preview ( pix.convertToImage().convertDepth( 8, Qt::AvoidDither | Qt::DiffuseDither) ); + const TQImage preview ( pix.convertToImage().convertDepth( 8, TQt::AvoidDither | TQt::DiffuseDither) ); KoStoreDevice io ( store ); if ( !io.open( IO_WriteOnly ) ) return false; @@ -1298,7 +1298,7 @@ bool KoDocument::checkAutoSaveFile() if ( TQFile::exists( asf ) ) { TQDateTime date = TQFileInfo(asf).lastModified(); - TQString dateStr = date.toString(Qt::LocalDate); + TQString dateStr = date.toString(TQt::LocalDate); int res = KMessageBox::warningYesNoCancel( 0, i18n( "An autosaved file for an unnamed document exists in %1.\nThis file is dated %2\nDo you want to open it?" ) .arg(asf, dateStr) ); |