stdprogress.cpp
00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021 #include <klocale.h>
00022
00023 #include "stdprogress.h"
00024
00025 using namespace KSync;
00026
00027 Progress StdProgress::connection() {
00028 return Progress( Progress::Connection, i18n("A connection was opened.") );
00029 }
00030 Progress StdProgress::connected() {
00031 return Progress( Progress::Connected, i18n("A connection was established.") );
00032 }
00033 Progress StdProgress::authenticated() {
00034 return Progress( Progress::Authenticated, i18n("Successfully authenticated.") );
00035 }
00036 Progress StdProgress::syncing(const QString& str) {
00037 return Progress( Progress::Syncing, i18n("Currently synchronizing %1").arg(str) );
00038 }
00039 Progress StdProgress::downloading(const QString& str) {
00040 return Progress( Progress::Downloading, i18n("Currently downloading %1").arg(str) );
00041 }
00042 Progress StdProgress::uploading(const QString& str) {
00043 return Progress( Progress::Uploading, i18n("Currently uploading %1").arg(str) );
00044 }
00045 Progress StdProgress::converting(const QString& str) {
00046 return Progress( Progress::Converting, i18n("Converting %1 to native format").arg(str) );
00047 }
00048 Progress StdProgress::reconverting( const QString& str) {
00049 return Progress( Progress::Reconverting, i18n("Reconverting %1 to remote format").arg(str) );
00050 }
00051 Progress StdProgress::done() {
00052 return Progress( Progress::Done, i18n("Done.") );
00053 }
This file is part of the documentation for kitchensync Library Version 3.3.2.