diff options
author | Mavridis Philippe <mavridisf@gmail.com> | 2024-10-03 20:38:30 +0300 |
---|---|---|
committer | Mavridis Philippe <mavridisf@gmail.com> | 2024-10-03 20:38:30 +0300 |
commit | dd4c3ee3d805b4d572fa8e3393e984e1e4c03e28 (patch) | |
tree | f3deddcb0b4c21844c702a10238c05f82faa08ee /malloryclient/embeddata.h | |
parent | 19097d1bb96f8d52743121fb8f00d90029f1dfc0 (diff) | |
download | twin-style-mallory-dd4c3ee3d805b4d572fa8e3393e984e1e4c03e28.tar.gz twin-style-mallory-dd4c3ee3d805b4d572fa8e3393e984e1e4c03e28.zip |
Qt3->TQt port
Signed-off-by: Mavridis Philippe <mavridisf@gmail.com>
Diffstat (limited to 'malloryclient/embeddata.h')
-rw-r--r-- | malloryclient/embeddata.h | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/malloryclient/embeddata.h b/malloryclient/embeddata.h index 0f9ed56..a586d0a 100644 --- a/malloryclient/embeddata.h +++ b/malloryclient/embeddata.h @@ -2,30 +2,30 @@ #ifndef EMBEDDATA_H #define EMBEDDATA_H -#include <qimage.h> -#include <qdict.h> -#include <qmime.h> -#include <qdragobject.h> +#include <tqimage.h> +#include <tqdict.h> +#include <tqmime.h> +#include <tqdragobject.h> // MXLS: I dunno what I'm doin'! -// QImage uic_findImage(const QString& name); +// TQImage uic_findImage(const TQString& name); -class MimeSourceFactory_KWinMallory : public QMimeSourceFactory +class MimeSourceFactory_KWinMallory : public TQMimeSourceFactory { public: MimeSourceFactory_KWinMallory() {} ~MimeSourceFactory_KWinMallory() {} - const QMimeSource* data( const QString& abs_name ) const { - const QMimeSource* d = QMimeSourceFactory::data( abs_name ); + const TQMimeSource* data( const TQString& abs_name ) const { + const TQMimeSource* d = TQMimeSourceFactory::data( abs_name ); if ( d || abs_name.isNull() ) return d; - // QImage img = uic_findImage( abs_name ); + // TQImage img = uic_findImage( abs_name ); // if ( !img.isNull() ) - // ((QMimeSourceFactory*)this)->setImage( abs_name, img ); - return QMimeSourceFactory::data( abs_name ); + // ((TQMimeSourceFactory*)this)->setImage( abs_name, img ); + return TQMimeSourceFactory::data( abs_name ); }; }; -static QMimeSourceFactory* factory = 0; +static TQMimeSourceFactory* factory = 0; void qInitImages_KWinMallory(); |