summaryrefslogtreecommitdiffstats
path: root/chalk/ui/kis_layerbox.cc
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-15 15:32:11 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-15 15:32:11 -0600
commit94844816550ad672ccfcdc25659c625546239998 (patch)
treee35fc60fd736c645d59f6408af032774ad8023d3 /chalk/ui/kis_layerbox.cc
parent2a811c38c74c03648ecf857e566c44483cbad706 (diff)
downloadkoffice-94844816550ad672ccfcdc25659c625546239998.tar.gz
koffice-94844816550ad672ccfcdc25659c625546239998.zip
Rename a number of old tq methods that are no longer tq specific
Diffstat (limited to 'chalk/ui/kis_layerbox.cc')
-rw-r--r--chalk/ui/kis_layerbox.cc12
1 files changed, 6 insertions, 6 deletions
diff --git a/chalk/ui/kis_layerbox.cc b/chalk/ui/kis_layerbox.cc
index 424c405d..31756d7c 100644
--- a/chalk/ui/kis_layerbox.cc
+++ b/chalk/ui/kis_layerbox.cc
@@ -21,11 +21,11 @@
#include <tqbutton.h>
#include <tqtoolbutton.h>
-#include <tqbrush.h>
+#include <brush.h>
#include <tqfont.h>
#include <tqfontmetrics.h>
#include <tqhbox.h>
-#include <tqlayout.h>
+#include <layout.h>
#include <tqpainter.h>
#include <tqpoint.h>
#include <tqrect.h>
@@ -68,7 +68,7 @@ KisLayerBox::KisLayerBox(KisCanvasSubject *subject, TQWidget *parent, const char
vbox->setAutoAdd(true);
m_lst = new WdgLayerBox(this);
- setMinimumSize(m_lst->tqminimumSizeHint());
+ setMinimumSize(m_lst->minimumSizeHint());
TQToolTip::add(m_lst->bnAdd, i18n("Create new layer"));
@@ -594,7 +594,7 @@ TQPixmap KisLayerBox::loadPixmap(const TQString& filename, const KIconLoader&
TQPixmap pixmap = il.loadIcon(filename, KIcon::NoGroup, size);
if (pixmap.isNull())
- KMessageBox::error(0, i18n("Cannot find %1").tqarg(filename),
+ KMessageBox::error(0, i18n("Cannot find %1").arg(filename),
i18n("Canvas"));
return pixmap;
@@ -626,7 +626,7 @@ void KisLayerBox::printChalkLayers() const
return;
TQString s = root->name();
if( dynamic_cast<KisGroupLayer*>( root ) )
- s = TQString("[%1]").tqarg( s );
+ s = TQString("[%1]").arg( s );
if( m_image->activeLayer().data() == root )
s.prepend("*");
kdDebug() << (TQString().fill(' ', indent) + s) << endl;
@@ -658,7 +658,7 @@ void KisLayerBox::printLayerboxLayers() const
}
TQString s = root->displayName();
if( root->isFolder() )
- s = TQString("[%1]").tqarg( s );
+ s = TQString("[%1]").arg( s );
if( list()->activeLayer() == root )
s.prepend("*");
kdDebug() << (TQString().fill(' ', indent) + s) << endl;