equal
deleted
inserted
replaced
43 #define QGTKSTYLE_H |
43 #define QGTKSTYLE_H |
44 |
44 |
45 #include <QtGui/QCleanlooksStyle> |
45 #include <QtGui/QCleanlooksStyle> |
46 #include <QtGui/QPalette> |
46 #include <QtGui/QPalette> |
47 #include <QtGui/QFont> |
47 #include <QtGui/QFont> |
|
48 #include <QtGui/QFileDialog> |
48 |
49 |
49 QT_BEGIN_HEADER |
50 QT_BEGIN_HEADER |
50 |
51 |
51 QT_BEGIN_NAMESPACE |
52 QT_BEGIN_NAMESPACE |
52 |
53 |
62 Q_OBJECT |
63 Q_OBJECT |
63 Q_DECLARE_PRIVATE(QGtkStyle) |
64 Q_DECLARE_PRIVATE(QGtkStyle) |
64 |
65 |
65 public: |
66 public: |
66 QGtkStyle(); |
67 QGtkStyle(); |
|
68 QGtkStyle(QGtkStylePrivate &dd); |
|
69 |
67 ~QGtkStyle(); |
70 ~QGtkStyle(); |
68 |
71 |
69 QPalette standardPalette() const; |
72 QPalette standardPalette() const; |
70 |
73 |
71 void drawPrimitive(PrimitiveElement element, const QStyleOption *option, |
74 void drawPrimitive(PrimitiveElement element, const QStyleOption *option, |
105 void polish(QPalette &palette); |
108 void polish(QPalette &palette); |
106 |
109 |
107 void unpolish(QWidget *widget); |
110 void unpolish(QWidget *widget); |
108 void unpolish(QApplication *app); |
111 void unpolish(QApplication *app); |
109 |
112 |
|
113 static bool getGConfBool(const QString &key, bool fallback = 0); |
|
114 static QString getGConfString(const QString &key, const QString &fallback = QString()); |
|
115 |
|
116 |
110 protected Q_SLOTS: |
117 protected Q_SLOTS: |
111 QIcon standardIconImplementation(StandardPixmap standardIcon, const QStyleOption *option, |
118 QIcon standardIconImplementation(StandardPixmap standardIcon, const QStyleOption *option, |
112 const QWidget *widget = 0) const; |
119 const QWidget *widget = 0) const; |
113 }; |
120 }; |
114 |
|
115 |
121 |
116 #endif //!defined(QT_NO_STYLE_QGTK) |
122 #endif //!defined(QT_NO_STYLE_QGTK) |
117 |
123 |
118 QT_END_NAMESPACE |
124 QT_END_NAMESPACE |
119 |
125 |