[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: branches/work/libarchive-based-ark/ark/kerfuffle
From: Henrique Pinto <tawhaki () gmail ! com>
Date: 2007-07-22 13:59:19
Message-ID: 1185112759.333891.2438.nullmailer () svn ! kde ! org
[Download RAW message or body]
SVN commit 690910 by henrique:
* Implement AddJob
M +7 -2 jobs.cpp
--- branches/work/libarchive-based-ark/ark/kerfuffle/jobs.cpp #690909:690910
@@ -103,8 +103,13 @@
void AddJob::start()
{
- // TODO: implement it
- emitResult();
+ emit description( this, i18np( "Adding one file to the archive", "Adding %1 files \
to the archive", m_files.count() ) ); + InternalAddJob *job = new InternalAddJob( \
m_archive, m_files, this ); + connect( job, SIGNAL( done( ThreadWeaver::Job* ) ),
+ this, SLOT( done( ThreadWeaver::Job* ) ) );
+ connect( job, SIGNAL( progress( double ) ),
+ this, SLOT( progress( double ) ) );
+ ThreadWeaver::Weaver::instance()->enqueue( job );
}
void AddJob::done( ThreadWeaver::Job *job )
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic