Exemple #1
0
static CFbsBitmap* createBlitCopy(CFbsBitmap* bitmap)
{
      CFbsBitmap *copy = q_check_ptr(new CFbsBitmap);
      if(!copy)
        return 0;

      if (copy->Create(bitmap->SizeInPixels(), bitmap->DisplayMode()) != KErrNone) {
          delete copy;
          copy = 0;

          return 0;
      }

      CFbsBitmapDevice* bitmapDevice = 0;
      CFbsBitGc *bitmapGc = 0;
      QT_TRAP_THROWING(bitmapDevice = CFbsBitmapDevice::NewL(copy));
      QT_TRAP_THROWING(bitmapGc = CFbsBitGc::NewL());
      bitmapGc->Activate(bitmapDevice);

      bitmapGc->BitBlt(TPoint(), bitmap);

      delete bitmapGc;
      delete bitmapDevice;

      return copy;
}
Exemple #2
0
SymbianPhone::SymbianPhone(QObject *parent):
    Phone(parent)
{
    lastBatteryLevel = 100;
    QT_TRAP_THROWING(iInterfaceSelector = CRemConInterfaceSelector::NewL());
    QT_TRAP_THROWING(iCoreTarget = CRemConCoreApiTarget::NewL(*iInterfaceSelector, *this));
    iInterfaceSelector->OpenTargetL();

    callsListener = ActiveCallsListener::NewL(*this);
    batteryListener = ActiveBatteryListener::NewL(*this);
}
//-----------------------------------------------------------------------------
// SatAppToneProvider::playStandardTone
//-----------------------------------------------------------------------------
void SatAppToneProvider::playStandardTone(
    const QString& text,
    const QByteArray& sequence,
    int duration)
{
    qDebug("SATAPP: SatAppToneProvider::playStandardTone >");

    if (text.length() > 0) {
        mPermanentNote = new HbMessageBox(HbMessageBox::MessageTypeInformation);
        SAT_ASSERT(connect(mPermanentNote, SIGNAL(aboutToClose()),
                this, SLOT(stopPlayTone())));
        mPermanentNote->setText(text);
        mPermanentNote->setStandardButtons(HbMessageBox::Cancel);
        if (duration > 0 ) {
            mPermanentNote->setTimeout(duration);
        }
        mPermanentNote->setDismissPolicy(HbPopup::TapAnywhere);
        qDebug("SatAppToneProvider::playStandardTone show before");
        mPermanentNote->show();
        qDebug("SatAppToneProvider::playStandardTone show after");
    }

    TPtrC8 seq((unsigned char*)sequence.constData(), sequence.length());
    qDebug("SATAPP: SatAppToneProvider::playStandardTone TPtrC8 seq: %S", &seq);
    QT_TRAP_THROWING(SymbianPrepareAudioToneUtilityL(seq));

    if (duration > 0) {
        mTimer = new QTimer(this);
        SAT_ASSERT(connect(mTimer, SIGNAL(timeout()),
                this, SLOT(stopPlayTone())));
        mTimer->start(duration);
    }
    
    qDebug("SATAPP: SatAppToneProvider::playStandardTone <");
}
void ToneProviderTest::ConstructAudioPlayer()
{
    int tone = ESatToneNotSet;
    int duration = 0;
    if(mTone)
        QT_TRAP_THROWING(mTone->SymbianPrepareAudioPlayerL(tone,duration));
}
void CpCertTrustView::viewTrustSettings()
	{
	RDEBUG("0", 0);
	mTrustedClients << " \tWAP connection\t\t";
	mTrustedClients << " \tMail and Image conn.\t\t";
	mTrustedClients << " \tNative installing\t\t";
	mTrustedClients << " \tJava installing\t\t";
	mTrustedClients << " \tOCSP validation\t\t";
	mTrustedClients << " \tVPN\t\t";
	mTrustedClients << " \tWidget Installation\t\t";
	
	mTrustValues << "On";
	mTrustValues << "Off";
		
	try
		{
		QT_TRAP_THROWING( mAppInfoManager =
			CCertificateAppInfoManager::NewL( mCertDataContainer.iRfs, EFalse );
			updateListBoxL();)
		}
	catch(std::exception& exception)
		{
		QString error(exception.what());
		QT_TRAP_THROWING(	mCertDataContainer.ShowErrorNoteL( error.toInt()) );
		throw(exception);
		}
	}
