[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: KDE/kdeedu/kstars/kstars
From: Laurent Montel <montel () kde ! org>
Date: 2006-01-22 18:01:49
Message-ID: 1137952909.453091.28355.nullmailer () svn ! kde ! org
[Download RAW message or body]
SVN commit 501361 by mlaurent:
Fix compile with new API
I don't know how to port kdialogbase::cancel()
M +7 -4 indistd.cpp
M +3 -3 skycomponents/skycomposite.h
--- trunk/KDE/kdeedu/kstars/kstars/indistd.cpp #501360:501361
@@ -80,7 +80,8 @@
connect( seqLister, SIGNAL(newItems (const KFileItemList & )), this, \
SLOT(checkSeqBoundary(const KFileItemList &)));
downloadDialog = new KProgressDialog(NULL, 0, i18n("INDI"), i18n("Downloading \
Data..."));
- downloadDialog->cancel();
+ //Porting to new kdelibs snapshot
+ //downloadDialog->cancel();
parser = newLilXML();
}
@@ -465,10 +466,12 @@
// No need to check when in ISO mode
if (ISOMode)
return;
-
- for ( KFileItemListIterator it( items ) ; it.current() ; ++it )
+
+ KFileItemList::const_iterator it = items.begin();
+ const KFileItemList::const_iterator end = items.end();
+ for ( ; it != end; ++it )
{
- tempName = it.current()->name();
+ tempName = (*it)->name();
// find the prefix first
if (tempName.find(seqPrefix) == -1)
--- trunk/KDE/kdeedu/kstars/kstars/skycomponents/skycomposite.h #501360:501361
@@ -150,9 +150,9 @@
*@p o Pointer to the SkyObject to which a Trail will be added
*@return true if the object was found and a Trail was added
*/
- virtual bool addTrail( SkyObject *o ) {};
- virtual bool hasTrail( SkyObject *o, bool &found ) {};
- virtual bool removeTrail( SkyObject *o ) {};
+ virtual bool addTrail( SkyObject *o ) { return false;};
+ virtual bool hasTrail( SkyObject *o, bool &found ) { return false;};
+ virtual bool removeTrail( SkyObject *o ) {return false;};
virtual SkyObject* first();
virtual SkyObject* next();
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic