[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: KDE/kdeedu/kstars/kstars/skycomponents
From: Alexey Khudyakov <alexey.skladnoy () gmail ! com>
Date: 2010-02-09 22:33:22
Message-ID: 1265754802.699321.2269.nullmailer () svn ! kde ! org
[Download RAW message or body]
SVN commit 1087980 by khudyakov:
Remove init from FlagComponent
M +6 -7 flagcomponent.cpp
M +0 -6 flagcomponent.h
--- trunk/KDE/kdeedu/kstars/kstars/skycomponents/flagcomponent.cpp #1087979:1087980
@@ -37,14 +37,8 @@
m_Job = KIO::listDir( KUrl( KStandardDirs::locateLocal("appdata", ".") ), \
KIO::HideProgressInfo, false ); connect(m_Job, SIGNAL(entries(KIO::Job*, const \
KIO::UDSEntryList&)), SLOT(slotLoadImages(KIO::Job*, const KIO::UDSEntryList&)));
-}
-
-FlagComponent::~FlagComponent()
-{
-}
-
-void FlagComponent::init() {
+ // Init
KSFileReader fileReader;
QStringList line;
QString str;
@@ -117,6 +111,11 @@
}
}
+
+FlagComponent::~FlagComponent()
+{
+}
+
void FlagComponent::draw( QPainter& psky )
{
// Return if flags must not be draw
--- trunk/KDE/kdeedu/kstars/kstars/skycomponents/flagcomponent.h #1087979:1087980
@@ -57,12 +57,6 @@
~FlagComponent();
/**
- *@short Init class
- *Read the file flags.dat and init members.
- */
- virtual void init();
-
- /**
*@short Draw flags on the map.
*@param psky Reference to the QPainter on which to paint
*/
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic