void KitaThreadView::showThread( const Kita::Thread* thread )
{
setActiveWindow();
- topLevelWidget()->raise();
+ topLevelWidget() ->raise();
{ //reset member variables associated with a thread.
m_threadPart->reset();
int divide = total / ( 100 / 5 );
int next = divide;
int prevReadNum = KitaThreadInfo::readNum( m_thread->datURL() );
-/* QProgressDialog* progress = new QProgressDialog( parentWidget() );
- progress->setTotalSteps( static_cast<int>( total * 0.7 ) );
- progress->setLabelText( "Parse DAT file....." );
- progress->show();*/
+ /* QProgressDialog* progress = new QProgressDialog( parentWidget() );
+ progress->setTotalSteps( static_cast<int>( total * 0.7 ) );
+ progress->setLabelText( "Parse DAT file....." );
+ progress->show();*/
text += "<html><head>";
text += "</head>";
}
if ( ( step += line.length() ) > next ) {
-// progress->setProgress( step );
+ // progress->setProgress( step );
next += divide;
}
}
-// delete progress;
+ // delete progress;
m_thread->setResNum( num );
KitaThreadInfo::setReadNum( m_thread->datURL(), num );
void slotPopupMenu( KXMLGUIClient*, const QPoint&, const KURL&, const QString&, mode_t );
void slotOpenURLRequest( const KURL&, const KParts::URLArgs& );
-private: // Private attributes
+private: // Private attributes
Kita::Access* m_access;
Kita::Thread* m_thread;
KitaHTMLPart* m_threadPart;