-rw-r--r-- | library/qt_override.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/library/qt_override.cpp b/library/qt_override.cpp index 9c5ba24..02c48a0 100644 --- a/library/qt_override.cpp +++ b/library/qt_override.cpp | |||
@@ -93,9 +93,9 @@ extern void __gmon_start__ ( ) | |||
93 | // TT made it an inline ...) | 93 | // TT made it an inline ...) |
94 | 94 | ||
95 | void QPEApplication::polish ( QWidget *w ) | 95 | void QPEApplication::polish ( QWidget *w ) |
96 | { | 96 | { |
97 | qDebug ( "QPEApplication::polish()" ); | 97 | //qDebug ( "QPEApplication::polish()" ); |
98 | 98 | ||
99 | for ( const color_fix_t *ptr = apps_that_need_special_colors; ptr-> m_app; ptr++ ) { | 99 | for ( const color_fix_t *ptr = apps_that_need_special_colors; ptr-> m_app; ptr++ ) { |
100 | if (( ::strcmp ( Opie::binaryName ( ), ptr-> m_app ) == 0 ) && | 100 | if (( ::strcmp ( Opie::binaryName ( ), ptr-> m_app ) == 0 ) && |
101 | ( ptr-> m_class ? w-> inherits ( ptr-> m_class ) : true ) && | 101 | ( ptr-> m_class ? w-> inherits ( ptr-> m_class ) : true ) && |
@@ -113,9 +113,9 @@ void QPEApplication::polish ( QWidget *w ) | |||
113 | // were multiplied by 10 (which was incorrect) | 113 | // were multiplied by 10 (which was incorrect) |
114 | 114 | ||
115 | QValueList <int> QFontDatabase::pointSizes ( QString const &family, QString const &style, QString const &charset ) | 115 | QValueList <int> QFontDatabase::pointSizes ( QString const &family, QString const &style, QString const &charset ) |
116 | { | 116 | { |
117 | qDebug ( "QFontDatabase::pointSizes()" ); | 117 | //qDebug ( "QFontDatabase::pointSizes()" ); |
118 | 118 | ||
119 | QValueList <int> sl = pointSizes_NonWeak ( family, style, charset ); | 119 | QValueList <int> sl = pointSizes_NonWeak ( family, style, charset ); |
120 | 120 | ||
121 | for ( const char * const *ptr = apps_that_need_pointsizes_times_10; *ptr; ptr++ ) { | 121 | for ( const char * const *ptr = apps_that_need_pointsizes_times_10; *ptr; ptr++ ) { |
@@ -132,9 +132,9 @@ QValueList <int> QFontDatabase::pointSizes ( QString const &family, QString cons | |||
132 | // which allows us to force the usage of the global Opie appearance. | 132 | // which allows us to force the usage of the global Opie appearance. |
133 | 133 | ||
134 | void QApplication::setStyle ( QStyle *style ) | 134 | void QApplication::setStyle ( QStyle *style ) |
135 | { | 135 | { |
136 | qDebug ( "QApplication::setStyle()" ); | 136 | //qDebug ( "QApplication::setStyle()" ); |
137 | 137 | ||
138 | if ( Opie::force_appearance & Opie::Force_Style ) | 138 | if ( Opie::force_appearance & Opie::Force_Style ) |
139 | delete style; | 139 | delete style; |
140 | else | 140 | else |
@@ -142,26 +142,26 @@ void QApplication::setStyle ( QStyle *style ) | |||
142 | } | 142 | } |
143 | 143 | ||
144 | void QApplication::setPalette ( const QPalette &pal, bool informWidgets, const char *className ) | 144 | void QApplication::setPalette ( const QPalette &pal, bool informWidgets, const char *className ) |
145 | { | 145 | { |
146 | qDebug ( "QApplication::setPalette()" ); | 146 | //qDebug ( "QApplication::setPalette()" ); |
147 | 147 | ||
148 | if (!( Opie::force_appearance & Opie::Force_Style )) | 148 | if (!( Opie::force_appearance & Opie::Force_Style )) |
149 | QApplication::setPalette_NonWeak ( pal, informWidgets, className ); | 149 | QApplication::setPalette_NonWeak ( pal, informWidgets, className ); |
150 | } | 150 | } |
151 | 151 | ||
152 | void QApplication::setFont ( const QFont &fnt, bool informWidgets, const char *className ) | 152 | void QApplication::setFont ( const QFont &fnt, bool informWidgets, const char *className ) |
153 | { | 153 | { |
154 | qDebug ( "QApplication::setFont()" ); | 154 | //qDebug ( "QApplication::setFont()" ); |
155 | 155 | ||
156 | if (!( Opie::force_appearance & Opie::Force_Font )) | 156 | if (!( Opie::force_appearance & Opie::Force_Font )) |
157 | QApplication::setFont_NonWeak ( fnt, informWidgets, className ); | 157 | QApplication::setFont_NonWeak ( fnt, informWidgets, className ); |
158 | } | 158 | } |
159 | 159 | ||
160 | 160 | ||
161 | void QApplication::qwsSetDecoration ( QWSDecoration *deco ) | 161 | void QApplication::qwsSetDecoration ( QWSDecoration *deco ) |
162 | { | 162 | { |
163 | qDebug ( "QApplication::qwsSetDecoration()" ); | 163 | //qDebug ( "QApplication::qwsSetDecoration()" ); |
164 | 164 | ||
165 | if ( Opie::force_appearance & Opie::Force_Decoration ) | 165 | if ( Opie::force_appearance & Opie::Force_Decoration ) |
166 | delete deco; | 166 | delete deco; |
167 | else | 167 | else |