diff options
Diffstat (limited to 'kio/kfile/kfilemetapreview.h')
-rw-r--r-- | kio/kfile/kfilemetapreview.h | 56 |
1 files changed, 0 insertions, 56 deletions
diff --git a/kio/kfile/kfilemetapreview.h b/kio/kfile/kfilemetapreview.h deleted file mode 100644 index f26cd29b5..000000000 --- a/kio/kfile/kfilemetapreview.h +++ /dev/null @@ -1,56 +0,0 @@ -/* - * This file is part of the KDE project. - * Copyright (C) 2003 Carsten Pfeiffer <pfeiffer@kde.org> - * - * You can Freely distribute this program under the GNU Library General Public - * License. See the file "COPYING" for the exact licensing terms. - */ - -#ifndef KFILEMETAPREVIEW_H -#define KFILEMETAPREVIEW_H - -#include <tqdict.h> -#include <tqwidgetstack.h> - -#include <kpreviewwidgetbase.h> -#include <kurl.h> - -class TDEIO_EXPORT KFileMetaPreview : public KPreviewWidgetBase -{ - Q_OBJECT - -public: - KFileMetaPreview(TQWidget *parent, const char *name = 0); - ~KFileMetaPreview(); - - virtual void addPreviewProvider( const TQString& mimeType, - KPreviewWidgetBase *provider ); - virtual void clearPreviewProviders(); - -public slots: - virtual void showPreview(const KURL &url); - virtual void clearPreview(); - -protected: - virtual KPreviewWidgetBase *previewProviderFor( const TQString& mimeType ); - -protected: - virtual void virtual_hook( int id, void* data ); - -private: - void initPreviewProviders(); - - TQWidgetStack *m_stack; - TQDict<KPreviewWidgetBase> m_previewProviders; - bool haveAudioPreview; - - // may return 0L - static KPreviewWidgetBase * createAudioPreview( TQWidget *parent ); - static bool s_tryAudioPreview; - -private: - class KFileMetaPreviewPrivate; - KFileMetaPreviewPrivate *d; -}; - -#endif // KFILEMETAPREVIEW_H |