#include <qlabel.h>
#include <qcombobox.h>
#include <qprogressdialog.h>
+#include <qcursor.h>
#include <time.h>
, m_parent( parent )
// , m_currentJob( 0 )
, m_labelMaxLength( 60 )
+ , m_popup( 0 )
{
m_threadPart = new KitaHTMLPart(threadFrame);
QHBoxLayout* aLayout = new QHBoxLayout(threadFrame);
void KitaThreadView::slotOnURL(const QString& url)
{
emit signalChangeStatusbar(url);
+
+#if 0
+ // BUG: view¤«¤é¥Þ¥¦¥¹¥«¡¼¥½¥ë¤¬³°¤ì¤¿»þ¤ÎÂнè¤ò¤·¤Æ¤¤¤Ê¤¤
+ if ( ! url.isEmpty() ) {
+ KHTMLView* view = m_threadPart->view();
+
+ if( ! m_popup ) {
+ m_popup = new QLabel( view, "res_popup", WStyle_Customize | WStyle_NoBorder | WStyle_Tool );
+ }
+ m_popup->setText( url );
+
+ m_popup->move( view->mapFromGlobal( QCursor::pos() ) );
+ m_popup->adjustSize();
+
+ m_popup->show();
+ } else {
+ m_popup->hide();
+ }
+#endif
}
void KitaThreadView::slotPopupMenu( KXMLGUIClient *client, const QPoint &global, const KURL &url, const QString &mimeType, mode_t mode)