if ( refstr == QString::null ) return ;
- /*----------------------------*/
- /* extract responses by ID */
-
- if ( refstr.left( 5 ) == "idpop" ) {
- showIDPopup( refstr );
- return ;
- }
-
/*-------------------------*/
/* start multi-popup mdde */
if ( m_pushrightbt && startMultiPopup() ) return ;
emit openURLRequestExt( urlin );
}
-/*--------------------------------------------------*/
-/* popup that is opened when user clicked ID */
-/* This funtcion is called in only clickAnchor(). */ /* private */
-void KitaPreviewPart::showIDPopup( const QString& refstr )
-{
- QString strid = refstr.mid( 5 )
- .replace( "%2B", "+" )
- .replace( "%2F", "/" );
-
- /* popup */
- if ( m_pushrightbt ) {
- int num;
- QString htmlstr
- = Kita::DatManager::getHtmlByID( m_datURL, strid, num );
- if ( num <= 1 ) return ;
- QString tmpstr = QString( "<DIV>ID:%1:[%2]<BR>" ).arg( strid ).arg( num );
- tmpstr += htmlstr + "<BR><BR></DIV>";
- showPopup( m_datURL, tmpstr );
- startMultiPopup();
- }
-}
-
/*-------------------------------------------------------*/
/*-------------------------------------------------------*/
/* popup */