OSDN Git Service

remove useless code.
authorikemo <ikemo@56b19765-1e22-0410-a548-a0f45d66c51a>
Mon, 18 Jun 2007 14:27:31 +0000 (14:27 +0000)
committerikemo <ikemo@56b19765-1e22-0410-a548-a0f45d66c51a>
Mon, 18 Jun 2007 14:27:31 +0000 (14:27 +0000)
git-svn-id: svn+ssh://svn.sourceforge.jp/svnroot/kita/kita/trunk@1965 56b19765-1e22-0410-a548-a0f45d66c51a

kita/src/write/previewpart.cpp

index 9bc573f..2b91989 100644 (file)
@@ -350,14 +350,6 @@ void KitaPreviewPart::clickAnchor( const KURL& urlin )
 
     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 ;
@@ -379,28 +371,6 @@ void KitaPreviewPart::clickAnchor( const KURL& urlin )
     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 */