[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    kdenonbeta/kdedebian/kapture/libkapture
From:       Peter Rockai <mornfall () logisys ! dyndns ! org>
Date:       2005-02-09 15:30:29
Message-ID: 20050209153029.592E41CF7E () office ! kde ! org
[Download RAW message or body]

CVS commit by mornfall: 

Unbreak ListTreeView::setIteratorActor...


  M +4 -3      listtreeview.cpp   1.29
  M +1 -0      listtreeview.h   1.10
  M +1 -1      listtreewidget.cpp   1.47
  M +3 -3      treeview.h   1.15


--- kdenonbeta/kdedebian/kapture/libkapture/listtreeview.cpp  #1.28:1.29
@@ -51,8 +51,9 @@ ListTreeView::ListTreeView (QWidget *par
     } */
 }
-/* void ListTreeView::setIteratorActor (IteratorActor *a)
+void ListTreeView::setIteratorActor( IteratorActor *a )
 {
-    m_tree->setIteratorActor (a);
-} */
+    TreeView::setIteratorActor( a );
+    m_pkgList->setIteratorActor( a );
+}
 
 void ListTreeView::filterStringChanged (const QString &text)

--- kdenonbeta/kdedebian/kapture/libkapture/listtreeview.h  #1.9:1.10
@@ -33,4 +33,5 @@ public slots:
     virtual void setupFilter ();
     virtual void clear ();
+        virtual void setIteratorActor( aptFront::IteratorActor *a );
 protected:
     typedef std::map <std::string, std::string> StrMap;

--- kdenonbeta/kdedebian/kapture/libkapture/listtreewidget.cpp  #1.46:1.47
@@ -254,5 +254,5 @@ void ListTreeWidget::forwardSelectionCha
         ListTreeWidgetItem *n = dynamic_cast<KListViewItemCustom *>(i)->m_treeNode;
         Iterator i = n->iterator();
-        kdDebug() << "ListTreeWidget::forwardSelectionChanged, iterator = " << \
i.impl() << endl; +        kdDebug() << "ListTreeWidget::forwardSelectionChanged, \
iterator = " << i.impl() << ", actor = " << m_actor << endl;  if (m_actor)
             m_actor -> executeAction (IteratorAction ("select", "", i));

--- kdenonbeta/kdedebian/kapture/libkapture/treeview.h  #1.14:1.15
@@ -55,7 +55,4 @@ public:
     virtual ~TreeView ();
     virtual aptFront::Tree *tree () { return m_tree; }
-    virtual void setIteratorActor( aptFront::IteratorActor *a ) {
-        m_iteratorActor = a;
-    }
     virtual QString tooltipText( aptFront::Iterator i );
     aptFront::SharedPtr<aptFront::TreeTransformChain> customTransformChain();
@@ -63,4 +60,7 @@ public slots:
     virtual void makeTree (void) { m_tree -> rebuild (); }
     virtual void clear () = 0;
+    virtual void setIteratorActor( aptFront::IteratorActor *a ) {
+        m_iteratorActor = a;
+    }
 protected:
     aptFront::IteratorActor *m_iteratorActor;


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic