summaryrefslogtreecommitdiffstats
path: root/digikam/imageplugins/coreplugin/iccprooftool.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'digikam/imageplugins/coreplugin/iccprooftool.cpp')
-rw-r--r--digikam/imageplugins/coreplugin/iccprooftool.cpp18
1 files changed, 9 insertions, 9 deletions
diff --git a/digikam/imageplugins/coreplugin/iccprooftool.cpp b/digikam/imageplugins/coreplugin/iccprooftool.cpp
index 4175bda4..373896db 100644
--- a/digikam/imageplugins/coreplugin/iccprooftool.cpp
+++ b/digikam/imageplugins/coreplugin/iccprooftool.cpp
@@ -34,11 +34,11 @@
#include <tqhbox.h>
#include <tqhbuttongroup.h>
#include <tqlabel.h>
-#include <layout.h>
+#include <tqlayout.h>
#include <tqpoint.h>
#include <tqpushbutton.h>
#include <tqradiobutton.h>
-#include <textstream.h>
+#include <tqtextstream.h>
#include <tqtoolbox.h>
#include <tqtooltip.h>
#include <tqvbox.h>
@@ -128,7 +128,7 @@ ICCProofTool::ICCProofTool(TQObject* parent)
TQGridLayout *gridSettings = new TQGridLayout(m_gboxSettings->plainPage(), 3, 2);
TQLabel *label1 = new TQLabel(i18n("Channel: "), m_gboxSettings->plainPage());
- label1->setAlignment(TQt::AlignRight | TQt::AlignVCenter);
+ label1->tqsetAlignment(TQt::AlignRight | TQt::AlignVCenter);
m_channelCB = new TQComboBox(false, m_gboxSettings->plainPage());
m_channelCB->insertItem(i18n("Luminosity"));
m_channelCB->insertItem(i18n("Red"));
@@ -267,7 +267,7 @@ ICCProofTool::ICCProofTool(TQObject* parent)
"specific color.</li></ul>"));
KURLLabel *lcmsLogoLabel = new KURLLabel(generalOptions);
- lcmsLogoLabel->setAlignment(AlignTop | AlignRight);
+ lcmsLogoLabel->tqsetAlignment(AlignTop | AlignRight);
lcmsLogoLabel->setText(TQString());
lcmsLogoLabel->setURL("http://www.littlecms.com");
KGlobal::dirs()->addResourceType("logo-lcms", KGlobal::dirs()->kde_default("data") + "digikam/data");
@@ -594,7 +594,7 @@ void ICCProofTool::readSettings()
for (int j = 0 ; j < 17 ; j++)
{
TQPoint disable(-1, -1);
- TQPoint p = config->readPointEntry(TQString("CurveAjustmentPoint%1").arg(j), &disable);
+ TQPoint p = config->readPointEntry(TQString("CurveAjustmentPoint%1").tqarg(j), &disable);
if (m_originalImage->sixteenBit() && p.x() != -1)
{
@@ -643,7 +643,7 @@ void ICCProofTool::writeSettings()
p.setY(p.y() / 255);
}
- config->writeEntry(TQString("CurveAjustmentPoint%1").arg(j), p);
+ config->writeEntry(TQString("CurveAjustmentPoint%1").tqarg(j), p);
}
m_previewWidget->writeSettings();
@@ -690,13 +690,13 @@ void ICCProofTool::slotChannelChanged( int channel )
break;
}
- m_histogramWidget->repaint(false);
+ m_histogramWidget->tqrepaint(false);
}
void ICCProofTool::slotScaleChanged(int scale)
{
m_histogramWidget->m_scaleType = scale;
- m_histogramWidget->repaint(false);
+ m_histogramWidget->tqrepaint(false);
}
void ICCProofTool::slotResetSettings()
@@ -1202,7 +1202,7 @@ void ICCProofTool::slotLoadSettings()
{
KMessageBox::error(kapp->activeWindow(),
i18n("\"%1\" is not a Color Management settings text file.")
- .arg(loadColorManagementFile.fileName()));
+ .tqarg(loadColorManagementFile.fileName()));
file.close();
return;
}