diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-08-02 19:23:46 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-08-02 19:23:46 +0000 |
commit | eba47f8f0637f451e21348187591e1f1fd58ac74 (patch) | |
tree | 448f10b95c656604acc331a3236c1e59bde5c1ad /kolourpaint/tools/kptoolclear.cpp | |
parent | c7e8736c69373f48b0401319757c742e8607431a (diff) | |
download | tdegraphics-eba47f8f0637f451e21348187591e1f1fd58ac74.tar.gz tdegraphics-eba47f8f0637f451e21348187591e1f1fd58ac74.zip |
TQt conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdegraphics@1158446 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kolourpaint/tools/kptoolclear.cpp')
-rw-r--r-- | kolourpaint/tools/kptoolclear.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/kolourpaint/tools/kptoolclear.cpp b/kolourpaint/tools/kptoolclear.cpp index 230e54a3..7b1a775b 100644 --- a/kolourpaint/tools/kptoolclear.cpp +++ b/kolourpaint/tools/kptoolclear.cpp @@ -28,7 +28,7 @@ #include <kptoolclear.h> -#include <qpixmap.h> +#include <tqpixmap.h> #include <kdebug.h> #include <klocale.h> @@ -66,9 +66,9 @@ kpToolClearCommand::~kpToolClearCommand () // public virtual [base kpCommand] -QString kpToolClearCommand::name () const +TQString kpToolClearCommand::name () const { - QString opName = i18n ("Clear"); + TQString opName = i18n ("Clear"); if (m_actOnSelection) return i18n ("Selection: %1").arg (opName); @@ -95,7 +95,7 @@ void kpToolClearCommand::execute () } - m_oldPixmapPtr = new QPixmap (); + m_oldPixmapPtr = new TQPixmap (); *m_oldPixmapPtr = *doc->pixmap (m_actOnSelection); @@ -104,7 +104,7 @@ void kpToolClearCommand::execute () // OPT: could just edit pixmap directly and signal change kpSelection *sel = doc->selection (); - QPixmap newPixmap (sel->width (), sel->height ()); + TQPixmap newPixmap (sel->width (), sel->height ()); kpPixmapFX::fill (&newPixmap, m_newColor); // TODO: maybe disable Image/Clear if transparent colour if (m_newColor.isOpaque ()) |