summaryrefslogtreecommitdiffstats
path: root/kkbswitch/kbgroup.h
diff options
context:
space:
mode:
authorSlávek Banko <slavek.banko@axis.cz>2013-08-18 15:43:45 +0200
committerSlávek Banko <slavek.banko@axis.cz>2013-08-18 15:43:45 +0200
commitae0c828ac29043e7adc56a78fc18d816b32c12b4 (patch)
tree51cc9b30f40faa951fc029f72c5f5b5e573e863d /kkbswitch/kbgroup.h
downloadkkbswitch-ae0c828ac29043e7adc56a78fc18d816b32c12b4.tar.gz
kkbswitch-ae0c828ac29043e7adc56a78fc18d816b32c12b4.zip
Initial import of kkbswitch 1.4.3
Diffstat (limited to 'kkbswitch/kbgroup.h')
-rw-r--r--kkbswitch/kbgroup.h48
1 files changed, 48 insertions, 0 deletions
diff --git a/kkbswitch/kbgroup.h b/kkbswitch/kbgroup.h
new file mode 100644
index 0000000..0c5997c
--- /dev/null
+++ b/kkbswitch/kbgroup.h
@@ -0,0 +1,48 @@
+/***************************************************************************
+ kbgroup.h - description
+ -------------------
+ begin : Wed Jul 4 2001
+ copyright : (C) 2001 by Leonid Zeitlin
+ email : lz@europe.com
+ ***************************************************************************/
+
+/***************************************************************************
+ * *
+ * This program is free software; you can redistribute it and/or modify *
+ * it under the terms of the GNU General Public License as published by *
+ * the Free Software Foundation; either version 2 of the License, or *
+ * (at your option) any later version. *
+ * *
+ ***************************************************************************/
+
+#ifndef KBGROUP_H
+#define KBGROUP_H
+
+#include <qpixmap.h>
+#include <qstring.h>
+
+/**A helper class the holds keyboard group's name and pixmap
+ *@author Leonid Zeitlin
+ */
+
+class KBGroup {
+public:
+ KBGroup(const QString& name);
+ ~KBGroup();
+ /** */
+ const QPixmap& getPixmap() { return m_pixmap; }
+ /** No descriptions */
+ const QString& getName() { return m_name; }
+ /** No descriptions */
+ void setPixmap(const QPixmap& pixmap) { m_pixmap = pixmap; }
+ const QString& getIconPath() { return m_iconpath; }
+ void setIconPath(const QString &iconpath) { m_iconpath = iconpath; }
+private: // Private attributes
+ /** */
+ QString m_name;
+ /** */
+ QPixmap m_pixmap;
+ QString m_iconpath;
+};
+
+#endif