[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: branches/work/~aclemens/removeredeyes
From: Andi Clemens <andi.clemens () gmx ! net>
Date: 2008-06-20 9:47:20
Message-ID: 1213955240.003300.28262.nullmailer () svn ! kde ! org
[Download RAW message or body]
SVN commit 822456 by aclemens:
pass const KURL& to WorkerThread
M +2 -2 workerthread.cpp
M +2 -2 workerthread.h
--- branches/work/~aclemens/removeredeyes/workerthread.cpp #822455:822456
@@ -44,7 +44,7 @@
namespace KIPIRemoveRedEyesPlugin
{
WorkerThread::WorkerThread(QObject* parent,
- KURL::List imagesList,
+ const KURL::List& imagesList,
double scaleFactor,
int neighborGroups,
double minRoundness,
@@ -87,7 +87,7 @@
QApplication::restoreOverrideCursor();
}
-void WorkerThread::postProgress(KURL url, int current, int total, bool calculated, int eyes)
+void WorkerThread::postProgress(const KURL& url, int current, int total, bool calculated, int eyes)
{
EventData* eventData = new EventData();
eventData->calculated = calculated;
--- branches/work/~aclemens/removeredeyes/workerthread.h #822455:822456
@@ -62,7 +62,7 @@
public:
WorkerThread(QObject* parent,
- KURL::List imagesList,
+ const KURL::List& imagesList,
double scaleFactor = SCALE_FACTOR,
int neighborGroups = NEIGHBOR_GROUPS,
double minRoundness = MIN_ROUNDNESS,
@@ -72,7 +72,7 @@
private:
- void postProgress(KURL url, int current, int total, bool calculated, int eyes);
+ void postProgress(const KURL& url, int current, int total, bool calculated, int eyes);
private:
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic