summaryrefslogtreecommitdiff
path: root/noncore/graphics/drawpad/texttool.h
Side-by-side diff
Diffstat (limited to 'noncore/graphics/drawpad/texttool.h') (more/less context) (show whitespace changes)
-rw-r--r--noncore/graphics/drawpad/texttool.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/noncore/graphics/drawpad/texttool.h b/noncore/graphics/drawpad/texttool.h
index 3187675..17556a1 100644
--- a/noncore/graphics/drawpad/texttool.h
+++ b/noncore/graphics/drawpad/texttool.h
@@ -1,46 +1,47 @@
/***************************************************************************
* *
* DrawPad - a drawing program for Opie Environment *
* *
* (C) 2002 by S. Prud'homme <prudhomme@laposte.net> *
* *
* 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 TEXTTOOL_H
#define TEXTTOOL_H
#include "tool.h"
#include <qdialog.h>
class QLineEdit;
class TextToolDialog : public QDialog
{
+ Q_OBJECT
public:
TextToolDialog(QWidget* parent = 0, const char* name = 0);
~TextToolDialog();
QString text();
private:
QLineEdit* m_pLineEdit;
};
class TextTool : public Tool
{
public:
TextTool(DrawPad* drawPad, DrawPadCanvas* drawPadCanvas);
~TextTool();
void mousePressEvent(QMouseEvent* e);
void mouseReleaseEvent(QMouseEvent* e);
void mouseMoveEvent(QMouseEvent* e);
};
#endif // TEXTTOOL_H