author | mickeyl <mickeyl> | 2003-10-27 20:18:36 (UTC) |
---|---|---|
committer | mickeyl <mickeyl> | 2003-10-27 20:18:36 (UTC) |
commit | b367c7a9a97082419832c62d879c1ed2c80b8249 (patch) (side-by-side diff) | |
tree | 556d9beed9056aec911734c6bbc365a61ec251a4 /noncore/graphics/drawpad/drawpad.h | |
parent | 951d1d4125a80dc814f95d2956853bf53ca52e9a (diff) | |
download | opie-b367c7a9a97082419832c62d879c1ed2c80b8249.zip opie-b367c7a9a97082419832c62d879c1ed2c80b8249.tar.gz opie-b367c7a9a97082419832c62d879c1ed2c80b8249.tar.bz2 |
merge noncore/graphics/*
Note: qpdf is still not quicklaunch-able. I recommend not wasting time
to convert it but look @ qpdf2 instead.
Diffstat (limited to 'noncore/graphics/drawpad/drawpad.h') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/graphics/drawpad/drawpad.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/noncore/graphics/drawpad/drawpad.h b/noncore/graphics/drawpad/drawpad.h index 2cae700..48d5225 100644 --- a/noncore/graphics/drawpad/drawpad.h +++ b/noncore/graphics/drawpad/drawpad.h @@ -23,27 +23,29 @@ class Tool; class QAction; class QColor; class QSpinBox; class QToolButton; class QWidgetStack; class DrawPad : public QMainWindow { Q_OBJECT public: - DrawPad(QWidget* parent = 0, const char* name = 0); + DrawPad(QWidget* parent = 0, const char* name = 0, WFlags fl = 0); ~DrawPad(); + static QString appName() { return QString::fromLatin1("drawpad"); } + Tool* tool() { return m_pTool; } QPen pen() { return m_pen; } QBrush brush() { return m_brush; } bool antiAliasing(); void finishStartup(); private slots: void newPage(); void clearPage(); void deletePage(); |