##// END OF EJS Templates
added alphabetic sorting...
added alphabetic sorting git-svn-id: svn://svn.code.sf.net/p/pythonqt/code/trunk@132 ea8d5007-eb21-0410-b261-ccb3ea6e24a9

File last commit:

r28:cf202027b50b
r96:3170eb771a99
Show More
PythonQtWrapper_QFileIconProvider.h
47 lines | 1.8 KiB | text/x-c | CLexer
/ generated_cpp / com_trolltech_qt_gui / PythonQtWrapper_QFileIconProvider.h
florianlink
added initial generated wrappers for Qt 4.4.3...
r13 #ifndef PYTHONQTWRAPPER_QFILEICONPROVIDER_H
#define PYTHONQTWRAPPER_QFILEICONPROVIDER_H
#include <qfileiconprovider.h>
#include <QObject>
florianlink
- added support for deriving CPP classes in Python and to override all public and protected virtual functions from PythonQt...
r24 #include <PythonQt.h>
florianlink
added initial generated wrappers for Qt 4.4.3...
r13 #include <QVariant>
#include <qfileiconprovider.h>
#include <qfileinfo.h>
#include <qicon.h>
florianlink
- added support for deriving CPP classes in Python and to override all public and protected virtual functions from PythonQt...
r24 class PythonQtShell_QFileIconProvider : public QFileIconProvider
{
public:
PythonQtShell_QFileIconProvider():QFileIconProvider(),_wrapper(NULL) {};
virtual QIcon icon(QFileIconProvider::IconType type) const;
virtual QIcon icon(const QFileInfo& info) const;
virtual QString type(const QFileInfo& info) const;
PythonQtInstanceWrapper* _wrapper;
};
florianlink
upgraded wrappers to current generator version...
r28 class PythonQtPublicPromoter_QFileIconProvider : public QFileIconProvider
{ public:
inline QIcon promoted_icon(QFileIconProvider::IconType type) const { return QFileIconProvider::icon(type); }
inline QString promoted_type(const QFileInfo& info) const { return QFileIconProvider::type(info); }
inline QIcon promoted_icon(const QFileInfo& info) const { return QFileIconProvider::icon(info); }
};
florianlink
added initial generated wrappers for Qt 4.4.3...
r13 class PythonQtWrapper_QFileIconProvider : public QObject
{ Q_OBJECT
public:
Q_ENUMS(IconType )
enum IconType{
Computer = QFileIconProvider::Computer, Desktop = QFileIconProvider::Desktop, Trashcan = QFileIconProvider::Trashcan, Network = QFileIconProvider::Network, Drive = QFileIconProvider::Drive, Folder = QFileIconProvider::Folder, File = QFileIconProvider::File};
public slots:
QFileIconProvider* new_QFileIconProvider();
void delete_QFileIconProvider(QFileIconProvider* obj) { delete obj; }
florianlink
- added support for deriving CPP classes in Python and to override all public and protected virtual functions from PythonQt...
r24 QIcon icon(QFileIconProvider* theWrappedObject, QFileIconProvider::IconType type) const;
florianlink
added initial generated wrappers for Qt 4.4.3...
r13 QString type(QFileIconProvider* theWrappedObject, const QFileInfo& info) const;
florianlink
upgraded wrappers to current generator version...
r28 QIcon icon(QFileIconProvider* theWrappedObject, const QFileInfo& info) const;
florianlink
added initial generated wrappers for Qt 4.4.3...
r13 };
#endif // PYTHONQTWRAPPER_QFILEICONPROVIDER_H