diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-21 14:06:29 -0600 |
---|---|---|
committer | Slávek Banko <slavek.banko@axis.cz> | 2012-06-05 20:47:54 +0200 |
commit | 43c58f1620463166675d45199b37ce2979d5215e (patch) | |
tree | 67558a5bd6213761dbde4a620e497b644ffe8c08 /src/kvilib/tal/kvi_tal_toolbar.cpp | |
parent | e21c70f0573896c6503317f4684f2f421a57fd11 (diff) | |
download | kvirc-43c58f1620463166675d45199b37ce2979d5215e.tar.gz kvirc-43c58f1620463166675d45199b37ce2979d5215e.zip |
Rename obsolete tq methods to standard names
(cherry picked from commit 2dd6d32bd821b303aa7b25edda76d1ef7c14b2bf)
Diffstat (limited to 'src/kvilib/tal/kvi_tal_toolbar.cpp')
-rw-r--r-- | src/kvilib/tal/kvi_tal_toolbar.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/kvilib/tal/kvi_tal_toolbar.cpp b/src/kvilib/tal/kvi_tal_toolbar.cpp index 80ac44aa..85e24f3e 100644 --- a/src/kvilib/tal/kvi_tal_toolbar.cpp +++ b/src/kvilib/tal/kvi_tal_toolbar.cpp @@ -49,7 +49,7 @@ { //setFrameStyle(TQFrame::NoFrame); setObjectName(nam); - if(!tqlayout()) + if(!layout()) this->setLayout(new TQBoxLayout(TQBoxLayout::LeftToRight)); w->addToolBar(dock,this); } @@ -58,14 +58,14 @@ { //setFrameStyle(TQFrame::NoFrame); setObjectName(name); - if(!tqlayout()) + if(!layout()) this->setLayout(new TQBoxLayout(TQBoxLayout::LeftToRight)); w->addToolBar(this); } TQBoxLayout * KviTalToolBar::boxLayout() { - return (TQBoxLayout*)this->tqlayout(); + return (TQBoxLayout*)this->layout(); } void KviTalToolBar::setBoxLayout(TQBoxLayout * l) |