diff options
Diffstat (limited to 'krita/ui/kis_pattern_chooser.cc')
-rw-r--r-- | krita/ui/kis_pattern_chooser.cc | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/krita/ui/kis_pattern_chooser.cc b/krita/ui/kis_pattern_chooser.cc index 8a9d08b03..f19200bfe 100644 --- a/krita/ui/kis_pattern_chooser.cc +++ b/krita/ui/kis_pattern_chooser.cc @@ -15,8 +15,8 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ -#include <qlabel.h> -#include <qlayout.h> +#include <tqlabel.h> +#include <tqlayout.h> #include <klocale.h> #include <koIconChooser.h> @@ -26,11 +26,11 @@ #include "kis_icon_item.h" #include "kis_pattern.h" -KisPatternChooser::KisPatternChooser(QWidget *parent, const char *name) : super(parent, name) +KisPatternChooser::KisPatternChooser(TQWidget *tqparent, const char *name) : super(tqparent, name) { - m_lbName = new QLabel(this); + m_lbName = new TQLabel(this); - QVBoxLayout *mainLayout = new QVBoxLayout(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()); - QString text = QString("%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); } |