summaryrefslogtreecommitdiff
path: root/library/qt_override.cpp
authorzecke <zecke>2004-10-15 19:23:42 (UTC)
committer zecke <zecke>2004-10-15 19:23:42 (UTC)
commitac36bfe2794741188da1d6d4b471f96fd15d47ee (patch) (side-by-side diff)
tree5c1bc264fd554142993be8963aed159f32877d6a /library/qt_override.cpp
parenta979ea08e8f9dbade70a9bf4fdc93dcbebb5f3fa (diff)
downloadopie-ac36bfe2794741188da1d6d4b471f96fd15d47ee.zip
opie-ac36bfe2794741188da1d6d4b471f96fd15d47ee.tar.gz
opie-ac36bfe2794741188da1d6d4b471f96fd15d47ee.tar.bz2
-Add a QPEGLOBAL that adds define for 'weak', 'used' and unused symbols
Make use of the newly added qpeglobal.h to kill custom versions of similiar macros
Diffstat (limited to 'library/qt_override.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r--library/qt_override.cpp16
1 files changed, 2 insertions, 14 deletions
diff --git a/library/qt_override.cpp b/library/qt_override.cpp
index 56f82d7..a0d753b 100644
--- a/library/qt_override.cpp
+++ b/library/qt_override.cpp
@@ -10,2 +10,3 @@
+#include <qtopia/qpeglobal.h>
#include "qt_override_p.h"
@@ -87,4 +88,3 @@ extern "C" {
-extern void __gmon_start__ ( ) __attribute__(( weak ));
-
+extern void __gmon_start__ ( ) QPE_WEAK_SYMBOL;
extern void __gmon_start__ ( )
@@ -104,4 +104,2 @@ void QPEApplication::polish ( QWidget *w )
#ifndef OPIE_NO_OVERRIDE_QT
-// qDebug ( "QPEApplication::polish()" );
-
for ( const color_fix_t *ptr = apps_that_need_special_colors; ptr-> m_app; ptr++ ) {
@@ -127,4 +125,2 @@ QValueList <int> QFontDatabase::pointSizes ( QString const &family, QString cons
{
-// qDebug ( "QFontDatabase::pointSizes()" );
-
QValueList <int> sl = pointSizes_NonWeak ( family, style, charset );
@@ -146,4 +142,2 @@ void QApplication::setStyle ( QStyle *style )
{
-// qDebug ( "QApplication::setStyle()" );
-
if ( Opie::force_appearance & Opie::Force_Style )
@@ -156,4 +150,2 @@ void QApplication::setPalette ( const QPalette &pal, bool informWidgets, const c
{
-// qDebug ( "QApplication::setPalette()" );
-
if (!( Opie::force_appearance & Opie::Force_Style ))
@@ -164,4 +156,2 @@ void QApplication::setFont ( const QFont &fnt, bool informWidgets, const char *c
{
-// qDebug ( "QApplication::setFont()" );
-
if (!( Opie::force_appearance & Opie::Force_Font ))
@@ -173,4 +163,2 @@ void QApplication::qwsSetDecoration ( QWSDecoration *deco )
{
-// qDebug ( "QApplication::qwsSetDecoration()" );
-
if ( Opie::force_appearance & Opie::Force_Decoration )