libkpimexchange Library API Documentation

exchangeprogress.h

00001 /*
00002     This file is part of libkpimexchange
00003     Copyright (c) 2002 Jan-Pascal van Best <janpascal@vanbest.org>
00004 
00005     This library is free software; you can redistribute it and/or
00006     modify it under the terms of the GNU Library General Public
00007     License as published by the Free Software Foundation; either
00008     version 2 of the License, or (at your option) any later version.
00009 
00010     This library is distributed in the hope that it will be useful,
00011     but WITHOUT ANY WARRANTY; without even the implied warranty of
00012     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
00013     Library General Public License for more details.
00014 
00015     You should have received a copy of the GNU Library General Public License
00016     along with this library; see the file COPYING.LIB.  If not, write to
00017     the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
00018     Boston, MA 02111-1307, USA.
00019 */
00020 #ifndef EXCHANGEPROGRESS_H
00021 #define EXCHANGEPROGRESS_H
00022 
00023 #include <kprogress.h>
00024 
00025 class QComboBox;
00026 
00027 namespace KPIM {
00028 
00029 class ExchangeProgress : public KProgressDialog
00030 {
00031   Q_OBJECT
00032   
00033   public:
00034     ExchangeProgress(QWidget *parent=0);
00035     virtual ~ExchangeProgress();
00036     
00037   public slots:
00038     void slotTransferStarted();
00039     void slotTransferFinished();
00040     
00041   signals:
00042     void complete( ExchangeProgress* );
00043 
00044   private:
00045     int m_total;
00046     int m_finished;
00047     
00048   private:
00049     void updateLabel();
00050 };
00051 
00052 }
00053 
00054 #endif
KDE Logo
This file is part of the documentation for libkpimexchange Library Version 3.2.2.
Documentation copyright © 1996-2004 the KDE developers.
Generated on Sat May 1 11:38:09 2004 by doxygen 1.2.15 written by Dimitri van Heesch, © 1997-2003