// UniBioMessageDataPlugin::attachmentList()
// @see header
//---------------------------------------------------------------
UniMessageInfoList UniBioMessageDataPlugin::attachmentList()
{
    RFile file;
    QT_TRAP_THROWING(file = d_ptr->attachmentL());

    if(attachmentCount() == 0)
    {
        file.Close();
        return QList<UniMessageInfo*> ();
    }
     
    UniMessageInfoList attlist;

    QString path;
    QString mimetype;
    int size = 0;

    TFileName fullName;
    qt_symbian_throwIfError(file.FullName(fullName));
    qt_symbian_throwIfError(file.Size(size));

    path = XQConversions::s60DescToQString(*fullName.AllocL());

    UniMessageInfo *msgobj = new UniMessageInfo(path, size, mimetype);
    attlist << msgobj;
    file.Close();
    return attlist;
}
Exemple #7
0
int main(int argc, char *argv[])
{
#if defined (Q_OS_SYMBIAN)
    QApplication::setGraphicsSystem("raster");
    QApplication app(argc, argv);
    // lock orientation before constructing camera
    CAknAppUi* appUi = dynamic_cast<CAknAppUi*>(CEikonEnv::Static()->AppUi());
    if(appUi){
        QT_TRAP_THROWING(appUi ->SetOrientationL(CAknAppUi::EAppUiOrientationLandscape));
    }
#else
    QApplication app(argc, argv);
#endif

    Camera camera;

#ifdef Q_OS_SYMBIAN
    camera.showMaximized();
    new QSymbianCameraKeyListener(&camera);
#else
    camera.show();
#endif
    
    return app.exec();
};
void UT_DialpadHashEventFilter::init()
{
    initialize();
    
    m_lineEditMock = new HbLineEdit();
    QT_TRAP_THROWING(SmcDefaultValue<HbLineEdit&>::SetL(*m_lineEditMock))
    
    XQAiwInterfaceDescriptor descriptor;
    QString dummyOperation;
    bool isEmbedded = false;
    QList<XQAiwInterfaceDescriptor> interfaceList;
    interfaceList.append(descriptor);
    /*EXPECT(XQApplicationManager, list).returns(interfaceList);
    QPointer<XQAiwRequest> aiwRequest(new XQAiwRequest(
        descriptor, dummyOperation, isEmbedded));
    EXPECT(XQApplicationManager, create).returns(aiwRequest.data());
    EXPECT(XQAiwRequest, send)
        .willOnce(invoke(setValidatorReturnValue))
        .returns(true);*/
    
    SmcDefaultValue<QString>::SetL(QString());
    HbMainWindow *dummyWindow = NULL;
    m_dialPad = new Dialpad(*dummyWindow);
    m_eventFilter = new DialpadHashEventFilter(m_dialPad);
    
    //QVERIFY(aiwRequest.isNull());
    QVERIFY(verify());
}
void ToneProviderTest::ConstructAudioTone()
{
    QByteArray sequence;
    sequence = KNetToneSeqDial;
    TPtrC8 seq((unsigned char*)sequence.constData(),sequence.length());
    if(mTone)
        QT_TRAP_THROWING(mTone->SymbianPrepareAudioToneUtilityL(seq));
}
ControllerWrapper::ControllerWrapper(QObject *parent) :
    QObject(parent)
{
#ifdef Q_OS_SYMBIAN
    QT_TRAP_THROWING(d_ptr = CController::NewL(*this) );
#elif defined(_SIMULATOR_STUB)
    // STUB for other platforms
#endif
}
QBtServiceDiscoverer::QBtServiceDiscoverer(QObject *parent) :
    QObject(parent)
{
#ifdef Q_OS_SYMBIAN
    QT_TRAP_THROWING(_implPtr = QBtServiceDiscovererPrivate::NewL(this));
#else
    _implPtr = new QBtServiceDiscovererPrivate(this);
#endif
}
//////////////////////////////////////////////////
// QBtObjectExchangeClient::QBtObjectExchangeClient()	//
// Defaul constructor							//
//////////////////////////////////////////////////
QBtObjectExchangeClient::QBtObjectExchangeClient(QObject *parent) :
    QObject(parent)
{
#ifdef Q_OS_SYMBIAN
    QT_TRAP_THROWING(_implPtr = QBtObjectExchangeClientPrivate::NewL(this));
#else
    _implPtr = new QBtObjectExchangeClientPrivate(this);
#endif
}
Exemple #13
0
QT_BEGIN_NAMESPACE

