diff options
Diffstat (limited to 'kpf/src/DirectoryLister.cpp')
-rw-r--r-- | kpf/src/DirectoryLister.cpp | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/kpf/src/DirectoryLister.cpp b/kpf/src/DirectoryLister.cpp index b642d912..18aa7a98 100644 --- a/kpf/src/DirectoryLister.cpp +++ b/kpf/src/DirectoryLister.cpp @@ -63,7 +63,7 @@ namespace KPF TQByteArray buildHTML(const TQString & title, const TQString & body) { - TQPalette pal = qApp->palette(); + TQPalette pal = tqApp->palette(); TQByteArray temp_string; TQTextStream html(temp_string, IO_WriteOnly); @@ -226,7 +226,7 @@ namespace KPF delete d; } - QByteArray + TQByteArray DirectoryLister::html(const TQString & root, const TQString & _path) { kpfDebug << "root: " << root << " path: " << _path << endl; @@ -248,11 +248,11 @@ namespace KPF return buildHTML ( i18n("Error"), - i18n("Directory does not exist: %1 %2").arg(root).arg(path) + i18n("Directory does not exist: %1 %2").tqarg(root).tqarg(path) ); } - const QFileInfoList * infoList = + const TQFileInfoList * infoList = d.entryInfoList(TQDir::DefaultFilter, TQDir::Name | TQDir::DirsFirst); if (0 == infoList) @@ -260,7 +260,7 @@ namespace KPF return buildHTML ( i18n("Error"), - i18n("Directory unreadable: %1 %2").arg(root).arg(path) + i18n("Directory unreadable: %1 %2").tqarg(root).tqarg(path) ); } @@ -275,7 +275,7 @@ namespace KPF html += "<th align=\"left\" class=\"listheading\">Size</th>\n"; html += "</tr>\n"; - for (QFileInfoListIterator it(*infoList); it.current(); ++it) + for (TQFileInfoListIterator it(*infoList); it.current(); ++it) { static int counter = 0; @@ -335,7 +335,7 @@ namespace KPF return buildHTML ( - i18n("Directory listing for %1").arg(TQStyleSheet::escape(path)), + i18n("Directory listing for %1").tqarg(TQStyleSheet::escape(path)), html ); } |