diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-18 18:13:30 -0600 |
---|---|---|
committer | Slávek Banko <slavek.banko@axis.cz> | 2012-08-01 04:34:45 +0200 |
commit | e72829f3fa8d309ba0c3f64034c14ce5eecd8590 (patch) | |
tree | ad28ceea8f25258a0f1e4eaf5c08e59f42c23298 /src/drawparts | |
parent | 0e831bb9c456be0d2880357a4bf294369c435984 (diff) | |
download | ktechlab-e72829f3fa8d309ba0c3f64034c14ce5eecd8590.tar.gz ktechlab-e72829f3fa8d309ba0c3f64034c14ce5eecd8590.zip |
Rename old tq methods that no longer need a unique name
(cherry picked from commit abb8cd68f820cfe0c96965136890a6bdd1093db5)
Diffstat (limited to 'src/drawparts')
-rw-r--r-- | src/drawparts/dptext.cpp | 2 | ||||
-rw-r--r-- | src/drawparts/dptext.h | 2 | ||||
-rw-r--r-- | src/drawparts/solidshape.cpp | 2 | ||||
-rw-r--r-- | src/drawparts/solidshape.h | 2 |
4 files changed, 4 insertions, 4 deletions
diff --git a/src/drawparts/dptext.cpp b/src/drawparts/dptext.cpp index e2d1060..73bcdd9 100644 --- a/src/drawparts/dptext.cpp +++ b/src/drawparts/dptext.cpp @@ -97,7 +97,7 @@ void DPText::postResize() } -TQSize DPText::tqminimumSize() const +TQSize DPText::minimumSize() const { return TQSize( 48, 24 ); } diff --git a/src/drawparts/dptext.h b/src/drawparts/dptext.h index 4cbc821..dc712c0 100644 --- a/src/drawparts/dptext.h +++ b/src/drawparts/dptext.h @@ -29,7 +29,7 @@ public: virtual void setSelected( bool yes ); - virtual TQSize tqminimumSize() const; + virtual TQSize minimumSize() const; protected: virtual void postResize(); diff --git a/src/drawparts/solidshape.cpp b/src/drawparts/solidshape.cpp index 1760db9..c995fa2 100644 --- a/src/drawparts/solidshape.cpp +++ b/src/drawparts/solidshape.cpp @@ -101,7 +101,7 @@ void DPRectangle::dataChanged() } -TQSize DPRectangle::tqminimumSize() const +TQSize DPRectangle::minimumSize() 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 02bb49e..aa8a5fe 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 tqminimumSize() const; + virtual TQSize minimumSize() const; protected: virtual void drawShape( TQPainter &p ); |