summaryrefslogtreecommitdiffstats
path: root/kipi-plugins/timeadjust
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-15 15:36:37 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-15 15:36:37 -0600
commit650c190e4a29a2a17fd46b32ce78b956b9816215 (patch)
tree5455c66e710cf34ad5c795f560883ac44fc864d6 /kipi-plugins/timeadjust
parenta70b2efe3c22251c43a20d6e0eb3934ca523db80 (diff)
downloadkipi-plugins-650c190e4a29a2a17fd46b32ce78b956b9816215.tar.gz
kipi-plugins-650c190e4a29a2a17fd46b32ce78b956b9816215.zip
Rename a number of old tq methods that are no longer tq specific
Diffstat (limited to 'kipi-plugins/timeadjust')
-rw-r--r--kipi-plugins/timeadjust/timeadjustdialog.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/kipi-plugins/timeadjust/timeadjustdialog.cpp b/kipi-plugins/timeadjust/timeadjustdialog.cpp
index b693ee6..e628a6c 100644
--- a/kipi-plugins/timeadjust/timeadjustdialog.cpp
+++ b/kipi-plugins/timeadjust/timeadjustdialog.cpp
@@ -32,7 +32,7 @@ extern "C"
// TQt includes.
#include <tqtooltip.h>
-#include <tqlayout.h>
+#include <layout.h>
#include <tqlabel.h>
#include <tqvbuttongroup.h>
#include <tqvgroupbox.h>
@@ -252,7 +252,7 @@ TimeAdjustDialog::TimeAdjustDialog(KIPI::Interface* interface, TQWidget* parent)
d->infoLabel = new TQLabel(d->exampleBox);
d->exampleAdj = new TQLabel(d->exampleBox);
- d->exampleAdj->tqsetAlignment(TQt::AlignCenter);
+ d->exampleAdj->setAlignment(TQt::AlignCenter);
vlay->addStretch();
@@ -301,7 +301,7 @@ void TimeAdjustDialog::slotHelp()
void TimeAdjustDialog::slotResetDateToCurrent()
{
- d->dateCreatedSel->setDateTime(TQDateTime::tqcurrentDateTime());
+ d->dateCreatedSel->setDateTime(TQDateTime::currentDateTime());
}
void TimeAdjustDialog::closeEvent(TQCloseEvent *e)
@@ -328,7 +328,7 @@ void TimeAdjustDialog::readSettings()
if (adjType == 2) d->exif->setChecked(true);
if (adjType == 3) d->custom->setChecked(true);
- TQDateTime current = TQDateTime::tqcurrentDateTime();
+ TQDateTime current = TQDateTime::currentDateTime();
d->dateCreatedSel->setDateTime(config.readDateTimeEntry("Custom Date", &current));
d->syncEXIFDateCheck->setChecked(config.readBoolEntry("Sync EXIF Date", true));
@@ -403,7 +403,7 @@ void TimeAdjustDialog::slotUpdateExample()
TQString newDate = date.toString(Qt::LocalDate);
d->exampleAdj->setText(i18n("<b>%1</b><br>would, for example, "
"change into<br><b>%2</b>")
- .tqarg(oldDate).tqarg(newDate));
+ .arg(oldDate).arg(newDate));
}
void TimeAdjustDialog::slotAdjustmentTypeChanged()