OSDN Git Service

reformat
authorikemo <ikemo@56b19765-1e22-0410-a548-a0f45d66c51a>
Thu, 25 Mar 2004 11:46:28 +0000 (11:46 +0000)
committerikemo <ikemo@56b19765-1e22-0410-a548-a0f45d66c51a>
Thu, 25 Mar 2004 11:46:28 +0000 (11:46 +0000)
git-svn-id: svn+ssh://svn.sourceforge.jp/svnroot/kita/kita/trunk@946 56b19765-1e22-0410-a548-a0f45d66c51a

kita/src/libkita/access.h
kita/src/part/kitathreadview.cpp
kita/src/part/kitathreadview.h

index 334e98f..263395c 100644 (file)
@@ -15,7 +15,8 @@
 
 class KURL;
 
-namespace KIO {
+namespace KIO
+{
     class Job;
 }
 
index 28ebcf5..9c829f6 100644 (file)
@@ -148,7 +148,7 @@ void KitaThreadView::slotDOMNodeActivated( const DOM::Node& node )
 void KitaThreadView::showThread( const Kita::Thread* thread )
 {
     setActiveWindow();
-    topLevelWidget()->raise();
+    topLevelWidget() ->raise();
 
     { //reset member variables associated with a thread.
         m_threadPart->reset();
@@ -187,10 +187,10 @@ void KitaThreadView::update( const QString& result )
     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>";
@@ -224,11 +224,11 @@ void KitaThreadView::update( const QString& result )
         }
 
         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 );
index 6c50858..f9ebf7c 100644 (file)
@@ -68,7 +68,7 @@ protected slots:
     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;