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

kmilo

kmilo_kvaio.h

Go to the documentation of this file.
00001 /* -*- C++ -*-
00002 
00003    This file declares the KVaio module for KMilo.
00004 
00005    $ Author: Mirko Boehm $
00006    $ Copyright: (C) 1996-2003, Mirko Boehm $
00007    $ Contact: mirko@kde.org
00008          http://www.kde.org
00009          http://www.hackerbuero.org $
00010    $ License: LGPL with the following explicit clarification:
00011          This code may be linked against any version of the Qt toolkit
00012          from Troll Tech, Norway. $
00013 
00014    $Id: kmilo_kvaio.h 719088 2007-09-30 09:53:24Z mlaurent $
00015 
00016    * Portions of this code are
00017    * (C) 2001-2002 Stelian Pop <stelian@popies.net> and
00018    * (C) 2001-2002 Alcove <www.alcove.com>.
00019    * Thanks to Stelian for the implementation of the sonypi driver.
00020 */
00021 
00022 #ifndef _KMILO_KVAIO_H_
00023 #define _KMILO_KVAIO_H_
00024 
00025 #include <kxmlguiwindow.h>
00026 #include <kglobalaccel.h>
00027 #include <kapplication.h>
00028 
00029 #include "kmilod.h"
00030 #include "monitor.h"
00031 #include "kmilointerface.h"
00032 
00033 class KVaio;
00034 
00035 class KMiloKVaio : public KMilo::Monitor {
00036 //  Q_OBJECT
00037 
00038     public:
00039         KMiloKVaio(QObject *parent, const QVariantList&);
00040         virtual ~KMiloKVaio();
00041 
00042         virtual bool init();
00043         virtual DisplayType poll();
00044         virtual int progress() const;
00045 
00046         virtual void reconfigure(KConfig*);
00047 
00048 
00049         bool showTextMsg(const QString& msg) {
00050             _interface->displayText(msg);
00051             return true;
00052         }
00053         bool showProgressMsg(const QString& msg, int progress) {
00054             _interface->displayProgress(msg,progress);
00055             return true;
00056         }
00057 
00058     private:
00059         KVaio *m_kvaio;
00060         Monitor::DisplayType m_displayType;
00061 };
00062 
00063 
00064 #endif

kmilo

Skip menu "kmilo"
  • 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