summaryrefslogtreecommitdiffstats
path: root/kfile-plugins/palm-databases/kfile_palm.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kfile-plugins/palm-databases/kfile_palm.cpp')
-rw-r--r--kfile-plugins/palm-databases/kfile_palm.cpp40
1 files changed, 20 insertions, 20 deletions
diff --git a/kfile-plugins/palm-databases/kfile_palm.cpp b/kfile-plugins/palm-databases/kfile_palm.cpp
index 3b6c13c3e..c38650766 100644
--- a/kfile-plugins/palm-databases/kfile_palm.cpp
+++ b/kfile-plugins/palm-databases/kfile_palm.cpp
@@ -24,8 +24,8 @@
#include <klocale.h>
#include <kgenericfactory.h>
-#include <qfile.h>
-#include <qdatetime.h>
+#include <tqfile.h>
+#include <tqdatetime.h>
#include <pi-file.h>
@@ -33,8 +33,8 @@ typedef KGenericFactory<KPalmPlugin> PalmFactory;
K_EXPORT_COMPONENT_FACTORY(kfile_palm, PalmFactory( "kfile_palm" ))
-KPalmPlugin::KPalmPlugin(QObject *parent, const char *name,
- const QStringList &args)
+KPalmPlugin::KPalmPlugin(TQObject *parent, const char *name,
+ const TQStringList &args)
: KFilePlugin(parent, name, args)
{
@@ -44,31 +44,31 @@ KPalmPlugin::KPalmPlugin(QObject *parent, const char *name,
KFileMimeTypeInfo::ItemInfo* item;
group = addGroupInfo(info, "General", i18n("General Information"));
- item = addItemInfo(group, "Name", i18n("Name"), QVariant::String);
- item = addItemInfo(group, "DBType", i18n("DB Type"), QVariant::String);
- item = addItemInfo(group, "TypeID", i18n("Type ID"), QVariant::String);
- item = addItemInfo(group, "CreatorID", i18n("Creator ID"), QVariant::String);
- item = addItemInfo(group, "NrRecords", i18n("# of Records"), QVariant::Int);
+ item = addItemInfo(group, "Name", i18n("Name"), TQVariant::String);
+ item = addItemInfo(group, "DBType", i18n("DB Type"), TQVariant::String);
+ item = addItemInfo(group, "TypeID", i18n("Type ID"), TQVariant::String);
+ item = addItemInfo(group, "CreatorID", i18n("Creator ID"), TQVariant::String);
+ item = addItemInfo(group, "NrRecords", i18n("# of Records"), TQVariant::Int);
group = addGroupInfo(info, "TimeStamps", i18n("Time Stamps"));
- item = addItemInfo(group, "CreationDate", i18n("Creation Date"), QVariant::DateTime);
- item = addItemInfo(group, "ModificationDate", i18n("Modification Date"), QVariant::DateTime);
- item = addItemInfo(group, "BackupDate", i18n("Backup Date"), QVariant::DateTime);
+ item = addItemInfo(group, "CreationDate", i18n("Creation Date"), TQVariant::DateTime);
+ item = addItemInfo(group, "ModificationDate", i18n("Modification Date"), TQVariant::DateTime);
+ item = addItemInfo(group, "BackupDate", i18n("Backup Date"), TQVariant::DateTime);
group = addGroupInfo(info, "Flags", i18n("Flags"));
- item = addItemInfo(group, "ReadOnly", i18n("Read-Only"), QVariant::String);
- item = addItemInfo(group, "MakeBackup", i18n("Make Backup"), QVariant::String);
- item = addItemInfo(group, "CopyProtected", i18n("Copy Protected"), QVariant::String);
- item = addItemInfo(group, "Reset", i18n("Reset Handheld After Installing"), QVariant::String);
- item = addItemInfo(group, "ExcludeFromSync", i18n("Exclude From Sync"), QVariant::String);
+ item = addItemInfo(group, "ReadOnly", i18n("Read-Only"), TQVariant::String);
+ item = addItemInfo(group, "MakeBackup", i18n("Make Backup"), TQVariant::String);
+ item = addItemInfo(group, "CopyProtected", i18n("Copy Protected"), TQVariant::String);
+ item = addItemInfo(group, "Reset", i18n("Reset Handheld After Installing"), TQVariant::String);
+ item = addItemInfo(group, "ExcludeFromSync", i18n("Exclude From Sync"), TQVariant::String);
}
bool KPalmPlugin::readInfo( KFileMetaInfo& info, uint /*what*/ )
{
int nrRec;
- QString tempName = info.path();
- QCString fileName = QFile::encodeName(tempName);
+ TQString tempName = info.path();
+ TQCString fileName = TQFile::encodeName(tempName);
pi_file *dbFile = pi_file_open(const_cast < char *>((const char *) fileName));
if (dbFile == 0L) return false;
@@ -93,7 +93,7 @@ bool KPalmPlugin::readInfo( KFileMetaInfo& info, uint /*what*/ )
KFileMetaInfoGroup timeGroup = appendGroup(info, "TimeStamps");
- QDateTime tm;
+ TQDateTime tm;
tm.setTime_t( dBInfo.createDate );
appendItem(timeGroup, "CreationDate", tm);
tm.setTime_t( dBInfo.modifyDate );