summaryrefslogtreecommitdiffstats
path: root/chalk/ui/kis_pattern_chooser.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/ui/kis_pattern_chooser.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/ui/kis_pattern_chooser.cc')
-rw-r--r--chalk/ui/kis_pattern_chooser.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/chalk/ui/kis_pattern_chooser.cc b/chalk/ui/kis_pattern_chooser.cc
index 39ffe61e..70484b0a 100644
--- a/chalk/ui/kis_pattern_chooser.cc
+++ b/chalk/ui/kis_pattern_chooser.cc
@@ -16,7 +16,7 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
*/
#include <tqlabel.h>
-#include <layout.h>
+#include <tqlayout.h>
#include <klocale.h>
#include <koIconChooser.h>
@@ -30,7 +30,7 @@ KisPatternChooser::KisPatternChooser(TQWidget *parent, const char *name) : super
{
m_lbName = new TQLabel(this);
- TQVBoxLayout *mainLayout = new TQVBoxLayout(this, 2, -1, "main layout");
+ TQVBoxLayout *mainLayout = new TQVBoxLayout(this, 2, -1, "main tqlayout");
mainLayout->addWidget(m_lbName);
mainLayout->addWidget(chooserWidget(), 10);
@@ -47,7 +47,7 @@ void KisPatternChooser::update(KoIconItem *item)
if (item) {
KisPattern *pattern = static_cast<KisPattern *>(kisItem->resource());
- TQString text = TQString("%1 (%2 x %3)").arg(pattern->name()).arg(pattern->width()).arg(pattern->height());
+ TQString text = TQString("%1 (%2 x %3)").tqarg(pattern->name()).tqarg(pattern->width()).tqarg(pattern->height());
m_lbName->setText(text);
}