Changeset 50

Show
Ignore:
Timestamp:
08/30/01 08:47:29 (7 years ago)
Author:
kocienda
Message:

Changed definitions of SIGNAL and SLOT macros to be strings

Location:
trunk/WebCore
Files:
3 modified

Legend:

Unmodified
Added
Removed
  • trunk/WebCore/kwq/KWQObject.h

    r49 r50  
    3030#include "qobjectdefs.h" 
    3131#include "qevent.h" 
     32#include "qvariant.h" 
    3233 
    3334// FIXME: should these macros be in "kwq.h" or other header file? 
    3435#define slots 
    35 #define SLOT(x) x 
     36#define SLOT(x) "x" 
    3637#define signals protected 
    37 #define SIGNAL(x) x 
     38#define SIGNAL(x) "x" 
    3839#define emit 
    3940#define Q_OBJECT 
    40 //#define connect(arg1, arg2, arg3, arg4) 
    4141 
    4242class QObject { 
     
    4545    const char *name() const; 
    4646    virtual void setName(const char *); 
     47    QVariant property(const char *name) const; 
    4748    bool inherits(const char *) const; 
    4849    static bool connect(const QObject *, const char *, const QObject *, const 
  • trunk/WebCore/kwq/qt/qobject.h

    r49 r50  
    3030#include "qobjectdefs.h" 
    3131#include "qevent.h" 
     32#include "qvariant.h" 
    3233 
    3334// FIXME: should these macros be in "kwq.h" or other header file? 
    3435#define slots 
    35 #define SLOT(x) x 
     36#define SLOT(x) "x" 
    3637#define signals protected 
    37 #define SIGNAL(x) x 
     38#define SIGNAL(x) "x" 
    3839#define emit 
    3940#define Q_OBJECT 
    40 //#define connect(arg1, arg2, arg3, arg4) 
    4141 
    4242class QObject { 
     
    4545    const char *name() const; 
    4646    virtual void setName(const char *); 
     47    QVariant property(const char *name) const; 
    4748    bool inherits(const char *) const; 
    4849    static bool connect(const QObject *, const char *, const QObject *, const 
  • trunk/WebCore/src/kwq/qt/qobject.h

    r49 r50  
    3030#include "qobjectdefs.h" 
    3131#include "qevent.h" 
     32#include "qvariant.h" 
    3233 
    3334// FIXME: should these macros be in "kwq.h" or other header file? 
    3435#define slots 
    35 #define SLOT(x) x 
     36#define SLOT(x) "x" 
    3637#define signals protected 
    37 #define SIGNAL(x) x 
     38#define SIGNAL(x) "x" 
    3839#define emit 
    3940#define Q_OBJECT 
    40 //#define connect(arg1, arg2, arg3, arg4) 
    4141 
    4242class QObject { 
     
    4545    const char *name() const; 
    4646    virtual void setName(const char *); 
     47    QVariant property(const char *name) const; 
    4748    bool inherits(const char *) const; 
    4849    static bool connect(const QObject *, const char *, const QObject *, const