Logo Search packages:      
Sourcecode: nateon version File versions  Download package

void KNateon::slotGoMyMinihompy (  )  [private, slot]

내 미니홈피로 이동

Cyworld MiniHompy 이면,

Home2 이면,

Definition at line 4556 of file knateon.cpp.

References CurrentAccount::getHompyType(), CurrentAccount::getMyCyworldCMN(), CurrentAccount::getMyHome2CMN(), CurrentAccount::getMyTicket(), and KNateonMainview::setHompyIcon().

Referenced by connected().

{
      int result;
      if ( m_pCurrentAccount->getMyCyworldCMN() != "%00")
      {
            m_pMainView->setHompyIcon( false );
            
            /*! Cyworld MiniHompy 이면, */
            if /* (1) */ ( m_pCurrentAccount->getHompyType() == CurrentAccount::Cyworld )
            {
                  QString sURL("http://br.nate.com/index.php");
                  sURL += "?code=D023";
                  sURL += "&t=";
                  sURL += m_pCurrentAccount->getMyTicket();
                  sURL += "&param=";
                  sURL += m_pCurrentAccount->getMyCyworldCMN();
#ifdef NETDEBUG
                  kdDebug() << "Cyworld MiniHompy : [" << sURL << "]" <<endl;
#endif
                  LNMUtils::openURL( sURL );
            }
            /*! Home2 이면, */
            else
            {
                  QString sURL("http://br.nate.com/index.php");
                  sURL += "?code=D011";
                  sURL += "&t=";
                  sURL += m_pCurrentAccount->getMyTicket();
                  sURL += "&param=";
                  sURL += m_pCurrentAccount->getMyHome2CMN();
                  LNMUtils::openURL( sURL );
            }
      }
      else
      {
            result = KMessageBox::  questionYesNo(this, UTF8("싸이월드 미니홈피 기능을 사용하시려면 네이트온에\n미니홈피사용하기 설정이 있어야 합니다.\n\n설정하시겠습니까?"), UTF8("네이트온 미니홈피") );
            if ( result == KMessageBox::Yes )
            {
                  m_pPreferenceView->show();
                  m_pPreferenceView->showSyncSetup();
            }
      }
}


Generated by  Doxygen 1.6.0   Back to index