fontdatabase.h
00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020 #ifndef FONTFACTORY_H
00021 #define FONTFACTORY_H
00022
00023 #include <qpe/fontfactoryinterface.h>
00024
00025 #include <qfontdatabase.h>
00026 #include <qvaluelist.h>
00027
00028 class QLibrary;
00029
00030 struct FontFactory
00031 {
00032 #ifndef QT_NO_COMPONENT
00033 QLibrary *library;
00034 #endif
00035 FontFactoryInterface *interface;
00036 QFontFactory *factory;
00037 };
00038
00039 #undef QT_NO_FONTDATABASE
00040 class FontDatabase
00041 #ifndef QT_NO_FONTDATABASE
00042 : public QFontDatabase
00043 #endif
00044 {
00045 public:
00046 FontDatabase();
00047
00048
00049 QStringList families () const;
00050 #ifdef QT_NO_FONTDATABASE
00051 static QValueList<int> standardSizes ();
00052 #endif
00053
00054 static void loadRenderers();
00055
00056 private:
00057 static void readFonts( QFontFactory *factory );
00058
00059 private:
00060 static QValueList<FontFactory> *factoryList;
00061 };
00062
00063 #endif
This file is part of the documentation for OPIE Version 1.5.5.