phoneapp/phoneuiqtviewadapter/tsrc/ut_phoneuicommandcontroller/hb_stub.cpp
changeset 78 baacf668fe89
parent 76 cfea66083b62
equal deleted inserted replaced
76:cfea66083b62 78:baacf668fe89
    15 *
    15 *
    16 */
    16 */
    17 
    17 
    18 #include <hbaction.h>
    18 #include <hbaction.h>
    19 
    19 
    20 QString hbTrId(const char *id, int n) { return QString(id); };
       
    21 
    20 
    22 HbAction::HbAction(QObject *parent)
    21 HbAction::HbAction(QObject *parent)
    23      : QAction(parent), d_ptr(0)
    22      : QAction(parent), d_ptr(0)
    24 {
    23 {
    25 }
    24 }
    27 HbAction::HbAction(const QString &text, QObject *parent)
    26 HbAction::HbAction(const QString &text, QObject *parent)
    28      : QAction(text, parent), d_ptr(0)
    27      : QAction(text, parent), d_ptr(0)
    29 {
    28 {
    30 }
    29 }
    31 
    30 
    32 HbAction::~HbAction()
    31 HbAction::~HbAction() {}
    33 {
    32 void HbAction::setIcon(const HbIcon &icon) {}
    34 }
       
    35 
       
    36 int HbAction::qt_metacall(enum QMetaObject::Call, int, void * *) {};
       
    37 void* HbAction::qt_metacast(char const *) {};
       
    38 struct QMetaObject const * HbAction::metaObject(void) const {};
       
    39 
    33 
    40 #include <hbicon.h>
    34 #include <hbicon.h>
    41 
    35 
    42 class HbIconPrivate
    36 class HbIconPrivate
    43 {
    37 {
    60 
    54 
    61 void QGraphicsWidget::removeAction(QAction *action)
    55 void QGraphicsWidget::removeAction(QAction *action)
    62 {
    56 {
    63 }
    57 }
    64 
    58 
    65 #include "phoneaction.h"
       
    66 
       
    67 PhoneAction::PhoneAction () : 
       
    68     m_text (QString ()), m_command (-1), m_icon (0), m_disabled(false),
       
    69     m_role(PhoneAction::None)
       
    70 {
       
    71 }
       
    72 
       
    73 PhoneAction::~PhoneAction ()
       
    74 {
       
    75 }
       
    76