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

void KNateon::slotCPRF ( const QStringList &  slCommand  )  [private, slot]

내 설정이 변경 되었는가?

B: 친구에게만 공개, O: 모두에게 공개, C: 모두에게 비공개

Definition at line 4428 of file knateon.cpp.

References nmconfig::cycmn, nmconfig::logintype, nmconfig::minihompypublic, nmconfig::nateid, CurrentAccount::setMyCyworldCMN(), and CurrentAccount::setMyCyworldID().

Referenced by connected().

{
      if ( slCommand[1].toInt() == nCySync )
      {
            if ( stConfig.logintype == 'N' )
            {
                  if ( slCommand[2][2] == "1" )
                  {
                        if ( slCommand[8] != "%00" )
                        {
                              emit cySyncAuthError( false );
                              /*! B: 친구에게만 공개, O: 모두에게 공개, C: 모두에게 비공개 */
                              switch( slCommand[7].data()[0] )
                              {
                              case 'O' :
                                    stConfig.minihompypublic = 0; 
                                    break;
                              case 'B' :
                                    stConfig.minihompypublic = 1;
                                    break;
                              case 'C' :
                                    stConfig.minihompypublic = 2;
                                    break;
                              }
                              
                              stConfig.cycmn = slCommand[8];
                              m_pCurrentAccount->setMyCyworldCMN( slCommand[8] );
                        }
                        else
                        {
                              m_pCurrentAccount->setMyCyworldCMN("%00");
                              m_pCurrentAccount->setMyCyworldID("%00");
                              emit cySyncCanceled();
                        }
                  }
            }
            else
            {
                  if ( ( stConfig.nateid != QString::null ) &&
                         ( stConfig.nateid != "%00" ) &&
                         ( stConfig.nateid != "" ) )
                        emit cySyncAuthError( false );
            }
      }
}


Generated by  Doxygen 1.6.0   Back to index