summaryrefslogtreecommitdiffstats
path: root/kfile-plugins
diff options
context:
space:
mode:
Diffstat (limited to 'kfile-plugins')
-rw-r--r--kfile-plugins/dependencies/poppler-tqt/poppler-document.cc2
-rw-r--r--kfile-plugins/dependencies/poppler-tqt/poppler-page-transition.cc2
-rw-r--r--kfile-plugins/dependencies/poppler-tqt/poppler-page-transition.h4
-rw-r--r--kfile-plugins/dependencies/poppler-tqt/poppler-private.cc18
-rw-r--r--kfile-plugins/dependencies/poppler-tqt/poppler-private.h2
-rw-r--r--kfile-plugins/exr/kfile_exr.cpp14
-rw-r--r--kfile-plugins/gif/gif-info.12
-rw-r--r--kfile-plugins/jpeg/exif.cpp12
-rw-r--r--kfile-plugins/jpeg/kfile_jpeg.cpp2
-rw-r--r--kfile-plugins/pdf/kfile_pdf.cpp10
-rw-r--r--kfile-plugins/pnm/kfile_pnm.cpp2
-rw-r--r--kfile-plugins/ps/gscreator.cpp2
-rw-r--r--kfile-plugins/rgb/kfile_rgb.cpp4
13 files changed, 38 insertions, 38 deletions
diff --git a/kfile-plugins/dependencies/poppler-tqt/poppler-document.cc b/kfile-plugins/dependencies/poppler-tqt/poppler-document.cc
index a13fd99a..5fe6ea28 100644
--- a/kfile-plugins/dependencies/poppler-tqt/poppler-document.cc
+++ b/kfile-plugins/dependencies/poppler-tqt/poppler-document.cc
@@ -190,7 +190,7 @@ TQString Document::getInfo( const TQString & type ) const
u = s1->getChar(i) & 0xff;
++i;
}
- result += unicodeToTQString( &u, 1 );
+ result += tqunicodeToTQString( &u, 1 );
}
obj.free();
info.free();
diff --git a/kfile-plugins/dependencies/poppler-tqt/poppler-page-transition.cc b/kfile-plugins/dependencies/poppler-tqt/poppler-page-transition.cc
index cde8818d..9998f738 100644
--- a/kfile-plugins/dependencies/poppler-tqt/poppler-page-transition.cc
+++ b/kfile-plugins/dependencies/poppler-tqt/poppler-page-transition.cc
@@ -68,7 +68,7 @@ int PageTransition::duration() const
return data->pt->getDuration();
}
-PageTransition::Alignment PageTransition::alignment() const
+PageTransition::Alignment PageTransition::tqalignment() const
{
return (Poppler::PageTransition::Alignment)data->pt->getAlignment();
}
diff --git a/kfile-plugins/dependencies/poppler-tqt/poppler-page-transition.h b/kfile-plugins/dependencies/poppler-tqt/poppler-page-transition.h
index 53002ff9..f33a014c 100644
--- a/kfile-plugins/dependencies/poppler-tqt/poppler-page-transition.h
+++ b/kfile-plugins/dependencies/poppler-tqt/poppler-page-transition.h
@@ -60,7 +60,7 @@ class PageTransition {
Fade
};
- /** \brief alignment of the transition effect that shall be used
+ /** \brief tqalignment of the transition effect that shall be used
*/
// if changed remember to keep in sync with PageTransition.h enum
enum Alignment {
@@ -114,7 +114,7 @@ class PageTransition {
/**
\brief Get dimension in which the transition effect occurs.
*/
- Alignment alignment() const;
+ Alignment tqalignment() const;
/**
\brief Get direction of motion of the transition effect.
diff --git a/kfile-plugins/dependencies/poppler-tqt/poppler-private.cc b/kfile-plugins/dependencies/poppler-tqt/poppler-private.cc
index 7e366014..445417a2 100644
--- a/kfile-plugins/dependencies/poppler-tqt/poppler-private.cc
+++ b/kfile-plugins/dependencies/poppler-tqt/poppler-private.cc
@@ -31,11 +31,11 @@
namespace Poppler {
/* borrowed from kpdf */
-TQString unicodeToTQString(Unicode* u, int len)
+TQString tqunicodeToTQString(Unicode* u, int len)
{
TQString ret;
ret.setLength(len);
- TQChar* qch = (TQChar*) ret.unicode();
+ TQChar* qch = (TQChar*) ret.tqunicode();
for (;len;--len)
*qch++ = (TQChar) *u++;
return ret;
@@ -69,7 +69,7 @@ TQString UnicodeParsedString(GooString *s1)
u = s1->getChar(i) & 0xff;
++i;
}
- result += unicodeToTQString( &u, 1 );
+ result += tqunicodeToTQString( &u, 1 );
}
return result;
}
@@ -79,7 +79,7 @@ GooString *TQStringToGooString(const TQString &s)
int len = s.length();
char *cstring = (char *)gmallocn(s.length(), sizeof(char));
for (int i = 0; i < len; ++i)
- cstring[i] = s.at(i).unicode();
+ cstring[i] = s.tqat(i).tqunicode();
GooString *ret = new GooString(cstring, len);
gfree(cstring);
return ret;
@@ -98,7 +98,7 @@ void DocumentData::addTocChildren( TQDomDocument * docSyn, TQDomNode * parent, G
TQString name;
Unicode * uniChar = outlineItem->getTitle();
int titleLength = outlineItem->getTitleLength();
- name = unicodeToTQString(uniChar, titleLength);
+ name = tqunicodeToTQString(uniChar, titleLength);
if ( name.isEmpty() )
continue;
@@ -136,11 +136,11 @@ void DocumentData::addTocChildren( TQDomDocument * docSyn, TQDomNode * parent, G
}
}
- // 3. recursively descend over children
+ // 3. recursively descend over tqchildren
outlineItem->open();
- GooList * children = outlineItem->getKids();
- if ( children )
- addTocChildren( docSyn, &item, children );
+ GooList * tqchildren = outlineItem->getKids();
+ if ( tqchildren )
+ addTocChildren( docSyn, &item, tqchildren );
}
}
diff --git a/kfile-plugins/dependencies/poppler-tqt/poppler-private.h b/kfile-plugins/dependencies/poppler-tqt/poppler-private.h
index 9e9e3292..8152ffd8 100644
--- a/kfile-plugins/dependencies/poppler-tqt/poppler-private.h
+++ b/kfile-plugins/dependencies/poppler-tqt/poppler-private.h
@@ -39,7 +39,7 @@ namespace Poppler {
class DocumentData;
-TQString unicodeToTQString(Unicode* u, int len);
+TQString tqunicodeToTQString(Unicode* u, int len);
TQString UnicodeParsedString(GooString *s1);
diff --git a/kfile-plugins/exr/kfile_exr.cpp b/kfile-plugins/exr/kfile_exr.cpp
index 639ac0df..0a85a728 100644
--- a/kfile-plugins/exr/kfile_exr.cpp
+++ b/kfile-plugins/exr/kfile_exr.cpp
@@ -237,10 +237,10 @@ bool KExrPlugin::readInfo( KFileMetaInfo& info, uint what)
#endif
TQString UTCOffset;
if (utcOffset(h)>0.0) {
- UTCOffset.append(TQString("%1").arg(utcOffset(h)/3600, 0, 'f', 1));
+ UTCOffset.append(TQString("%1").tqarg(utcOffset(h)/3600, 0, 'f', 1));
UTCOffset.append(" hours behind UTC");
} else {
- UTCOffset.append(TQString("%1").arg(-1.0*utcOffset(h)/3600, 0, 'f', 1));
+ UTCOffset.append(TQString("%1").tqarg(-1.0*utcOffset(h)/3600, 0, 'f', 1));
UTCOffset.append(" hours ahead of UTC");
}
appendItem( stdgroup, "UTC Offset", UTCOffset);
@@ -264,10 +264,10 @@ bool KExrPlugin::readInfo( KFileMetaInfo& info, uint what)
if ( hasLongitude(h) ) {
TQString Longitude;
if (longitude(h)<0.0) {
- Longitude.append(TQString("%1").arg(-1.0*longitude(h),0,'f',3));
+ Longitude.append(TQString("%1").tqarg(-1.0*longitude(h),0,'f',3));
Longitude.append(" deg West");
} else {
- Longitude.append(TQString("%1").arg(longitude(h),0,'f',3));
+ Longitude.append(TQString("%1").tqarg(longitude(h),0,'f',3));
Longitude.append(" deg East");
}
appendItem( stdgroup, "Longitude", Longitude);
@@ -275,17 +275,17 @@ bool KExrPlugin::readInfo( KFileMetaInfo& info, uint what)
if ( hasLatitude(h) ) {
TQString Latitude;
if (latitude(h)<0.0) {
- Latitude.append(TQString("%1").arg(-1.0*latitude(h),0,'f',3));
+ Latitude.append(TQString("%1").tqarg(-1.0*latitude(h),0,'f',3));
Latitude.append(" deg South");
} else {
- Latitude.append(TQString("%1").arg(latitude(h),0,'f',3));
+ Latitude.append(TQString("%1").tqarg(latitude(h),0,'f',3));
Latitude.append(" deg North");
}
appendItem( stdgroup, "Latitude", Latitude );
}
if ( hasAltitude(h) ) {
double Altitude = altitude(h);
- appendItem( stdgroup, "Altitude", TQString("%1").arg(Altitude,0,'f',1) );
+ appendItem( stdgroup, "Altitude", TQString("%1").tqarg(Altitude,0,'f',1) );
}
if ( hasIsoSpeed(h) ) {
double IsoSpeed = isoSpeed(h);
diff --git a/kfile-plugins/gif/gif-info.1 b/kfile-plugins/gif/gif-info.1
index 6c36b1c4..f5397472 100644
--- a/kfile-plugins/gif/gif-info.1
+++ b/kfile-plugins/gif/gif-info.1
@@ -15,7 +15,7 @@ displays information about the given gif (Graphic Interchange Format) image. If
.PP
Write a empty comment ('') to delete the comment block.
.PP
-The GIF standard allows any number of 256 byte comment blocks in an image file, but most implementations (including this one) restrict you to just one block. The GIF standard restricts comment blocks to "7 Bit ASCII", but this is widely ignored. You are welcome to store text in your own native language, and are especially encouraged to use comments in utf-8 unicode format.
+The GIF standard allows any number of 256 byte comment blocks in an image file, but most implementations (including this one) restrict you to just one block. The GIF standard restricts comment blocks to "7 Bit ASCII", but this is widely ignored. You are welcome to store text in your own native language, and are especially encouraged to use comments in utf-8 tqunicode format.
.SH "SEE ALSO"
.BR wrjpgcom (1)
diff --git a/kfile-plugins/jpeg/exif.cpp b/kfile-plugins/jpeg/exif.cpp
index f4803705..6c621477 100644
--- a/kfile-plugins/jpeg/exif.cpp
+++ b/kfile-plugins/jpeg/exif.cpp
@@ -525,11 +525,11 @@ void ExifData::ProcessExifDir(unsigned char * DirStart, unsigned char * OffsetBa
switch(Tag){
case TAG_MAKE:
- ExifData::CameraMake = TQString::fromLatin1((const char*)ValuePtr, 31);
+ ExifData::CameraMake = TQString::tqfromLatin1((const char*)ValuePtr, 31);
break;
case TAG_MODEL:
- ExifData::CameraModel = TQString::fromLatin1((const char*)ValuePtr, 39);
+ ExifData::CameraModel = TQString::tqfromLatin1((const char*)ValuePtr, 39);
break;
case TAG_ORIENTATION:
@@ -537,7 +537,7 @@ void ExifData::ProcessExifDir(unsigned char * DirStart, unsigned char * OffsetBa
break;
case TAG_DATETIME_ORIGINAL:
- DateTime = TQString::fromLatin1((const char*)ValuePtr, 19);
+ DateTime = TQString::tqfromLatin1((const char*)ValuePtr, 19);
break;
case TAG_USERCOMMENT:
@@ -558,12 +558,12 @@ void ExifData::ProcessExifDir(unsigned char * DirStart, unsigned char * OffsetBa
int c;
c = (ValuePtr)[a];
if (c != '\0' && c != ' '){
- UserComment = TQString::fromLatin1((const char*)(a+ValuePtr), 199);
+ UserComment = TQString::tqfromLatin1((const char*)(a+ValuePtr), 199);
break;
}
}
}else{
- UserComment = TQString::fromLatin1((const char*)ValuePtr, 199);
+ UserComment = TQString::tqfromLatin1((const char*)ValuePtr, 199);
}
break;
@@ -803,7 +803,7 @@ void ExifData::process_EXIF(unsigned char * CharBuf, unsigned int length)
// printf("Exif section in Motorola order\n");
MotorolaOrder = 1;
}else{
- throw FatalError("Invalid Exif alignment marker.");
+ throw FatalError("Invalid Exif tqalignment marker.");
}
}
diff --git a/kfile-plugins/jpeg/kfile_jpeg.cpp b/kfile-plugins/jpeg/kfile_jpeg.cpp
index 6f187c8e..5bbd394d 100644
--- a/kfile-plugins/jpeg/kfile_jpeg.cpp
+++ b/kfile-plugins/jpeg/kfile_jpeg.cpp
@@ -178,7 +178,7 @@ bool KJpegPlugin::writeInfo( const KFileMetaInfo& info ) const
*/
/*
The jpeg standard does not regulate the contents of the COM block.
- I'm assuming the best thing to do here is write as unicode utf-8,
+ I'm assuming the best thing to do here is write as tqunicode utf-8,
which is fully backwards compatible with readers expecting ascii.
Readers expecting a national character set are out of luck...
*/
diff --git a/kfile-plugins/pdf/kfile_pdf.cpp b/kfile-plugins/pdf/kfile_pdf.cpp
index a3dcbde7..89e46297 100644
--- a/kfile-plugins/pdf/kfile_pdf.cpp
+++ b/kfile-plugins/pdf/kfile_pdf.cpp
@@ -83,16 +83,16 @@ bool KPdfPlugin::readInfo( KFileMetaInfo& info, uint /* what */)
if (doc->isEncrypted())
{
enc = i18n("Yes (Can Print:%1 Can Copy:%2 Can Change:%3 Can Add notes:%4)")
- .arg(doc->okToPrint() ? i18n("Yes") : i18n("No"))
- .arg(doc->okToCopy() ? i18n("Yes") : i18n("No"))
- .arg(doc->okToChange() ? i18n("Yes") : i18n("No"))
- .arg(doc->okToAddNotes() ? i18n("Yes") : i18n("No"));
+ .tqarg(doc->okToPrint() ? i18n("Yes") : i18n("No"))
+ .tqarg(doc->okToCopy() ? i18n("Yes") : i18n("No"))
+ .tqarg(doc->okToChange() ? i18n("Yes") : i18n("No"))
+ .tqarg(doc->okToAddNotes() ? i18n("Yes") : i18n("No"));
}
else enc = i18n("No");
appendItem(generalGroup, "Protected", enc );
appendItem(generalGroup, "Linearized", doc->isLinearized() ? i18n("Yes") : i18n("No") );
- TQString versionString = TQString("%1").arg( doc->getPDFVersion(), 0, 'f', 1 );
+ TQString versionString = TQString("%1").tqarg( doc->getPDFVersion(), 0, 'f', 1 );
appendItem(generalGroup, "Version", versionString );
delete doc;
diff --git a/kfile-plugins/pnm/kfile_pnm.cpp b/kfile-plugins/pnm/kfile_pnm.cpp
index 6818626e..6c965e65 100644
--- a/kfile-plugins/pnm/kfile_pnm.cpp
+++ b/kfile-plugins/pnm/kfile_pnm.cpp
@@ -22,7 +22,7 @@
#include <math.h>
#include <kgenericfactory.h>
#include <tqfile.h>
-#include <textstream.h>
+#include <tqtextstream.h>
static const char* formats[] = {
I18N_NOOP("plain"),
diff --git a/kfile-plugins/ps/gscreator.cpp b/kfile-plugins/ps/gscreator.cpp
index c664947b..cc4edcfc 100644
--- a/kfile-plugins/ps/gscreator.cpp
+++ b/kfile-plugins/ps/gscreator.cpp
@@ -521,7 +521,7 @@ bool GSCreator::getEPSIPreview(const TQString &path, long start, long
return false;
}
- TQString previewstr = TQString::fromLatin1(buf);
+ TQString previewstr = TQString::tqfromLatin1(buf);
free(buf);
int offset = 0;
diff --git a/kfile-plugins/rgb/kfile_rgb.cpp b/kfile-plugins/rgb/kfile_rgb.cpp
index ffcad0b5..41bd8c28 100644
--- a/kfile-plugins/rgb/kfile_rgb.cpp
+++ b/kfile-plugins/rgb/kfile_rgb.cpp
@@ -134,7 +134,7 @@ bool KRgbPlugin::readInfo(KFileMetaInfo& info, uint /*what*/)
long compressed = file.size() - 512;
long verbatim = xsize * ysize * zsize;
appendItem(group, "Compression", i18n("Runlength Encoded")
- + TQString(", %1%").arg(compressed * 100.0 / verbatim, 0, 'f', 1));
+ + TQString(", %1%").tqarg(compressed * 100.0 / verbatim, 0, 'f', 1));
long k;
TQ_UINT32 offs;
@@ -152,7 +152,7 @@ bool KRgbPlugin::readInfo(KFileMetaInfo& info, uint /*what*/)
k += it.data();
if (k)
- appendItem(group, "SharedRows", TQString("%1%").arg(k * 100.0
+ appendItem(group, "SharedRows", TQString("%1%").tqarg(k * 100.0
/ (ysize * zsize), 0, 'f', 1));
else
appendItem(group, "SharedRows", i18n("None"));