##// END OF EJS Templates
allow to pass invalid QVariants as QVariant parameter of slots...
allow to pass invalid QVariants as QVariant parameter of slots git-svn-id: svn://svn.code.sf.net/p/pythonqt/code/trunk@127 ea8d5007-eb21-0410-b261-ccb3ea6e24a9

File last commit:

r73:40dc86970256
r91:7fc8b24bca05
Show More
PythonQtWrapper_QSystemTrayIcon.h
65 lines | 2.7 KiB | text/x-c | CLexer
/ generated_cpp / com_trolltech_qt_gui / PythonQtWrapper_QSystemTrayIcon.h
florianlink
added initial generated wrappers for Qt 4.4.3...
r13 #ifndef PYTHONQTWRAPPER_QSYSTEMTRAYICON_H
#define PYTHONQTWRAPPER_QSYSTEMTRAYICON_H
#include <qsystemtrayicon.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 <qbytearray.h>
#include <qcoreevent.h>
#include <qicon.h>
#include <qlist.h>
#include <qmenu.h>
#include <qobject.h>
#include <qrect.h>
#include <qsystemtrayicon.h>
florianlink
- added support for deriving CPP classes in Python and to override all public and protected virtual functions from PythonQt...
r24 class PythonQtShell_QSystemTrayIcon : public QSystemTrayIcon
{
public:
PythonQtShell_QSystemTrayIcon(QObject* parent = 0):QSystemTrayIcon(parent),_wrapper(NULL) {};
PythonQtShell_QSystemTrayIcon(const QIcon& icon, QObject* parent = 0):QSystemTrayIcon(icon, parent),_wrapper(NULL) {};
virtual void childEvent(QChildEvent* arg__1);
virtual void customEvent(QEvent* arg__1);
virtual bool event(QEvent* event);
virtual bool eventFilter(QObject* arg__1, QEvent* arg__2);
virtual void timerEvent(QTimerEvent* arg__1);
PythonQtInstanceWrapper* _wrapper;
};
class PythonQtPublicPromoter_QSystemTrayIcon : public QSystemTrayIcon
{ public:
florianlink
upgraded wrappers to current generator version...
r28 inline bool promoted_event(QEvent* event) { return QSystemTrayIcon::event(event); }
florianlink
- added support for deriving CPP classes in Python and to override all public and protected virtual functions from PythonQt...
r24 };
florianlink
added initial generated wrappers for Qt 4.4.3...
r13 class PythonQtWrapper_QSystemTrayIcon : public QObject
{ Q_OBJECT
public:
Q_ENUMS(MessageIcon ActivationReason )
enum MessageIcon{
NoIcon = QSystemTrayIcon::NoIcon, Information = QSystemTrayIcon::Information, Warning = QSystemTrayIcon::Warning, Critical = QSystemTrayIcon::Critical};
enum ActivationReason{
Unknown = QSystemTrayIcon::Unknown, Context = QSystemTrayIcon::Context, DoubleClick = QSystemTrayIcon::DoubleClick, Trigger = QSystemTrayIcon::Trigger, MiddleClick = QSystemTrayIcon::MiddleClick};
public slots:
QSystemTrayIcon* new_QSystemTrayIcon(QObject* parent = 0);
QSystemTrayIcon* new_QSystemTrayIcon(const QIcon& icon, QObject* parent = 0);
void delete_QSystemTrayIcon(QSystemTrayIcon* obj) { delete obj; }
florianlink
recreated wrappers to match current python qt version...
r73 bool static_QSystemTrayIcon_isSystemTrayAvailable();
QIcon icon(QSystemTrayIcon* theWrappedObject) const;
bool isVisible(QSystemTrayIcon* theWrappedObject) const;
void showMessage(QSystemTrayIcon* theWrappedObject, const QString& title, const QString& msg, QSystemTrayIcon::MessageIcon icon = QSystemTrayIcon::Information, int msecs = 10000);
void setIcon(QSystemTrayIcon* theWrappedObject, const QIcon& icon);
florianlink
upgraded wrappers to current generator version...
r28 bool static_QSystemTrayIcon_supportsMessages();
void setContextMenu(QSystemTrayIcon* theWrappedObject, QMenu* menu);
florianlink
recreated wrappers to match current python qt version...
r73 QMenu* contextMenu(QSystemTrayIcon* theWrappedObject) const;
florianlink
added initial generated wrappers for Qt 4.4.3...
r13 void setToolTip(QSystemTrayIcon* theWrappedObject, const QString& tip);
florianlink
recreated wrappers to match current python qt version...
r73 bool event(QSystemTrayIcon* theWrappedObject, QEvent* event);
florianlink
upgraded wrappers to current generator version...
r28 QRect geometry(QSystemTrayIcon* theWrappedObject) const;
florianlink
added initial generated wrappers for Qt 4.4.3...
r13 QString toolTip(QSystemTrayIcon* theWrappedObject) const;
};
#endif // PYTHONQTWRAPPER_QSYSTEMTRAYICON_H