QAudioDeviceInfoInternal::QAudioDeviceInfoInternal(QByteArray device,
                                               QAudio::Mode mode)
    :   m_deviceName(QLatin1String(device))
    ,   m_mode(mode)
    ,   m_updated(false)
{
    QT_TRAP_THROWING(m_devsound.reset(CMMFDevSound::NewL()));
}
// ----------------------------------------------------------------------------
// convertOptionalComponentIndexes()
// ----------------------------------------------------------------------------
//
QVariant convertOptionalComponentIndexes(const QList<QVariant> &selections)
{
#ifdef Q_OS_SYMBIAN
    QByteArray byteArray;
    QT_TRAP_THROWING( byteArray = ConvertOptionalComponentIndexesL( selections ) );
    return QVariant( byteArray );
#else
    return QVariant();
#endif
}
Exemple #15
0
QString QNFCNdefUtility::TDesC82QStringL(const TDesC8& aDescriptor)
    {
    HBufC* newBuf = NULL;
    QT_TRAP_THROWING(newBuf = HBufC::NewL(aDescriptor.Length()));
    TPtr des = newBuf->Des();
    des.Copy(aDescriptor);
    QString ret = QString::fromUtf16(newBuf->Ptr(),newBuf->Length());
    delete newBuf;
    return ret;
    }
S60VideoPlayerSession::S60VideoPlayerSession(QMediaService *service)
    : S60MediaPlayerSession(service)
    , m_player(0)
    , m_rect(0, 0, 0, 0)
    , m_videoOutput(0)
    , m_windowId(0)
    , m_dsaActive(false)
    , m_dsaStopped(false)
    , m_wsSession(CCoeEnv::Static()->WsSession())
    , m_screenDevice(*CCoeEnv::Static()->ScreenDevice())
    , m_window(0)
    , m_displayWindow(0)
    , m_service(*service)
    , m_aspectRatioMode(Qt::KeepAspectRatio)
    , m_originalSize(1, 1)
    , m_audioEndpoint("Default")
{
#ifdef HAS_AUDIOROUTING_IN_VIDEOPLAYER
    m_audioOutput = 0;
#endif

#ifdef MMF_VIDEO_SURFACES_SUPPORTED
    QT_TRAP_THROWING(m_player = CVideoPlayerUtility2::NewL(
        *this,
        0,
        EMdaPriorityPreferenceNone
        ));
#else
    resetNativeHandles();
    QT_TRAP_THROWING(m_player = CVideoPlayerUtility::NewL(
        *this,
        0,
        EMdaPriorityPreferenceNone,
        m_wsSession,
        m_screenDevice,
        *m_window,
        m_rect,
        m_rect));
    m_dsaActive = true;
    m_player->RegisterForVideoLoadingNotification(*this);
#endif // MMF_VIDEO_SURFACES_SUPPORTED
}
/*!
    Constructor.
    Creates the CImPop4Settings instance for loading and saving the POP3 settings.
    Finds and loads the SMTP account and settings linked to the POP3 account.
    \param mailboxId Mailbox identifier.
    \param account CEmailAccounts created by the settings manager factory. Takes ownership.
    \param imapAccount TImapAccount of the mailbox.
*/
NmIpsPop3SettingsManager::NmIpsPop3SettingsManager(const NmId &mailboxId,
    CEmailAccounts *account, TPopAccount &popAccount)
