diff options
Diffstat (limited to 'src/translators/filelistingimporter.cpp')
-rw-r--r-- | src/translators/filelistingimporter.cpp | 36 |
1 files changed, 18 insertions, 18 deletions
diff --git a/src/translators/filelistingimporter.cpp b/src/translators/filelistingimporter.cpp index 8f3afe1..f59cc8b 100644 --- a/src/translators/filelistingimporter.cpp +++ b/src/translators/filelistingimporter.cpp @@ -30,7 +30,7 @@ #include <tqcheckbox.h> #include <tqvgroupbox.h> -#include <tqlayout.h> +#include <layout.h> #include <tqwhatsthis.h> #include <tqfile.h> #include <tqfileinfo.h> @@ -80,20 +80,20 @@ Tellico::Data::CollPtr FileListingImporter::collection() { const bool usePreview = m_filePreview->isChecked(); - const TQString title = TQString::tqfromLatin1("title"); - const TQString url = TQString::tqfromLatin1("url"); - const TQString desc = TQString::tqfromLatin1("description"); - const TQString vol = TQString::tqfromLatin1("volume"); - const TQString folder = TQString::tqfromLatin1("folder"); - const TQString type = TQString::tqfromLatin1("mimetype"); - const TQString size = TQString::tqfromLatin1("size"); - const TQString perm = TQString::tqfromLatin1("permissions"); - const TQString owner = TQString::tqfromLatin1("owner"); - const TQString group = TQString::tqfromLatin1("group"); - const TQString created = TQString::tqfromLatin1("created"); - const TQString modified = TQString::tqfromLatin1("modified"); - const TQString metainfo = TQString::tqfromLatin1("metainfo"); - const TQString icon = TQString::tqfromLatin1("icon"); + const TQString title = TQString::fromLatin1("title"); + const TQString url = TQString::fromLatin1("url"); + const TQString desc = TQString::fromLatin1("description"); + const TQString vol = TQString::fromLatin1("volume"); + const TQString folder = TQString::fromLatin1("folder"); + const TQString type = TQString::fromLatin1("mimetype"); + const TQString size = TQString::fromLatin1("size"); + const TQString perm = TQString::fromLatin1("permissions"); + const TQString owner = TQString::fromLatin1("owner"); + const TQString group = TQString::fromLatin1("group"); + const TQString created = TQString::fromLatin1("created"); + const TQString modified = TQString::fromLatin1("modified"); + const TQString metainfo = TQString::fromLatin1("metainfo"); + const TQString icon = TQString::fromLatin1("icon"); m_coll = new Data::FileCatalog(true); TQString tmp; @@ -144,7 +144,7 @@ Tellico::Data::CollPtr FileListingImporter::collection() { } } } - entry->setField(metainfo, strings.join(TQString::tqfromLatin1("; "))); + entry->setField(metainfo, strings.join(TQString::fromLatin1("; "))); } if(!m_cancelled && usePreview) { @@ -158,7 +158,7 @@ Tellico::Data::CollPtr FileListingImporter::collection() { if(!m_pixmap.isNull()) { // is png best option? - TQString id = ImageFactory::addImage(m_pixmap, TQString::tqfromLatin1("PNG")); + TQString id = ImageFactory::addImage(m_pixmap, TQString::fromLatin1("PNG")); if(!id.isEmpty()) { entry->setField(icon, id); } @@ -248,7 +248,7 @@ TQString FileListingImporter::volumeName() const { char buf[VOLUME_NAME_SIZE]; int ret = fread(buf, 1, VOLUME_NAME_SIZE, dev); if(ret == VOLUME_NAME_SIZE) { - volume = TQString::tqfromLatin1(buf, VOLUME_NAME_SIZE).stripWhiteSpace(); + volume = TQString::fromLatin1(buf, VOLUME_NAME_SIZE).stripWhiteSpace(); } } else { myDebug() << "FileListingImporter::volumeName() - can't seek " << devName << endl; |