summaryrefslogtreecommitdiffstats
path: root/krita/ui/kis_tool.cc
diff options
context:
space:
mode:
Diffstat (limited to 'krita/ui/kis_tool.cc')
-rw-r--r--krita/ui/kis_tool.cc20
1 files changed, 10 insertions, 10 deletions
diff --git a/krita/ui/kis_tool.cc b/krita/ui/kis_tool.cc
index 7ea39e3c..5aee554b 100644
--- a/krita/ui/kis_tool.cc
+++ b/krita/ui/kis_tool.cc
@@ -16,10 +16,10 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
*/
-#include <qwidget.h>
-#include <qstring.h>
+#include <tqwidget.h>
+#include <tqstring.h>
#include <kaction.h>
-#include <qlabel.h>
+#include <tqlabel.h>
#include <klocale.h>
#include <kdebug.h>
@@ -31,11 +31,11 @@
class KisTool::KisToolPrivate
{
public:
- QString uiname;
- QLabel * optionWidget;
+ TQString uiname;
+ TQLabel * optionWidget;
};
-KisTool::KisTool(const QString & name)
+KisTool::KisTool(const TQString & name)
{
m_action = 0;
m_ownAction = false;
@@ -53,16 +53,16 @@ KisTool::~KisTool()
delete d;
}
-QWidget* KisTool::createOptionWidget(QWidget* parent)
+TQWidget* KisTool::createOptionWidget(TQWidget* tqparent)
{
- d->optionWidget = new QLabel(i18n("No options for %1.").arg(d->uiname), parent);
+ d->optionWidget = new TQLabel(i18n("No options for %1.").tqarg(d->uiname), tqparent);
d->optionWidget->setCaption(d->uiname);
- d->optionWidget->setAlignment(Qt::AlignCenter);
+ d->optionWidget->tqsetAlignment(TQt::AlignCenter);
return d->optionWidget;
}
-QWidget* KisTool::optionWidget()
+TQWidget* KisTool::optionWidget()
{
return d->optionWidget;
}