summaryrefslogtreecommitdiffstats
path: root/krita/ui/kis_gradient_chooser.cc
diff options
context:
space:
mode:
Diffstat (limited to 'krita/ui/kis_gradient_chooser.cc')
-rw-r--r--krita/ui/kis_gradient_chooser.cc22
1 files changed, 11 insertions, 11 deletions
diff --git a/krita/ui/kis_gradient_chooser.cc b/krita/ui/kis_gradient_chooser.cc
index ca0bfeb0..7e416ea1 100644
--- a/krita/ui/kis_gradient_chooser.cc
+++ b/krita/ui/kis_gradient_chooser.cc
@@ -16,9 +16,9 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
*/
#include <klocale.h>
-#include <qlabel.h>
-#include <qlayout.h>
-#include <qpushbutton.h>
+#include <tqlabel.h>
+#include <tqlayout.h>
+#include <tqpushbutton.h>
#include <kdialogbase.h>
@@ -32,24 +32,24 @@
#include "kis_gradient_chooser.h"
-KisCustomGradientDialog::KisCustomGradientDialog(KisView * view, QWidget * parent, const char *name)
- : KDialogBase(parent, name, false, i18n("Custom Gradient"), Close)
+KisCustomGradientDialog::KisCustomGradientDialog(KisView * view, TQWidget * tqparent, const char *name)
+ : KDialogBase(tqparent, name, false, i18n("Custom Gradient"), Close)
{
m_page = new KisAutogradient(this, "autogradient", i18n("Custom Gradient"));
setMainWidget(m_page);
- connect(m_page, SIGNAL(activatedResource(KisResource *)), view, SLOT(gradientActivated(KisResource*)));
+ connect(m_page, TQT_SIGNAL(activatedResource(KisResource *)), view, TQT_SLOT(gradientActivated(KisResource*)));
}
-KisGradientChooser::KisGradientChooser(KisView * view, QWidget *parent, const char *name) : super(parent, name)
+KisGradientChooser::KisGradientChooser(KisView * view, TQWidget *tqparent, const char *name) : super(tqparent, name)
{
- m_lbName = new QLabel(this);
+ m_lbName = new TQLabel(this);
- m_customGradient = new QPushButton(i18n("Custom Gradient..."), this, "custom gradient button");
+ m_customGradient = new TQPushButton(i18n("Custom Gradient..."), this, "custom gradient button");
KisCustomGradientDialog * autogradient = new KisCustomGradientDialog(view, this, "autogradient");
- connect(m_customGradient, SIGNAL(clicked()), autogradient, SLOT(show()));
+ connect(m_customGradient, TQT_SIGNAL(clicked()), autogradient, TQT_SLOT(show()));
- 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);