Logo Search packages:      
Sourcecode: ktechlab version File versions

void View::setDCOPID ( unsigned  id  ) 

Sets the dcop suffix. The DCOP object for this view will be renamed.

See also:
dcopID

Definition at line 182 of file view.cpp.

References dcopID(), and document().

Referenced by Document::handleNewView().

{
      if ( m_dcopID == id )
            return;
      
      m_dcopID = id;
      if ( m_pViewIface )
      {
            QCString docID;
            docID.setNum( document()->dcopID() );
            
            QCString viewID;
            viewID.setNum( dcopID() );
            
            m_pViewIface->setObjId( "View#" + docID + "." + viewID );
      }
}


Generated by  Doxygen 1.6.0   Back to index