summaryrefslogtreecommitdiffstats
path: root/krita/plugins/viewplugins/histogram/kis_histogram_widget.cc
diff options
context:
space:
mode:
Diffstat (limited to 'krita/plugins/viewplugins/histogram/kis_histogram_widget.cc')
-rw-r--r--krita/plugins/viewplugins/histogram/kis_histogram_widget.cc30
1 files changed, 15 insertions, 15 deletions
diff --git a/krita/plugins/viewplugins/histogram/kis_histogram_widget.cc b/krita/plugins/viewplugins/histogram/kis_histogram_widget.cc
index 0e7384355..12005e05d 100644
--- a/krita/plugins/viewplugins/histogram/kis_histogram_widget.cc
+++ b/krita/plugins/viewplugins/histogram/kis_histogram_widget.cc
@@ -17,14 +17,14 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
*/
-#include <qpainter.h>
-#include <qpixmap.h>
-#include <qlabel.h>
-#include <qcombobox.h>
-#include <qbuttongroup.h>
-#include <qpushbutton.h>
-#include <qscrollbar.h>
-#include <qtooltip.h>
+#include <tqpainter.h>
+#include <tqpixmap.h>
+#include <tqlabel.h>
+#include <tqcombobox.h>
+#include <tqbuttongroup.h>
+#include <tqpushbutton.h>
+#include <tqscrollbar.h>
+#include <tqtooltip.h>
#include <kdebug.h>
@@ -39,8 +39,8 @@
#include "kis_colorspace.h"
-KisHistogramWidget::KisHistogramWidget(QWidget *parent, const char *name)
- : super(parent, name)
+KisHistogramWidget::KisHistogramWidget(TQWidget *tqparent, const char *name)
+ : super(tqparent, name)
{
m_from = 0.0;
m_width = 0.0;
@@ -72,11 +72,11 @@ void KisHistogramWidget::setPaintDevice(KisPaintDeviceSP dev)
m_from = m_histogramView->currentProducer()->viewFrom();
m_width = m_histogramView->currentProducer()->viewWidth();
- connect(grpType, SIGNAL(clicked(int)), this, SLOT(slotTypeSwitched(int)));
- connect(cmbChannel, SIGNAL(activated(int)), this, SLOT(setActiveChannel(int)));
- connect(zoomIn, SIGNAL(clicked()), this, SLOT(slotZoomIn()));
- connect(zoomOut, SIGNAL(clicked()), this, SLOT(slotZoomOut()));
- connect(currentView, SIGNAL(valueChanged(int)), this, SLOT(slide(int)));
+ connect(grpType, TQT_SIGNAL(clicked(int)), this, TQT_SLOT(slotTypeSwitched(int)));
+ connect(cmbChannel, TQT_SIGNAL(activated(int)), this, TQT_SLOT(setActiveChannel(int)));
+ connect(zoomIn, TQT_SIGNAL(clicked()), this, TQT_SLOT(slotZoomIn()));
+ connect(zoomOut, TQT_SIGNAL(clicked()), this, TQT_SLOT(slotZoomOut()));
+ connect(currentView, TQT_SIGNAL(valueChanged(int)), this, TQT_SLOT(slide(int)));
}
void KisHistogramWidget::setActiveChannel(int channel)