summaryrefslogtreecommitdiffstats
path: root/kkbswitch/kbgroup.h
blob: 0c5997c181a1ba5544fd6adfc4a45cc6d0d271f4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
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