• Skip to content
  • Skip to link menu
KDE 4.2 API Reference
  • KDE API Reference
  • kdenetwork
  • Sitemap
  • Contact Us
 

kget

autorotatelogjob.h

Go to the documentation of this file.
00001 /***************************************************************************
00002  *   Copyright (C) 2005 by Joris Guisson                                   *
00003  *   joris.guisson@gmail.com                                               *
00004  *                                                                         *
00005  *   This program is free software; you can redistribute it and/or modify  *
00006  *   it under the terms of the GNU General Public License as published by  *
00007  *   the Free Software Foundation; either version 2 of the License, or     *
00008  *   (at your option) any later version.                                   *
00009  *                                                                         *
00010  *   This program 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         *
00013  *   GNU General Public License for more details.                          *
00014  *                                                                         *
00015  *   You should have received a copy of the GNU General Public License     *
00016  *   along with this program; if not, write to the                         *
00017  *   Free Software Foundation, Inc.,                                       *
00018  *   51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.          *
00019  ***************************************************************************/
00020 #ifndef BTAUTOROTATELOGJOB_H
00021 #define BTAUTOROTATELOGJOB_H
00022 
00023 #include <kio/job.h>
00024 #include <cstdlib>
00025 
00026 namespace bt
00027 {
00028     class Log;
00029 
00036     class AutoRotateLogJob : public KIO::Job
00037     {
00038         Q_OBJECT
00039     public:
00040         AutoRotateLogJob(const QString & file,Log* lg);
00041         virtual ~AutoRotateLogJob();
00042         
00043         virtual void kill(bool quietly=true);
00044         
00045     private slots:
00046         void moveJobDone(KJob*);
00047         void compressJobDone(KJob*);
00048         
00049     private:
00050         void update();
00051         
00052     private:
00053         QString file;
00054         int cnt;
00055         Log* lg;
00056     };
00057 
00058 }
00059 
00060 #endif

kget

Skip menu "kget"
  • Main Page
  • Namespace List
  • Class Hierarchy
  • Alphabetical List
  • Class List
  • File List
  • Namespace Members
  • Class Members
  • Related Pages

kdenetwork

Skip menu "kdenetwork"
  • kget
  • kopete
  •   kopete
  •   libkopete
  •       libpapillon
  • krfb
Generated for kdenetwork by doxygen 1.5.4
This website is maintained by Adriaan de Groot and Allen Winter.
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal