summaryrefslogtreecommitdiffstats
path: root/kfile-plugins/pdf
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-08-02 19:23:46 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-08-02 19:23:46 +0000
commiteba47f8f0637f451e21348187591e1f1fd58ac74 (patch)
tree448f10b95c656604acc331a3236c1e59bde5c1ad /kfile-plugins/pdf
parentc7e8736c69373f48b0401319757c742e8607431a (diff)
downloadtdegraphics-eba47f8f0637f451e21348187591e1f1fd58ac74.tar.gz
tdegraphics-eba47f8f0637f451e21348187591e1f1fd58ac74.zip
TQt conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdegraphics@1158446 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kfile-plugins/pdf')
-rw-r--r--kfile-plugins/pdf/kfile_pdf.cpp30
-rw-r--r--kfile-plugins/pdf/kfile_pdf.h4
2 files changed, 17 insertions, 17 deletions
diff --git a/kfile-plugins/pdf/kfile_pdf.cpp b/kfile-plugins/pdf/kfile_pdf.cpp
index d5beeb60..a3dcbde7 100644
--- a/kfile-plugins/pdf/kfile_pdf.cpp
+++ b/kfile-plugins/pdf/kfile_pdf.cpp
@@ -27,7 +27,7 @@ typedef KGenericFactory<KPdfPlugin> PdfFactory;
K_EXPORT_COMPONENT_FACTORY(kfile_pdf, PdfFactory("kfile_pdf"))
-KPdfPlugin::KPdfPlugin(QObject *parent, const char *name, const QStringList &preferredItems)
+KPdfPlugin::KPdfPlugin(TQObject *parent, const char *name, const TQStringList &preferredItems)
: KFilePlugin(parent, name, preferredItems)
{
kdDebug(7034) << "pdf plugin\n";
@@ -40,21 +40,21 @@ KPdfPlugin::KPdfPlugin(QObject *parent, const char *name, const QStringList &pre
KFileMimeTypeInfo::ItemInfo* item;
- item = addItemInfo(group, "Title", i18n("Title"), QVariant::String);
+ item = addItemInfo(group, "Title", i18n("Title"), TQVariant::String);
setHint(item, KFileMimeTypeInfo::Name);
- item = addItemInfo(group, "Subject", i18n("Subject"), QVariant::String);
+ item = addItemInfo(group, "Subject", i18n("Subject"), TQVariant::String);
setHint(item, KFileMimeTypeInfo::Description);
- item = addItemInfo(group, "Author", i18n("Author"), QVariant::String);
+ item = addItemInfo(group, "Author", i18n("Author"), TQVariant::String);
setHint(item, KFileMimeTypeInfo::Author);
- addItemInfo(group, "Keywords", i18n("Key Words"), QVariant::String);
- addItemInfo(group, "Creator", i18n("Creator"), QVariant::String);
- addItemInfo(group, "Producer", i18n("Producer"), QVariant::String);
- addItemInfo(group, "CreationDate", i18n("Creation Date"), QVariant::DateTime);
- addItemInfo(group, "ModificationDate", i18n("Modified"), QVariant::DateTime);
- addItemInfo(group, "Pages", i18n("Pages"), QVariant::Int);
- addItemInfo(group, "Protected", i18n("Protected"), QVariant::String);
- addItemInfo(group, "Linearized", i18n("Linearized"), QVariant::String);
- addItemInfo(group, "Version", i18n("Version"), QVariant::String);
+ addItemInfo(group, "Keywords", i18n("Key Words"), TQVariant::String);
+ addItemInfo(group, "Creator", i18n("Creator"), TQVariant::String);
+ addItemInfo(group, "Producer", i18n("Producer"), TQVariant::String);
+ addItemInfo(group, "CreationDate", i18n("Creation Date"), TQVariant::DateTime);
+ addItemInfo(group, "ModificationDate", i18n("Modified"), TQVariant::DateTime);
+ addItemInfo(group, "Pages", i18n("Pages"), TQVariant::Int);
+ addItemInfo(group, "Protected", i18n("Protected"), TQVariant::String);
+ addItemInfo(group, "Linearized", i18n("Linearized"), TQVariant::String);
+ addItemInfo(group, "Version", i18n("Version"), TQVariant::String);
}
bool KPdfPlugin::readInfo( KFileMetaInfo& info, uint /* what */)
@@ -79,7 +79,7 @@ bool KPdfPlugin::readInfo( KFileMetaInfo& info, uint /* what */)
appendItem(generalGroup, "ModificationDate", doc->getDate("ModDate") );
appendItem(generalGroup, "Pages", doc->getNumPages() );
- QString enc;
+ TQString enc;
if (doc->isEncrypted())
{
enc = i18n("Yes (Can Print:%1 Can Copy:%2 Can Change:%3 Can Add notes:%4)")
@@ -92,7 +92,7 @@ bool KPdfPlugin::readInfo( KFileMetaInfo& info, uint /* what */)
appendItem(generalGroup, "Protected", enc );
appendItem(generalGroup, "Linearized", doc->isLinearized() ? i18n("Yes") : i18n("No") );
- QString versionString = QString("%1").arg( doc->getPDFVersion(), 0, 'f', 1 );
+ TQString versionString = TQString("%1").arg( doc->getPDFVersion(), 0, 'f', 1 );
appendItem(generalGroup, "Version", versionString );
delete doc;
diff --git a/kfile-plugins/pdf/kfile_pdf.h b/kfile-plugins/pdf/kfile_pdf.h
index b0214f54..eaecdb5d 100644
--- a/kfile-plugins/pdf/kfile_pdf.h
+++ b/kfile-plugins/pdf/kfile_pdf.h
@@ -24,13 +24,13 @@
#include <kfilemetainfo.h>
#include <poppler-qt.h>
-class QStringList;
+class TQStringList;
class KPdfPlugin: public KFilePlugin
{
Q_OBJECT
public:
- KPdfPlugin( QObject *parent, const char *name, const QStringList& preferredItems );
+ KPdfPlugin( TQObject *parent, const char *name, const TQStringList& preferredItems );
virtual bool readInfo(KFileMetaInfo& info, uint what);
};