OSDN Git Service

Use `//' style comments
[kita/kita.git] / src / writetabwidget.cpp
index d903a13..df53107 100644 (file)
@@ -55,7 +55,7 @@ void WriteTabWidget::openWriteView(const KUrl& url,
 //        return ;
     }
 
-    /* view exists */
+    // view exists
     WriteView* view = findWriteView(url);
     if (view) {
         if (view->body().length()) {
@@ -64,17 +64,17 @@ void WriteTabWidget::openWriteView(const KUrl& url,
                     == KMessageBox::No) return;
         }
 
-        /* clear */
+        // clear
         view->setMessage(resStr);
         setCurrentWidget(view);
         return ;
     }
 
     // TODO: refactoring.
-    /* create new write view & add it to tab */
+    // create new write view & add it to tab
     QString threadName;
 
-    /* write res */
+    // write res
     WriteView* new_dlg;
     threadName = DatManager(url).threadName();
     new_dlg = new WriteView(this, url);
@@ -119,13 +119,13 @@ void WriteTabWidget::slotChangeWriteTab(const KUrl& url)
     int max = count();
     if (max == 0) return ;
 
-    /* disable all ok buttons. */
+    // disable all ok buttons.
     for(int i=0; i < max ; i++) {
         view = isWriteView(widget(i));
         if (view) view->slotEnableWriting(false);
     }
 
-    /* show current url page. */
+    // show current url page.
     view = findWriteView(url);
     if (view) {
         if (currentWidget() != view) setCurrentWidget(view);