OSDN Git Service

remove comments
authorikemo <ikemo@56b19765-1e22-0410-a548-a0f45d66c51a>
Sat, 6 Dec 2003 15:42:18 +0000 (15:42 +0000)
committerikemo <ikemo@56b19765-1e22-0410-a548-a0f45d66c51a>
Sat, 6 Dec 2003 15:42:18 +0000 (15:42 +0000)
git-svn-id: svn+ssh://svn.sourceforge.jp/svnroot/kita/kita/trunk@617 56b19765-1e22-0410-a548-a0f45d66c51a

kita/src/kitathreadtabwidget.cpp

index 0dae5cf..26eba8d 100644 (file)
@@ -33,14 +33,7 @@ KitaThreadTabWidget::KitaThreadTabWidget(QWidget *parent, const char *name, WFla
 
   KGlobal::locale()->insertCatalogue( "kitapart" );
   KitaThreadView* view = createView();
-/*  KLibFactory* factory = KLibLoader::self()->factory( "libkitapart" );
-  if( ! factory ) {
-    QMessageBox::critical( parent, i18n( "Load Error" ),
-                                   i18n( "can't load libkitapart." ) );
-    return;
-  }
-  KitaThreadPart* part = static_cast<KitaThreadPart *>( factory->create( this, "thread", "KitaThreadPart" ) );
-  KitaThreadView* view = static_cast<KitaThreadView *>( part->widget() );*/
+
   if( view ) {
     addTab( view, "thread" );
     connectSignals( view );
@@ -77,12 +70,7 @@ KitaThreadView* KitaThreadTabWidget::createView()
 void KitaThreadTabWidget::showThreadWithNewTab( const Kita::Thread& thread )
 {
   KitaThreadView* view = createView();
-/*  KLibFactory* factory = KLibLoader::self()->factory( "libkitapart" );
-  if( ! factory ) {
-    return;
-  }
-  KitaThreadPart* part = static_cast<KitaThreadPart *>( factory->create( this, "thread", "KitaThreadPart" ) );
-  KitaThreadView* view = static_cast<KitaThreadView *>( part->widget() );*/
+
   if( view ) {
     addTab( view, thread.name().left( MAX_TABLABEL_LEN ) );
     setTabToolTip( view, thread.name() );
@@ -117,14 +105,7 @@ void KitaThreadTabWidget::deleteView( KitaThreadView* view )
 
   if( count() == 0 ) {
     KitaThreadView* view = createView();
-    /*
-    // TODO: ¥³¥ó¥¹¥È¥é¥¯¥¿¤Ç¤âƱ¤¸¥í¥¸¥Ã¥¯¤ò»È¤Ã¤Æ¤¤¤ë¡£
-    KLibFactory* factory = KLibLoader::self()->factory( "libkitapart" );
-    if( ! factory ) {
-      return;
-    }
-    KitaThreadPart* part = static_cast<KitaThreadPart *>( factory->create( this, "thread", "KitaThreadPart" ) );
-    KitaThreadView* view = static_cast<KitaThreadView *>( part->widget() );*/
+
     if( view ) {
       addTab( view, "thread" );
       connectSignals( view );