From c1ef065782051db96cdfd32cf55be6408c2a9d22 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Fri, 16 Dec 2011 09:57:14 -0600 Subject: Revert "Rename a number of old tq methods that are no longer tq specific" This reverts commit bab171b2a7d7f36e2d5dd510df80fc8cb4a6b06f. --- src/drawparts/dptext.cpp | 2 +- src/drawparts/dptext.h | 2 +- src/drawparts/solidshape.cpp | 2 +- src/drawparts/solidshape.h | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) (limited to 'src/drawparts') diff --git a/src/drawparts/dptext.cpp b/src/drawparts/dptext.cpp index 73bcdd9..e2d1060 100644 --- a/src/drawparts/dptext.cpp +++ b/src/drawparts/dptext.cpp @@ -97,7 +97,7 @@ void DPText::postResize() } -TQSize DPText::minimumSize() const +TQSize DPText::tqminimumSize() const { return TQSize( 48, 24 ); } diff --git a/src/drawparts/dptext.h b/src/drawparts/dptext.h index dc712c0..4cbc821 100644 --- a/src/drawparts/dptext.h +++ b/src/drawparts/dptext.h @@ -29,7 +29,7 @@ public: virtual void setSelected( bool yes ); - virtual TQSize minimumSize() const; + virtual TQSize tqminimumSize() const; protected: virtual void postResize(); diff --git a/src/drawparts/solidshape.cpp b/src/drawparts/solidshape.cpp index c995fa2..1760db9 100644 --- a/src/drawparts/solidshape.cpp +++ b/src/drawparts/solidshape.cpp @@ -101,7 +101,7 @@ void DPRectangle::dataChanged() } -TQSize DPRectangle::minimumSize() const +TQSize DPRectangle::tqminimumSize() const { int side = TQMAX(16, pen().width()+2); return TQSize( side, side ); diff --git a/src/drawparts/solidshape.h b/src/drawparts/solidshape.h index aa8a5fe..02bb49e 100644 --- a/src/drawparts/solidshape.h +++ b/src/drawparts/solidshape.h @@ -30,7 +30,7 @@ class DPRectangle : public DrawPart virtual void setSelected( bool yes ); - virtual TQSize minimumSize() const; + virtual TQSize tqminimumSize() const; protected: virtual void drawShape( TQPainter &p ); -- cgit v1.2.1