: NmIpsSettingsManagerBase(mailboxId, account, IpsServices::EMailPop),
  mPop3Account(popAccount)
{
    QT_TRAP_THROWING(mPop3Settings = new(ELeave) CImPop3Settings());

    TRAP_IGNORE(mAccount->LoadPopSettingsL(mPop3Account, *mPop3Settings));
    TRAP_IGNORE(mAccount->GetSmtpAccountL(mPop3Account.iSmtpService, mSmtpAccount));
    TRAP_IGNORE(mAccount->LoadSmtpSettingsL(mSmtpAccount, *mSmtpSettings));
}
SDeclarativeIndicatorContainer::SDeclarativeIndicatorContainer(QDeclarativeItem *parent)
    : SDeclarativeImplicitSizeItem(parent), d_ptr(new SDeclarativeIndicatorContainerPrivate)
{
#if defined(Q_OS_SYMBIAN) && defined(HAVE_SYMBIAN_INTERNAL)
    QT_TRAP_THROWING(d_ptr->dataHandler = CSDeclarativeIndicatorDataHandler::NewL(this));
#endif // Q_OS_SYMBIAN && HAVE_SYMBIAN_INTERNAL

    connect(this, SIGNAL(indicatorSizeChanged()), this, SLOT(layoutChildren()));
    connect(this, SIGNAL(indicatorPaddingChanged(int)), this, SLOT(layoutChildren()));
    connect(this, SIGNAL(maxIndicatorCountChanged(int)), this, SLOT(layoutChildren()));
}
S60AudioPlayerSession::S60AudioPlayerSession(QObject *parent)
    : S60MediaPlayerSession(parent)
    , m_player(0)
    , m_audioEndpoint("Default")
{
#ifdef HAS_AUDIOROUTING
    m_audioOutput = 0;
#endif //HAS_AUDIOROUTING    
    QT_TRAP_THROWING(m_player = CAudioPlayer::NewL(*this, 0, EMdaPriorityPreferenceNone));
    m_player->RegisterForAudioLoadingNotification(*this);
}
 CDocumentHandler& documentHandler() {
     // In case user calls openUrl twice subsequently, before the first embedded app is closed
     // we use the same CDocumentHandler instance. Using same instance makes sure the first
     // launched embedded app is closed and latter one gets embedded to our app.
     // Using different instance would help only theoretically since user cannot interact with
     // several embedded apps at the same time.
     if(!docHandler) {
         QT_TRAP_THROWING(docHandler = CDocumentHandler::NewL());
         docHandler->SetExitObserver(this);
     }
     return *docHandler;
 }
WlanQtUtilsConMonWrapperDisconnect::WlanQtUtilsConMonWrapperDisconnect(
    WlanQtUtilsConMonWrapper *wrapper) :
    q_ptr(wrapper)
{
    OstTraceFunctionEntry1(WLANQTUTILSCONMONWRAPPERDISCONNECT_WLANQTUTILSCONMONWRAPPERDISCONNECT_ENTRY, this);
    
    // Errors in Connection Monitor Server connection are fatal so just
    // throw them as exceptions
    QT_TRAP_THROWING(iMonitor.ConnectL());

    OstTraceFunctionExit1(WLANQTUTILSCONMONWRAPPERDISCONNECT_WLANQTUTILSCONMONWRAPPERDISCONNECT_EXIT, this);
}
/*!
    Constructor.
    Creates the CImImap4Settings instance for loading and saving the IMAP4 settings.
    Finds and loads the SMTP account and settings linked to the IMAP4 account.
    \param mailboxId Mailbox identifier.
    \param account CEmailAccounts created by the settings manager factory. Takes ownership.
    \param imapAccount TImapAccount of the mailbox.
*/
NmIpsImap4SettingsManager::NmIpsImap4SettingsManager(const NmId &mailboxId,
    CEmailAccounts *account,
    TImapAccount &imapAccount)
