~ubuntu-branches/ubuntu/oneiric/kdepim/oneiric-updates

« back to all changes in this revision

Viewing changes to kleopatra/crypto/controller.cpp

  • Committer: Package Import Robot
  • Author(s): Philip Muškovac
  • Date: 2011-06-28 19:33:24 UTC
  • mfrom: (0.2.13) (0.1.13 sid)
  • Revision ID: package-import@ubuntu.com-20110628193324-8yvjs8sdv9rdoo6c
Tags: 4:4.7.0-0ubuntu1
* New upstream release
  - update install files
  - add missing kdepim-doc package to control file
  - Fix Vcs lines
  - kontact breaks/replaces korganizer << 4:4.6.80
  - tighten the dependency of kdepim-dev on libkdepim4 to fix lintian error

Show diffs side-by-side

added added

removed removed

Lines of Context:
81
81
    doTaskDone( task, result );
82
82
}
83
83
 
 
84
void Controller::doTaskDone( const Task *, const shared_ptr<const Task::Result> & ) {}
 
85
 
84
86
void Controller::connectTask( const shared_ptr<Task> & task ) {
85
87
    assert( task );
86
88
    connect( task.get(), SIGNAL(result(boost::shared_ptr<const Kleo::Crypto::Task::Result>)),
87
89
             this, SLOT(taskDone(boost::shared_ptr<const Kleo::Crypto::Task::Result>)) );
88
90
}
89
91
 
 
92
void Controller::setLastError( int err, const QString & msg ) {
 
93
    d->lastError = err;
 
94
    d->lastErrorString = msg;
 
95
}
 
96
 
90
97
void Controller::emitDoneOrError() {
91
98
    if ( d->lastError != 0 )
92
99
        emit error( d->lastError, d->lastErrorString );