CVS commit by mornfall: - fix slots/signals to connect (depends view still no worky tho) - update TODO
M +1 -1 TODO 1.31 M +2 -1 libkapture/pkgcelemview.cpp 1.4 M +6 -6 libkapture/pkgcelemview.h 1.3 --- kdenonbeta/kdedebian/kapture/TODO #1.30:1.31 @@ -101,5 +101,5 @@ capture::PkgManager) - ADD A LAYER BETWEEN TREE AND CACHE: CELEMS [done: 60%] + ADD A LAYER BETWEEN TREE AND CACHE: CELEMS [done: 80%] CElem (short for CacheElement), is a polymorphic type containing some kind of package cache information. Usually, this will be a wrapped up --- kdenonbeta/kdedebian/kapture/libkapture/pkgcelemview.cpp #1.3:1.4 @@ -57,5 +57,6 @@ PkgCElemView::PkgCElemView (QWidget *par w = m_janus -> addVBoxPage (QString ("Common")); m_common = new PkgCElemViewCommon (w /* m_tabw */); - connect (m_common, SIGNAL (versionChanged (pkgCache::VerIterator)), this, SLOT (setVersion (pkgCache::VerIterator))); + connect (m_common, SIGNAL (versionChanged (capture::VerCElemPtr)), this, + SLOT (setVersion (capture::VerCElemPtr))); w = m_janus -> addVBoxPage (QString ("Details")); --- kdenonbeta/kdedebian/kapture/libkapture/pkgcelemview.h #1.2:1.3 @@ -66,5 +66,5 @@ namespace kapture { virtual void rebuild (); public slots: - void setVersion (capture::VerCElemSPtr V); + void setVersion (capture::VerCElemPtr V); virtual bool showElem (CElemPtr n); protected: @@ -96,6 +96,6 @@ namespace kapture { PkgCElemViewCommon (QWidget *parent = NULL, const char *name = NULL); public slots: - void setPackage (capture::PkgCElemSPtr P); - void setVersion (capture::VerCElemSPtr V, pkgRecords::Parser *P); + void setPackage (capture::PkgCElemPtr P); + void setVersion (capture::VerCElemPtr V, pkgRecords::Parser *P); void setVersion (const char *ver); void setStatus (int i); @@ -108,5 +108,5 @@ namespace kapture { void uninstall (); signals: - void versionChanged (capture::VerCElemSPtr V); + void versionChanged (capture::VerCElemPtr V); }; @@ -120,6 +120,6 @@ namespace kapture { PkgCElemViewDetails (QWidget *parent = NULL, const char *name = NULL); public slots: - void setPackage (capture::PkgCElemSPtr P); - void setVersion (capture::VerCElemSPtr V, pkgRecords::Parser *P); + void setPackage (capture::PkgCElemPtr P); + void setVersion (capture::VerCElemPtr V, pkgRecords::Parser *P); }; }