: NmIpsSettingsManagerBase(mailboxId, account, IpsServices::EMailImap),
  mImap4Account(imapAccount)
{
    QT_TRAP_THROWING(mImap4Settings = new(ELeave) CImImap4Settings());

    TRAP_IGNORE(mAccount->LoadImapSettingsL(mImap4Account, *mImap4Settings));
    TRAP_IGNORE(mAccount->GetSmtpAccountL(mImap4Account.iSmtpService, mSmtpAccount));
    TRAP_IGNORE(mAccount->LoadSmtpSettingsL(mSmtpAccount, *mSmtpSettings));
}
Exemple #23
0
int main(int argc, char *argv[])
{
#ifdef Q_WS_X11
	QApplication::setAttribute(Qt::AA_X11InitThreads, true);
#endif
	QApplication a(argc, argv);
	// Lock orientation to landscape on Symbian
#ifdef __SYMBIAN32__
	QT_TRAP_THROWING(dynamic_cast<CAknAppUi*>(CEikonEnv::Static()->AppUi())->SetOrientationL(CAknAppUi::EAppUiOrientationLandscape));
#endif
	QSize res = QApplication::desktop()->screenGeometry().size();
#ifdef USING_GLES2
	if (res.width() < res.height())
		res.transpose();
	pixel_xres = res.width();
	pixel_yres = res.height();
#else
	// Set resolution to half of the monitor on desktop systems
	pixel_xres = res.width() / 2;
	pixel_yres = res.height() / 2;
#endif
	float dpi_scale = CalculateDPIScale();
	dp_xres = (int)(pixel_xres * dpi_scale); dp_yres = (int)(pixel_yres * dpi_scale);
	net::Init();
#ifdef __SYMBIAN32__
	NativeInit(argc, (const char **)argv, "E:/PPSSPP/", "E:", "BADCOFFEE");
#elif defined(BLACKBERRY)
	NativeInit(argc, (const char **)argv, "data/", "/tmp", "BADCOFFEE");
#else
	NativeInit(argc, (const char **)argv, "./", "/tmp", "BADCOFFEE");
#endif

#if defined(Q_WS_X11) && !defined(USING_GLES2)
	MainWindow mainWindow;
	mainWindow.show();
#else
	MainUI w(dpi_scale);
	w.resize(pixel_xres, pixel_yres);
#ifdef USING_GLES2
	w.showFullScreen();
#else
	w.show();
#endif
#endif

	MainAudio *audio = new MainAudio();

	int ret = a.exec();
	delete audio;
	NativeShutdown();
	net::Shutdown();
	return ret;
}
/*!
  LifeTimerKeySequenceHandler::LifeTimerKeySequenceHandler.
 */
LifeTimerKeySequenceHandler::LifeTimerKeySequenceHandler(
    QObject* parent)
    :
    KeySequenceHandler(parent),
    m_messageBox(0),
    m_repository(0)
{
    DPRINT_METHODENTRYEXIT;

    CRepository *repository = 0;
    QT_TRAP_THROWING(repository = CRepository::NewL(KCRUidTelSrvVariation))
    m_repository.reset(repository);

    if (lifeTimerFeatureEnabled()) {
        setKeySequenceValidator(QRegExp::escape(KCodeLifeTimer));
    }
}
ProfileListModel::ProfileListModel(QObject* parent)
    : QAbstractListModel(parent)
#ifdef Q_OS_SYMBIAN
    , mProfileNotifyHandler(0)
#endif
{
    QHash<int, QByteArray> roles;
    roles[NameRole] = "profileName";
    setRoleNames(roles);

#ifdef Q_OS_SYMBIAN
    QT_TRAP_THROWING(mProfileNotifyHandler = ProEngFactory::NewNotifyHandlerL());
    TRAP_IGNORE(mProfileNotifyHandler->RequestProfileNameArrayNotificationsL(*this));
#endif

    syncProfiles();
}
//-----------------------------------------------------------------------------
// SatAppToneProvider::playUserSelectedTone
//-----------------------------------------------------------------------------
void SatAppToneProvider::playUserSelectedTone(
    const QString& text,
    int tone,
    int duration)
{
    qDebug("SatAppToneProvider::playUserSelectedTone >");

    // If several messages/calls arrive during a small amount of time and if the
    // message received or incoming call tone is already being played we do not 
    // restart it.
    if (mAudioPlayer) {
        qDebug( "SatAppToneProvider::\
            PlayUserSelectedToneL Error - already played" );
        mCurrentAction->complete(ESatFailure);
        mCurrentAction = 0;
        mState = Idle;
        return;
    }

    if (text.length() > 0) {
        mPermanentNote = new HbMessageBox(HbMessageBox::MessageTypeInformation);
        mPermanentNote->setText(text);
        mPermanentNote->setStandardButtons(HbMessageBox::Cancel);
        if (duration) {
            mPermanentNote->setTimeout(duration);
        }
        mPermanentNote->setDismissPolicy(HbPopup::TapAnywhere);
        qDebug("SatAppToneProvider::PlayUserSelectedToneL show before");
        mPermanentNote->show();
        qDebug("SatAppToneProvider::PlayUserSelectedToneL show after");
    }

    QT_TRAP_THROWING(SymbianPrepareAudioPlayerL(tone,duration));
    
    if (duration > 0) {
        qDebug( "SATAPP: SatAppToneProvider::PlayUserSelectedToneL\
            duration not 0" );
        mTimer = new QTimer(this);
        mTimer->start(duration);
        SAT_ASSERT(connect(mTimer, SIGNAL(timeout()), this, SLOT(stopPlayTone())));

        if (mPermanentNote) {
            SAT_ASSERT(connect(mPermanentNote, SIGNAL(aboutToClose()),
                    this, SLOT(stopPlayTone())));
        }
    }
/*!
  UT_PSetCallDivertingWrapper::init
 */
void UT_PSetCallDivertingWrapper::init()
{
    initialize();
    CPhCltEmergencyCallMock::iSimulateEmergencyNumberMatch = false;
    
    mSetContainerMock = new CPsetContainer();
    
    RMobilePhone dummyHandle;
    DivertObserver dummyObsever;
    QT_TRAP_THROWING(mPsetCallDivertingMock 
        = CPsetCallDiverting::NewL(dummyObsever, dummyHandle));
    expect("CPsetContainer::CreateCFObjectL").returns(mPsetCallDivertingMock);
    
    // Wrapper takes ownership of callDivertingMock during construction. 
    // Mock must be deleted here if exception happens during construction.
    QScopedPointer<CPsetCallDiverting> divertingMockPtr(mPsetCallDivertingMock);
    mWrapper = new PSetCallDivertingWrapper(*mSetContainerMock, NULL);
    divertingMockPtr.take();
}
/*!
  UT_PSetCallWaitingWrapper::init
 */
void UT_PSetCallWaitingWrapper::init()
{
    initialize();
    m_numOfLeaveSimulations = 0;
    
    m_psetContainerMock = new CPsetContainer();
    
    RMobilePhone dummyHandle;
    WaitingObserver dummyObserver;
    QT_TRAP_THROWING(m_psetCallWaitingMock = 
        CPsetCallWaiting::NewL(dummyHandle, dummyObserver));
    expect("CPsetContainer::CreateCWObjectL").returns(m_psetCallWaitingMock);
    
    // wrapper takes ownership of callDivertingMock during successful 
    // construction
    QScopedPointer<CPsetCallWaiting> callWaitingMockPtr(m_psetCallWaitingMock);
    m_wrapper = new PSetCallWaitingWrapper(*m_psetContainerMock, NULL);
    callWaitingMockPtr.take();
}
/*!
  PSetCallBarringWrapperPrivate::PSetCallBarringWrapperPrivate
 */
PSetCallBarringWrapperPrivate::PSetCallBarringWrapperPrivate( 
        PSetCallBarringWrapper &owner, CPsetContainer &psetContainer) 
    : 
    m_owner(owner),
    m_callBarring(NULL),
    m_currentRequest(RequestNone),
    m_barringError(PSetCallBarringWrapper::BarringErrorNone),
    m_barringStatus(PSetCallBarringWrapper::BarringStatusUnknown),
    m_barringType(PSetCallBarringWrapper::BarringTypeAllBarrings),
    m_plural(false)
{
    DPRINT;
    
    QT_TRAP_THROWING(
        m_callBarring = psetContainer.CreateCBObjectL(*this)
    )
    
    m_callBarring->SetRequestObserver(this);
}
// ----------------------------------------------------------------------------
// CbsUiTopicListView::CbsUiTopicListView
// ----------------------------------------------------------------------------
CbsUiTopicListView::CbsUiTopicListView()
    : HbView(),
      mServer(NULL),
      mViewManager(NULL),
      mTopicRow(-1),
      mTopicIndexWidget(NULL),
      mTopicsWidget(NULL),
      mReceptionButton(NULL), 
      mOpenAction(NULL),
      mSubscibeAction(NULL), 
      mUnSubscibeAction(NULL), 
      mHotmarkAction(NULL), 
      mUnHotmarkAction(NULL), 
      mEditAction(NULL), 
      mDeleteAction(NULL),
      mMonitor(NULL),
      mTopicQuery(NULL),
      mTopicNumberList(NULL)
{
    LOG(NORMAL,"CBSUI: CbsUiTopicListView::CbsUiTopicListView IN");
    mTopicNumberList = new TCbsUiTopicNumberList(KNumberOfStandardTopics);
    QT_TRAP_THROWING(mTopicNumberList->AppendL(0));
    LOG(NORMAL,"CBSUI: CbsUiTopicListView::CbsUiTopicListView OUT");
}