From 7e1dce1560e45ef7fad91a8da2d0d96c1b166df9 Mon Sep 17 00:00:00 2001 From: zecke Date: Sun, 25 May 2003 17:51:52 +0000 Subject: die here too --- (limited to 'libopie/ofileselector/opixmapprovider.h') diff --git a/libopie/ofileselector/opixmapprovider.h b/libopie/ofileselector/opixmapprovider.h deleted file mode 100644 index 2165fdb..0000000 --- a/libopie/ofileselector/opixmapprovider.h +++ b/dev/null @@ -1,41 +0,0 @@ -#ifndef OPIE_PIXMPAP_PROVIDER -#define OPIE_PIXMPAP_PROVIDER - -#include - -#include "ofileselector.h" - -/** - * This is a basic interface for a Pixmap provider - * it provides pixmaps for a URL - * So the OLocalLister provides mimetype icons - */ -class QFileInfo; -class OPixmapProvider { -public: - /* you can or these - * but File | Dir would be insane ;) - */ - enum Type { File = 0, Dir = 1, Symlink = 2 }; - OPixmapProvider( OFileSelector* sel ); - virtual ~OPixmapProvider(); - - virtual QPixmap pixmap( int t, const QString& mime, QFileInfo*, - bool isLocked = FALSE ); - virtual QPixmap pixmap( int t, const QString& mime, - const QString& dir, const QString& file, - bool isLocked = FALSE ); - -protected: - OFileSelector* selector(); -private: - QPixmap file( QFileInfo*, - bool sym, bool is ); - QPixmap dir ( QFileInfo*, - bool sym, bool is ); - QPixmap sym ( QFileInfo*, - bool is ); - OFileSelector* m_sel; -}; - -#endif -- cgit v0.9.0.2