summaryrefslogtreecommitdiffstats
path: root/kmilo/kmilo_kvaio/kmilo_kvaio.h
diff options
context:
space:
mode:
authortoma <toma@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2009-11-25 17:56:58 +0000
committertoma <toma@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2009-11-25 17:56:58 +0000
commit2bda8f7717adf28da4af0d34fb82f63d2868c31d (patch)
tree8d927b7b47a90c4adb646482a52613f58acd6f8c /kmilo/kmilo_kvaio/kmilo_kvaio.h
downloadtdeutils-2bda8f7717adf28da4af0d34fb82f63d2868c31d.tar.gz
tdeutils-2bda8f7717adf28da4af0d34fb82f63d2868c31d.zip
Copy the KDE 3.5 branch to branches/trinity for new KDE 3.5 features.
BUG:215923 git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdeutils@1054174 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kmilo/kmilo_kvaio/kmilo_kvaio.h')
-rw-r--r--kmilo/kmilo_kvaio/kmilo_kvaio.h66
1 files changed, 66 insertions, 0 deletions
diff --git a/kmilo/kmilo_kvaio/kmilo_kvaio.h b/kmilo/kmilo_kvaio/kmilo_kvaio.h
new file mode 100644
index 0000000..fccd7e9
--- /dev/null
+++ b/kmilo/kmilo_kvaio/kmilo_kvaio.h
@@ -0,0 +1,66 @@
+/* -*- C++ -*-
+
+ This file declares the KVaio module for KMilo.
+
+ $ Author: Mirko Boehm $
+ $ Copyright: (C) 1996-2003, Mirko Boehm $
+ $ Contact: mirko@kde.org
+ http://www.kde.org
+ http://www.hackerbuero.org $
+ $ License: LGPL with the following explicit clarification:
+ This code may be linked against any version of the Qt toolkit
+ from Troll Tech, Norway. $
+
+ $Id$
+
+ * Portions of this code are
+ * (C) 2001-2002 Stelian Pop <stelian@popies.net> and
+ * (C) 2001-2002 Alcove <www.alcove.com>.
+ * Thanks to Stelian for the implementation of the sonypi driver.
+*/
+
+#ifndef _KMILO_KVAIO_H_
+#define _KMILO_KVAIO_H_
+
+#include <kmainwindow.h>
+#include <kglobalaccel.h>
+#include <dcopref.h>
+#include <kapplication.h>
+
+#include "kmilod.h"
+#include "monitor.h"
+#include "kmilointerface.h"
+
+class KVaio;
+
+class KMiloKVaio : public KMilo::Monitor {
+// Q_OBJECT
+
+ public:
+ KMiloKVaio(QObject *parent,
+ const char *name, const QStringList&);
+ virtual ~KMiloKVaio();
+
+ virtual bool init();
+ virtual DisplayType poll();
+ virtual int progress() const;
+
+ virtual void reconfigure(KConfig*);
+
+
+ bool showTextMsg(const QString& msg) {
+ _interface->displayText(msg);
+ return true;
+ }
+ bool showProgressMsg(const QString& msg, int progress) {
+ _interface->displayProgress(msg,progress);
+ return true;
+ }
+
+ private:
+ KVaio *m_kvaio;
+ Monitor::DisplayType m_displayType;
+};
+
+
+#endif