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

bool KNateon::initializeNateonDPConnection (  ) 

버디리스트의 CPRF 변경 내용이 내려옴

P2P 전송 관련

Definition at line 487 of file knateon.cpp.

References connected(), disconnected(), gotINVT(), NateonDPConnection::initialize(), slotAddCommandQueue(), slotAddConfirm(), slotALRM(), slotCALM(), slotErr301(), slotErr500(), slotGotFR(), slotGotREFR(), slotGotREQCNEW(), slotGotREQCRES(), slotLSIN(), slotNNIK(), slotNPRF(), and slotRefreshBuddyList().

Referenced by initialize().

{
      m_pDPcon = new NateonDPConnection();
      m_pDPcon->initialize();
      if ( !bIsConnected )
      {
            connect( m_pDPcon, SIGNAL( connected() ), this, SLOT( connected() ) );
            connect( m_pDPcon, SIGNAL( disconnected() ),  this, SLOT( disconnected() ) );
            if ( m_pNetworkWindow ) {
                  connect( m_pDPcon, SIGNAL( messageSent(const QString &) ), m_pNetworkWindow, SLOT( addOutgoingServerMessage(const QString &) ) );
                  connect( m_pDPcon, SIGNAL( messageReceived(const QString &) ), m_pNetworkWindow, SLOT( addIncomingServerMessage(const QString &) ) );
            }
            connect( m_pDPcon, SIGNAL( ReceiveRESS(SSConnection*) ), this, SLOT( slotViewChat(SSConnection*) ));
            connect( m_pDPcon, SIGNAL( receivedINVT(const QStringList&) ), SLOT( gotINVT(const QStringList&) ) );
            connect( m_pDPcon, SIGNAL( addCommandQueue(const QStringList &) ), this, SLOT( slotAddCommandQueue(const QStringList&) ) );
            connect( m_pDPcon, SIGNAL( err300() ), this, SLOT( slotErr300() ) );
            connect( m_pDPcon, SIGNAL( err301(const QStringList&) ), SLOT( slotErr301(const QStringList&) ) );
            connect( m_pDPcon, SIGNAL( err302() ), SLOT( slotErr302() ) );
            connect( m_pDPcon, SIGNAL( err306() ), SLOT( slotErr306() ) );
            connect( m_pDPcon, SIGNAL( err309() ), SLOT( slotErr309() ) );
            connect( m_pDPcon, SIGNAL( err421() ), SLOT( slotErr421() ) );
            connect( m_pDPcon, SIGNAL( err500( const QStringList & ) ), SLOT( slotErr500( const QStringList & ) ) );
            connect( m_pDPcon, SIGNAL( receivedLSIN() ), this, SLOT( slotLSIN() ) );
            connect( m_pDPcon, SIGNAL( showAddConfirm( const QStringList& ) ), this, SLOT( slotAddConfirm(const QStringList &) ) );
            connect( m_pDPcon, SIGNAL( err201() ), this, SLOT( slotErr201() ) );
            connect( m_pDPcon, SIGNAL( receivedNNIK( const QStringList& ) ), SLOT( slotNNIK( const QStringList& ) ) );
            /*! 버디리스트의 CPRF 변경 내용이 내려옴 */
            connect( m_pDPcon, SIGNAL( receivedNPRF( const QStringList& ) ), SLOT( slotNPRF( const QStringList& ) ) );
            connect( m_pDPcon, SIGNAL( receivedALRM( const QStringList& ) ), SLOT( slotALRM( const QStringList& ) ) );
            connect( m_pDPcon, SIGNAL( receivedCALM( const QStringList& ) ), SLOT( slotCALM( const QStringList& ) ) );
            connect( m_pDPcon, SIGNAL( updateStatusText( const QString & ) ), SLOT( slotUpdateStatusText( const QString & ) ) );
            connect( m_pDPcon, SIGNAL( pingError() ), SLOT( slotPingError() ) );
            connect( m_pDPcon, SIGNAL( addBuddyADSB_REQST( const QStringList& ) ), SLOT( slotAddBuddyADSB_REQST( const QStringList& ) ) );
            connect( m_pDPcon, SIGNAL( refreshBuddyList() ), SLOT( slotRefreshBuddyList() ) );

        /*! P2P 전송 관련 */
        connect( m_pDPcon, SIGNAL( gotREQCNEW(const QStringList&) ), SLOT( slotGotREQCNEW(const QStringList&) ) );
        connect( m_pDPcon, SIGNAL( gotREQCRES(const QStringList&) ), SLOT( slotGotREQCRES(const QStringList&) ) );
        connect( m_pDPcon, SIGNAL( receivedREFR( const QStringList& ) ), SLOT( slotGotREFR( const QStringList& ) ) );
            connect( m_pDPcon, SIGNAL( connectP2PFR(const QStringList&) ), SLOT( slotGotFR(const QStringList&) ) );

      }
      return true;
}


Generated by  Doxygen 1.6.0   Back to index