summaryrefslogtreecommitdiffstats
path: root/chalk/core/kis_fill_painter.cc
diff options
context:
space:
mode:
authorTimothy Pearson <[email protected]>2011-12-16 09:56:31 -0600
committerTimothy Pearson <[email protected]>2011-12-16 09:56:31 -0600
commitc9cb4f487428aad5d8cda5e3a4b9ad87390d7e54 (patch)
tree1ee1912ac4bb966475f0db0f2a78678661b4b4a5 /chalk/core/kis_fill_painter.cc
parent94844816550ad672ccfcdc25659c625546239998 (diff)
downloadkoffice-c9cb4f487428aad5d8cda5e3a4b9ad87390d7e54.tar.gz
koffice-c9cb4f487428aad5d8cda5e3a4b9ad87390d7e54.zip
Revert "Rename a number of old tq methods that are no longer tq specific"
This reverts commit 94844816550ad672ccfcdc25659c625546239998.
Diffstat (limited to 'chalk/core/kis_fill_painter.cc')
-rw-r--r--chalk/core/kis_fill_painter.cc8
1 files changed, 4 insertions, 4 deletions
diff --git a/chalk/core/kis_fill_painter.cc b/chalk/core/kis_fill_painter.cc
index a025ce10..54e730a7 100644
--- a/chalk/core/kis_fill_painter.cc
+++ b/chalk/core/kis_fill_painter.cc
@@ -22,7 +22,7 @@
#include <cfloat>
#include <stack>
-#include "brush.h"
+#include "tqbrush.h"
#include "tqfontinfo.h"
#include "tqfontmetrics.h"
#include "tqpen.h"
@@ -209,7 +209,7 @@ struct FillSegment {
// FillSegment* parent;
};
-typedef enum { None = 0, Added = 1, Checked = 2 } Status;
+typedef enum { None = 0, Added = 1, Checked = 2 } tqStatus;
KisSelectionSP KisFillPainter::createFloodSelection(int startX, int startY) {
if (m_width < 0 || m_height < 0) {
@@ -260,9 +260,9 @@ KisSelectionSP KisFillPainter::createFloodSelection(int startX, int startY) {
stack.push(new FillSegment(startX, startY/*, 0*/));
- Status* map = new Status[m_size];
+ tqStatus* map = new tqStatus[m_size];
- memset(map, None, m_size * sizeof(Status));
+ memset(map, None, m_size * sizeof(tqStatus));
int progressPercent = 0; int pixelsDone = 0; int currentPercent = 0;
emit notifyProgressStage(i18n("Making fill outline..."), 0);