• Skip to content
  • Skip to link menu
KDE 4.0 API Reference
  • KDE API Reference
  • kdeutils
  • Sitemap
  • Contact Us
 

ark

jobtracker.h

Go to the documentation of this file.
00001 /*
00002  * ark -- archiver for the KDE project
00003  *
00004  * Copyright (C) 2007 Henrique Pinto <henrique.pinto@kdemail.net>
00005  *
00006  * This program is free software; you can redistribute it and/or
00007  * modify it under the terms of the GNU General Public License
00008  * as published by the Free Software Foundation; either version 2
00009  * of the License, or (at your option) any later version.
00010  *
00011  * This program is distributed in the hope that it will be useful,
00012  * but WITHOUT ANY WARRANTY; without even the implied warranty of
00013  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00014  * GNU General Public License for more details.
00015  *
00016  * You should have received a copy of the GNU General Public License
00017  * along with this program; if not, write to the Free Software
00018  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.
00019  *
00020  */
00021 #ifndef JOBTRACKER_H
00022 #define JOBTRACKER_H
00023 
00024 #include <QFrame>
00025 #include <kabstractwidgetjobtracker.h>
00026 #include "ui_jobtracker.h"
00027 
00028 class JobTrackerWidget: public QFrame, public Ui::JobTrackerWidget
00029 {
00030     Q_OBJECT
00031     public:
00032     JobTrackerWidget( QWidget *parent = 0 );
00033 };
00034 
00035 class JobTracker: public KAbstractWidgetJobTracker
00036 {
00037     Q_OBJECT
00038     public:
00039         JobTracker( QWidget *parent = 0 );
00040 
00041         QWidget *widget(KJob *job) { return m_ui; }
00042         virtual void registerJob( KJob *job );
00043         virtual void unregisterJob( KJob *job );
00044 
00045         KJob *currentJob() const { return m_currentJob; }
00046 
00047     protected slots:
00048         virtual void finished( KJob *job );
00049         virtual void description( KJob *job, const QString &title, const QPair< QString, QString > &f1, const QPair< QString, QString > &f2 );
00050         virtual void infoMessage( KJob *job, const QString &plain, const QString &rich );
00051         virtual void warning( KJob *job, const QString &plain, const QString &rich );
00052 
00053     private slots:
00054         void timeOut();
00055 
00056     private:
00057         JobTrackerWidget *m_ui;
00058         KJob             *m_currentJob;
00059 };
00060 
00061 #endif // JOBTRACKER_H

ark

Skip menu "ark"
  • Main Page
  • Namespace List
  • Class Hierarchy
  • Alphabetical List
  • Class List
  • File List
  • Namespace Members
  • Class Members

kdeutils

Skip menu "kdeutils"
  • ark
  • kcalc
  • kcharselect
  • kdelirc
  • kdessh
  • kdf
  • kfloppy
  • kgpg
  • kjots
  • klaptopdaemon
  • kmilo
  • ksim
  • ktimer
  • kwallet
  • superkaramba
Generated for kdeutils 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