summaryrefslogtreecommitdiffstats
path: root/libk9copy/k9drawimage.h
blob: 368c1281b36176a186215c05155426bf797bb0dc (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
//
// C++ Interface: k9drawimage
//
// Description: 
//
//
// Author: Jean-Michel PETIT <k9copy@free.fr>, (C) 2007
//
// Copyright: See COPYING file that comes with this distribution
//
//
#ifndef K9DRAWIMAGE_H
#define K9DRAWIMAGE_H

#include <tqwidget.h>
#include <tqpixmap.h>

/**
	@author Jean-Michel PETIT <k9copy@free.fr>
*/
class k9DrawImage : public TQWidget
{
Q_OBJECT
  
public:
    k9DrawImage(TQWidget *parent = 0, const char *name = 0);
    void setImage(TQString _fileName);
    void setImage(const TQImage &_image);
    ~k9DrawImage();
private:
    TQPixmap m_pixmap;

protected:
    void paintEvent ( TQPaintEvent *);
};

#endif