~ubuntu-branches/ubuntu/lucid/kmess/lucid

« back to all changes in this revision

Viewing changes to contrib/isf-qt/tests/inkedit/main.h

  • Committer: Bazaar Package Importer
  • Author(s): Mark Purcell
  • Date: 2009-12-05 21:19:26 UTC
  • mfrom: (1.1.7 upstream) (0.1.8 sid)
  • Revision ID: james.westby@ubuntu.com-20091205211926-r26u8j38kysf6o2p
Tags: 2.0.2-1
* New upstream release 
  - Fixes friendly names (LP: #485640)
* Update Homepage: http://kmess.org
* Add Build-Depends: libphonon-dev | libqt4-phonon-dev (ubuntu friendly)
* kmess.1 fix lintian:hyphen-used-as-minus-sign

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/***************************************************************************
 
2
 *   Copyright (C) 2009 by Adam Goossens                                   *
 
3
 *   adam@kmess.org                                                        *
 
4
 *                                                                         *
 
5
 *   This program is free software; you can redistribute it and/or modify  *
 
6
 *   it under the terms of the GNU Lesser General Public License as        *
 
7
 *   published by the Free Software Foundation; either version 2.1 of the  *
 
8
 *   License, or (at your option) any later version.                       *
 
9
 *                                                                         *
 
10
 *   This program is distributed in the hope that it will be useful,       *
 
11
 *   but WITHOUT ANY WARRANTY; without even the implied warranty of        *
 
12
 *   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the         *
 
13
 *   GNU General Public License for more details.                          *
 
14
 *                                                                         *
 
15
 *   You should have received a copy of the GNU Lesser General Public      *
 
16
 *   License along with this program; if not, write to the                 *
 
17
 *   Free Software Foundation, Inc.,                                       *
 
18
 *   59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.             *
 
19
 ***************************************************************************/
 
20
 
 
21
#ifndef MAIN_H
 
22
#define MAIN_H
 
23
 
 
24
#include "ui_testinkedit.h"
 
25
 
 
26
#include <IsfQtDrawing>
 
27
 
 
28
#include <QApplication>
 
29
#include <QByteArray>
 
30
#include <QDebug>
 
31
#include <QPushButton>
 
32
#include <QLabel>
 
33
#include <QMainWindow>
 
34
#include <QVBoxLayout>
 
35
#include <QAbstractButton>
 
36
 
 
37
#include <IsfInkCanvas>
 
38
 
 
39
 
 
40
class TestInkEdit : public QWidget, public Ui::TestInkEdit
 
41
{
 
42
  Q_OBJECT
 
43
  
 
44
  public:
 
45
    
 
46
    TestInkEdit();
 
47
    ~TestInkEdit();
 
48
    
 
49
  public slots:
 
50
    
 
51
    void saveInk();
 
52
    void loadInk();
 
53
    void clearInk();
 
54
    void penTypeChanged( QAbstractButton *button );
 
55
    void chooseColor();
 
56
 
 
57
};
 
58
 
 
59
#endif