~ubuntu-branches/debian/sid/kxstitch/sid

« back to all changes in this revision

Viewing changes to kxstitch/charselecttable.h

  • Committer: Bazaar Package Importer
  • Author(s): Mike O'Connor
  • Date: 2009-03-15 09:07:18 UTC
  • mfrom: (1.2.1 upstream) (4.1.1 experimental)
  • Revision ID: james.westby@ubuntu.com-20090315090718-w1f0d0ho6d2j9a9v
Tags: 0.8.3.1-1
* New Upstream Version
* Chnage build-dep to work with new libmagick++-dev (Closes: 485893)

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/***************************************************************************
 
2
 *   Copyright (C) 2006 by Stephen Allewell                                *
 
3
 *   stephen@mirramar.fsnet.co.uk                                          *
 
4
 *                                                                         *
 
5
 *   This program is free software; you can redistribute it and/or modify  *
 
6
 *   it under the terms of the GNU General Public License as published by  *
 
7
 *   the Free Software Foundation; either version 2 of the License, or     *
 
8
 *   (at your option) any later version.                                   *
 
9
 ***************************************************************************/
 
10
 
 
11
#ifndef CHARSELECTTABLE_H
 
12
#define CHARSELECTTABLE_H
 
13
 
 
14
#include <kcharselect.h>
 
15
 
 
16
class CharSelectTable : public KCharSelectTable
 
17
{
 
18
  Q_OBJECT
 
19
public:
 
20
  CharSelectTable(QWidget* parent, const char* name);
 
21
  virtual ~CharSelectTable();
 
22
 
 
23
  void setUsed(QMap<int,QChar>*);
 
24
 
 
25
signals:
 
26
  void charSelected(QChar);
 
27
 
 
28
protected:
 
29
  virtual void paintCell(class QPainter *p, int row, int col);
 
30
 
 
31
private:
 
32
  bool              symbolUsed(QChar c);
 
33
  QMap<int,QChar>*  m_used;
 
34
};
 
35
 
 
36
#endif