diff options
Diffstat (limited to 'chalk/plugins/viewplugins/histogram_docker')
| -rw-r--r-- | chalk/plugins/viewplugins/histogram_docker/histogramdocker.cpp | 22 | ||||
| -rw-r--r-- | chalk/plugins/viewplugins/histogram_docker/kis_imagerasteredcache.cpp | 12 |
2 files changed, 17 insertions, 17 deletions
diff --git a/chalk/plugins/viewplugins/histogram_docker/histogramdocker.cpp b/chalk/plugins/viewplugins/histogram_docker/histogramdocker.cpp index 25a7b9cff..0ba11d4ab 100644 --- a/chalk/plugins/viewplugins/histogram_docker/histogramdocker.cpp +++ b/chalk/plugins/viewplugins/histogram_docker/histogramdocker.cpp @@ -76,14 +76,14 @@ ChalkHistogramDocker::ChalkHistogramDocker(TQObject *parent, const char *name, c m_hview->setCaption(i18n("Histogram")); - connect(m_hview, TQT_SIGNAL(rightClicked(const TQPoint&)), - this, TQT_SLOT(popupMenu(const TQPoint&))); - connect(m_cache, TQT_SIGNAL(cacheUpdated()), - new HistogramDockerUpdater(this, m_histogram, m_hview, m_producer), TQT_SLOT(updated())); - connect(&m_popup, TQT_SIGNAL(activated(int)), - this, TQT_SLOT(producerChanged(int))); - connect(img, TQT_SIGNAL(sigColorSpaceChanged(KisColorSpace*)), - this, TQT_SLOT(colorSpaceChanged(KisColorSpace*))); // No need to force updates here + connect(m_hview, TQ_SIGNAL(rightClicked(const TQPoint&)), + this, TQ_SLOT(popupMenu(const TQPoint&))); + connect(m_cache, TQ_SIGNAL(cacheUpdated()), + new HistogramDockerUpdater(this, m_histogram, m_hview, m_producer), TQ_SLOT(updated())); + connect(&m_popup, TQ_SIGNAL(activated(int)), + this, TQ_SLOT(producerChanged(int))); + connect(img, TQ_SIGNAL(sigColorSpaceChanged(KisColorSpace*)), + this, TQ_SLOT(colorSpaceChanged(KisColorSpace*))); // No need to force updates here // Add it to the control palette m_view->canvasSubject()->paletteManager()->addWidget( @@ -143,8 +143,8 @@ void ChalkHistogramDocker::producerChanged(int pos) m_hview->setColor(true); m_hview->setCurrentChannels(m_producer, m_producer->channels()); - connect(m_cache, TQT_SIGNAL(cacheUpdated()), - new HistogramDockerUpdater(this, m_histogram, m_hview, m_producer), TQT_SLOT(updated())); + connect(m_cache, TQ_SIGNAL(cacheUpdated()), + new HistogramDockerUpdater(this, m_histogram, m_hview, m_producer), TQ_SLOT(updated())); } } @@ -175,7 +175,7 @@ HistogramDockerUpdater::HistogramDockerUpdater(TQObject* /*parent*/, KisHistogra KisAccumulatingHistogramProducer* p) : m_histogram(h), m_view(v), m_producer(p) { - connect(p, TQT_SIGNAL(completed()), this, TQT_SLOT(completed())); + connect(p, TQ_SIGNAL(completed()), this, TQ_SLOT(completed())); } void HistogramDockerUpdater::updated() { diff --git a/chalk/plugins/viewplugins/histogram_docker/kis_imagerasteredcache.cpp b/chalk/plugins/viewplugins/histogram_docker/kis_imagerasteredcache.cpp index 19599cd9c..a4df2688d 100644 --- a/chalk/plugins/viewplugins/histogram_docker/kis_imagerasteredcache.cpp +++ b/chalk/plugins/viewplugins/histogram_docker/kis_imagerasteredcache.cpp @@ -47,11 +47,11 @@ KisImageRasteredCache::KisImageRasteredCache(KisView* view, Observer* o) imageSizeChanged(img->width(), img->height()); - connect(img, TQT_SIGNAL(sigImageUpdated(TQRect)), - this, TQT_SLOT(imageUpdated(TQRect))); - connect(img, TQT_SIGNAL(sigSizeChanged(TQ_INT32, TQ_INT32)), - this, TQT_SLOT(imageSizeChanged(TQ_INT32, TQ_INT32))); - connect(&m_timer, TQT_SIGNAL(timeout()), this, TQT_SLOT(timeOut())); + connect(img, TQ_SIGNAL(sigImageUpdated(TQRect)), + this, TQ_SLOT(imageUpdated(TQRect))); + connect(img, TQ_SIGNAL(sigSizeChanged(TQ_INT32, TQ_INT32)), + this, TQ_SLOT(imageSizeChanged(TQ_INT32, TQ_INT32))); + connect(&m_timer, TQ_SIGNAL(timeout()), this, TQ_SLOT(timeOut())); } KisImageRasteredCache::~KisImageRasteredCache() { @@ -140,7 +140,7 @@ void KisImageRasteredCache::timeOut() { // If there are still elements, we need to be called again (this emulates processEvents) if (!m_queue.isEmpty()) { - TQTimer::singleShot(0, this, TQT_SLOT(timeOut())); + TQTimer::singleShot(0, this, TQ_SLOT(timeOut())); } else { emit cacheUpdated(); m_imageProjection = 0; |
