diff --git a/conduits/sysinfoconduit/sysinfo-conduit.cpp b/conduits/sysinfoconduit/sysinfo-conduit.cpp index 08c0f14..68511b7 100644 --- a/conduits/sysinfoconduit/sysinfo-conduit.cpp +++ b/conduits/sysinfoconduit/sysinfo-conduit.cpp @@ -379,10 +379,10 @@ void SysInfoConduit::syncInfo() time_t lastsync = user.getLastSyncDate(); TQDateTime qlastsync; qlastsync.setTime_t(lastsync); - fValues[CSL1("lastsync")] = qlastsync.toString(Qt::LocalDate); + fValues[CSL1("lastsync")] = qlastsync.toString(TQt::LocalDate); lastsync = user.getLastSuccessfulSyncDate(); qlastsync.setTime_t(lastsync); - fValues[CSL1("lastsuccsync")] = qlastsync.toString(Qt::LocalDate); + fValues[CSL1("lastsuccsync")] = qlastsync.toString(TQt::LocalDate); fValues[CSL1("lastsyncpc")] = TQString::number(user.getLastSyncPC()); keepParts.append(CSL1("sync")); } else removeParts.append(CSL1("sync")); @@ -470,7 +470,7 @@ void SysInfoConduit::writeFile() { FUNCTIONSETUP; - fValues[CSL1("date")] = TQDateTime::currentDateTime().toString(Qt::LocalDate); + fValues[CSL1("date")] = TQDateTime::currentDateTime().toString(TQt::LocalDate); TQString output; // Open the template file @@ -563,11 +563,11 @@ void SysInfoConduit::writeFile() newpatt.replace(CSL1("%6"), TQString::number(dbi.version)); TQDateTime tm; tm.setTime_t(dbi.createDate); - newpatt.replace(CSL1("%7"), tm.toString(Qt::LocalDate)); + newpatt.replace(CSL1("%7"), tm.toString(TQt::LocalDate)); tm.setTime_t(dbi.modifyDate); - newpatt.replace(CSL1("%8"), tm.toString(Qt::LocalDate)); + newpatt.replace(CSL1("%8"), tm.toString(TQt::LocalDate)); tm.setTime_t(dbi.backupDate); - newpatt.replace(CSL1("%9"), tm.toString(Qt::LocalDate)); + newpatt.replace(CSL1("%9"), tm.toString(TQt::LocalDate)); dbstring.append(newpatt); } diff --git a/kpilot/dbRecordEditor.cpp b/kpilot/dbRecordEditor.cpp index 6726f03..a6cc54e 100644 --- a/kpilot/dbRecordEditor.cpp +++ b/kpilot/dbRecordEditor.cpp @@ -140,7 +140,7 @@ void DBRecordEditor::initWidgets() fFlagsGroup = new TQButtonGroup( fWidget, "fFlagsGroup" ); fFlagsGroup->setSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)5, (TQSizePolicy::SizeType)4, 0, 0, fFlagsGroup->sizePolicy().hasHeightForWidth() ) ); - fFlagsGroup->setColumnLayout(0, Qt::Vertical ); + fFlagsGroup->setColumnLayout(0, TQt::Vertical ); fFlagsGroup->layout()->setSpacing( 6 ); fFlagsGroup->layout()->setMargin( 11 ); fFlagsGroupLayout = new TQGridLayout( fFlagsGroup->layout() ); diff --git a/kpilot/fileInstallWidget.cpp b/kpilot/fileInstallWidget.cpp index 467393d..9685100 100644 --- a/kpilot/fileInstallWidget.cpp +++ b/kpilot/fileInstallWidget.cpp @@ -272,7 +272,7 @@ void FileInstallWidget::contextMenu(TQMouseEvent *event) { FUNCTIONSETUP; - if(event->button() == Qt::LeftButton) + if(event->button() == TQt::LeftButton) return; TQIconViewItem *item; diff --git a/kpilot/kpilotProbeDialog.cpp b/kpilot/kpilotProbeDialog.cpp index da495a4..97960ea 100644 --- a/kpilot/kpilotProbeDialog.cpp +++ b/kpilot/kpilotProbeDialog.cpp @@ -98,7 +98,7 @@ ProbeDialog::ProbeDialog(TQWidget *parent, const char *n) : fInfoText->setAlignment( TQLabel::WordBreak ); fStatusGroup = new TQGroupBox( i18n("Status"), mainWidget, "fStatusGroup" ); - fStatusGroup->setColumnLayout(0, Qt::Vertical ); + fStatusGroup->setColumnLayout(0, TQt::Vertical ); fStatusGroupLayout = new TQGridLayout( fStatusGroup->layout() ); fStatus = new TQLabel( i18n("Autodetection not yet started..."), fStatusGroup, "fStatus" ); @@ -112,7 +112,7 @@ ProbeDialog::ProbeDialog(TQWidget *parent, const char *n) : fResultsGroup = new TQGroupBox( i18n( "Detected Values" ), mainWidget, "fResultsGroup" ); fResultsGroup->setEnabled( FALSE ); - fResultsGroup->setColumnLayout(0, Qt::Vertical ); + fResultsGroup->setColumnLayout(0, TQt::Vertical ); fResultsGroupLayout = new TQGridLayout( fResultsGroup->layout() ); fResultsGroupLayout->setAlignment( TQt::AlignTop ); diff --git a/kpilot/pilotDaemon.cpp b/kpilot/pilotDaemon.cpp index cc1a61c..32d854a 100644 --- a/kpilot/pilotDaemon.cpp +++ b/kpilot/pilotDaemon.cpp @@ -119,14 +119,14 @@ PilotDaemonTray::PilotDaemonTray(PilotDaemon * p) : switch (e->button()) { - case Qt::RightButton: + case TQt::RightButton: { TDEPopupMenu *menu = contextMenu(); contextMenuAboutToShow(menu); menu->popup(e->globalPos()); } break; - case Qt::LeftButton: + case TQt::LeftButton: if (daemon) daemon->slotRunKPilot(); break; default: diff --git a/lib/pilotDateEntry.cpp b/lib/pilotDateEntry.cpp index 58da804..18897d3 100644 --- a/lib/pilotDateEntry.cpp +++ b/lib/pilotDateEntry.cpp @@ -174,7 +174,7 @@ TQString PilotDateEntry::getTextRepresentation(TQt::TextFormat richText) text += ps; TQDateTime dt(readTm(getEventStart())); - TQString startDate(dt.toString(Qt::LocalDate)); + TQString startDate(dt.toString(TQt::LocalDate)); text+=par; text+=i18n("Start date: %1").arg(startDate); text+=ps; @@ -188,7 +188,7 @@ TQString PilotDateEntry::getTextRepresentation(TQt::TextFormat richText) else { dt=readTm(getEventEnd()); - TQString endDate(dt.toString(Qt::LocalDate)); + TQString endDate(dt.toString(TQt::LocalDate)); text+=par; text+=i18n("End date: %1").arg(endDate); text+=ps; @@ -237,7 +237,7 @@ TQString PilotDateEntry::getTextRepresentation(TQt::TextFormat richText) else { dt = readTm(getRepeatEnd()).date(); - text+=i18n("Until %1").arg(dt.toString(Qt::LocalDate)); + text+=i18n("Until %1").arg(dt.toString(TQt::LocalDate)); } text+=br; @@ -264,7 +264,7 @@ TQString PilotDateEntry::getTextRepresentation(TQt::TextFormat richText) for (int i = 0; i < getExceptionCount(); i++) { TQDate exdt=readTm(getExceptions()[i]).date(); - text+=exdt.toString(Qt::LocalDate); + text+=exdt.toString(TQt::LocalDate); text+=br; } text+=ps; diff --git a/lib/pilotTodoEntry.cpp b/lib/pilotTodoEntry.cpp index 9d52ed8..9e396af 100644 --- a/lib/pilotTodoEntry.cpp +++ b/lib/pilotTodoEntry.cpp @@ -138,7 +138,7 @@ TQString PilotTodoEntry::getTextRepresentation(TQt::TextFormat richText) if (!getIndefinite()) { TQDate dt(readTm(getDueDate()).date()); - TQString dueDate(dt.toString(Qt::LocalDate)); + TQString dueDate(dt.toString(TQt::LocalDate)); text+=par; text+=i18n("Due date: %1").arg(dueDate); text+=ps;