You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
49 lines
1.7 KiB
49 lines
1.7 KiB
/***************************************************************************
|
|
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 <ntqpixmap.h>
|
|
#include <ntqstring.h>
|
|
|
|
/**A helper class the holds keyboard group's name and pixmap
|
|
*@author Leonid Zeitlin
|
|
*/
|
|
|
|
class KBGroup {
|
|
public:
|
|
KBGroup(const TQString& name);
|
|
~KBGroup();
|
|
/** */
|
|
const TQPixmap& getPixmap() { return m_pixmap; }
|
|
/** No descriptions */
|
|
const TQString& getName() { return m_name; }
|
|
/** No descriptions */
|
|
void setPixmap(const TQPixmap& pixmap) { m_pixmap = pixmap; }
|
|
const TQString& getIconPath() { return m_iconpath; }
|
|
void setIconPath(const TQString &iconpath) { m_iconpath = iconpath; }
|
|
private: // Private attributes
|
|
/** */
|
|
TQString m_name;
|
|
/** */
|
|
TQPixmap m_pixmap;
|
|
TQString m_iconpath;
|
|
};
|
|
|
|
#endif
|