summaryrefslogtreecommitdiffstats
path: root/tdefile-plugins
diff options
context:
space:
mode:
Diffstat (limited to 'tdefile-plugins')
-rw-r--r--tdefile-plugins/CMakeL10n.txt6
-rw-r--r--tdefile-plugins/RETURNED_ITEMS4
-rw-r--r--tdefile-plugins/bmp/CMakeLists.txt6
-rw-r--r--tdefile-plugins/bmp/tdefile_bmp.desktop58
-rw-r--r--tdefile-plugins/bmp/tdefile_bmp.h2
-rw-r--r--tdefile-plugins/dds/CMakeLists.txt6
-rw-r--r--tdefile-plugins/dds/tdefile_dds.desktop45
-rw-r--r--tdefile-plugins/dds/tdefile_dds.h2
-rw-r--r--tdefile-plugins/dependencies/poppler-tqt/CMakeLists.txt15
-rw-r--r--tdefile-plugins/dependencies/poppler-tqt/ConfigureChecks.cmake40
-rw-r--r--tdefile-plugins/dependencies/poppler-tqt/Makefile.am12
-rw-r--r--tdefile-plugins/dependencies/poppler-tqt/poppler-document.cpp (renamed from tdefile-plugins/dependencies/poppler-tqt/poppler-document.cc)82
-rw-r--r--tdefile-plugins/dependencies/poppler-tqt/poppler-fontinfo.cpp (renamed from tdefile-plugins/dependencies/poppler-tqt/poppler-fontinfo.cc)0
-rw-r--r--tdefile-plugins/dependencies/poppler-tqt/poppler-link.cpp (renamed from tdefile-plugins/dependencies/poppler-tqt/poppler-link.cc)8
-rw-r--r--tdefile-plugins/dependencies/poppler-tqt/poppler-page-transition.cpp (renamed from tdefile-plugins/dependencies/poppler-tqt/poppler-page-transition.cc)2
-rw-r--r--tdefile-plugins/dependencies/poppler-tqt/poppler-page.cpp (renamed from tdefile-plugins/dependencies/poppler-tqt/poppler-page.cc)16
-rw-r--r--tdefile-plugins/dependencies/poppler-tqt/poppler-private.cpp (renamed from tdefile-plugins/dependencies/poppler-tqt/poppler-private.cc)8
-rw-r--r--tdefile-plugins/dependencies/poppler-tqt/poppler-private.h30
-rw-r--r--tdefile-plugins/dvi/CMakeLists.txt6
-rw-r--r--tdefile-plugins/dvi/tdefile_dvi.desktop52
-rw-r--r--tdefile-plugins/dvi/tdefile_dvi.h2
-rw-r--r--tdefile-plugins/exr/CMakeLists.txt6
-rw-r--r--tdefile-plugins/exr/tdefile_exr.cpp1
-rw-r--r--tdefile-plugins/exr/tdefile_exr.desktop49
-rw-r--r--tdefile-plugins/exr/tdefile_exr.h2
-rw-r--r--tdefile-plugins/gif/CMakeLists.txt6
-rw-r--r--tdefile-plugins/gif/tdefile_gif.desktop58
-rw-r--r--tdefile-plugins/gif/tdefile_gif.h2
-rw-r--r--tdefile-plugins/ico/CMakeLists.txt6
-rw-r--r--tdefile-plugins/ico/tdefile_ico.desktop57
-rw-r--r--tdefile-plugins/ico/tdefile_ico.h2
-rw-r--r--tdefile-plugins/jpeg/CMakeLists.txt6
-rw-r--r--tdefile-plugins/jpeg/tdefile_jpeg.desktop56
-rw-r--r--tdefile-plugins/jpeg/tdefile_jpeg.h2
-rw-r--r--tdefile-plugins/pcx/CMakeLists.txt6
-rw-r--r--tdefile-plugins/pcx/tdefile_pcx.cpp4
-rw-r--r--tdefile-plugins/pcx/tdefile_pcx.desktop54
-rw-r--r--tdefile-plugins/pcx/tdefile_pcx.h6
-rw-r--r--tdefile-plugins/pdf/CMakeLists.txt6
-rw-r--r--tdefile-plugins/pdf/tdefile_pdf.desktop57
-rw-r--r--tdefile-plugins/pdf/tdefile_pdf.h2
-rw-r--r--tdefile-plugins/png/CMakeLists.txt6
-rw-r--r--tdefile-plugins/png/tdefile_png.desktop57
-rw-r--r--tdefile-plugins/png/tdefile_png.h2
-rw-r--r--tdefile-plugins/pnm/CMakeLists.txt6
-rw-r--r--tdefile-plugins/pnm/tdefile_pnm.desktop52
-rw-r--r--tdefile-plugins/pnm/tdefile_pnm.h2
-rw-r--r--tdefile-plugins/ps/CMakeLists.txt6
-rw-r--r--tdefile-plugins/ps/gscreator.cpp2
-rw-r--r--tdefile-plugins/ps/gsthumbnail.desktop53
-rw-r--r--tdefile-plugins/ps/tdefile_ps.desktop59
-rw-r--r--tdefile-plugins/ps/tdefile_ps.h2
-rw-r--r--tdefile-plugins/raw/CMakeLists.txt6
-rw-r--r--tdefile-plugins/raw/kcamerarawplugin.h2
-rw-r--r--tdefile-plugins/raw/parse.c2
-rw-r--r--tdefile-plugins/raw/tdefile_raw.desktop45
-rw-r--r--tdefile-plugins/rgb/CMakeLists.txt6
-rw-r--r--tdefile-plugins/rgb/tdefile_rgb.desktop53
-rw-r--r--tdefile-plugins/rgb/tdefile_rgb.h2
-rw-r--r--tdefile-plugins/tga/CMakeLists.txt6
-rw-r--r--tdefile-plugins/tga/tdefile_tga.desktop56
-rw-r--r--tdefile-plugins/tga/tdefile_tga.h2
-rw-r--r--tdefile-plugins/tiff/CMakeLists.txt6
-rw-r--r--tdefile-plugins/tiff/tdefile_tiff.desktop59
-rw-r--r--tdefile-plugins/tiff/tdefile_tiff.h2
-rw-r--r--tdefile-plugins/xbm/CMakeLists.txt6
-rw-r--r--tdefile-plugins/xbm/tdefile_xbm.desktop57
-rw-r--r--tdefile-plugins/xbm/tdefile_xbm.h2
-rw-r--r--tdefile-plugins/xpm/CMakeLists.txt6
-rw-r--r--tdefile-plugins/xpm/tdefile_xpm.desktop45
-rw-r--r--tdefile-plugins/xpm/tdefile_xpm.h2
71 files changed, 250 insertions, 1152 deletions
diff --git a/tdefile-plugins/CMakeL10n.txt b/tdefile-plugins/CMakeL10n.txt
index b585ce4a..af16c09a 100644
--- a/tdefile-plugins/CMakeL10n.txt
+++ b/tdefile-plugins/CMakeL10n.txt
@@ -1,3 +1,9 @@
##### create translation templates ##############
tde_l10n_auto_add_subdirectories( )
+
+tde_l10n_create_template(
+ CATALOG "desktop_files/tdefile-desktops/"
+ SOURCES *.desktop
+ DESTINATION "${CMAKE_SOURCE_DIR}/translations"
+)
diff --git a/tdefile-plugins/RETURNED_ITEMS b/tdefile-plugins/RETURNED_ITEMS
index 70a3b519..9bf09559 100644
--- a/tdefile-plugins/RETURNED_ITEMS
+++ b/tdefile-plugins/RETURNED_ITEMS
@@ -50,7 +50,7 @@ String Camera make
String Camera model
String Date/time
Size Dimensions Width x Height in pixels
-int Qt::Orientation 1 - "The 0th row is at the visual top of the image,
+int Orientation 1 - "The 0th row is at the visual top of the image,
and the 0th column is the visual left-hand side."
2 - "The 0th row is at the visual top of the image,
and the 0th column is the visual right-hand side."
@@ -115,7 +115,7 @@ String JPG quality 1 - "basic"
default: unknown
String User comment
String Comment
-QImage Thumbnail
+TQImage Thumbnail
gif plugin:
diff --git a/tdefile-plugins/bmp/CMakeLists.txt b/tdefile-plugins/bmp/CMakeLists.txt
index 1bc54e24..4c5ddba5 100644
--- a/tdefile-plugins/bmp/CMakeLists.txt
+++ b/tdefile-plugins/bmp/CMakeLists.txt
@@ -22,7 +22,11 @@ link_directories(
#### other data #################################
-install( FILES tdefile_bmp.desktop DESTINATION ${SERVICES_INSTALL_DIR} )
+tde_create_translated_desktop(
+ SOURCE tdefile_bmp.desktop
+ DESTINATION ${SERVICES_INSTALL_DIR}
+ PO_DIR tdefile-desktops
+)
#### tdefile_bmp (module) #########################
diff --git a/tdefile-plugins/bmp/tdefile_bmp.desktop b/tdefile-plugins/bmp/tdefile_bmp.desktop
index c6d25ee3..c62ee3e1 100644
--- a/tdefile-plugins/bmp/tdefile_bmp.desktop
+++ b/tdefile-plugins/bmp/tdefile_bmp.desktop
@@ -1,64 +1,6 @@
[Desktop Entry]
Type=Service
Name=BMP Info
-Name[af]=Bmp Inligting
-Name[ar]=معلومات BMP
-Name[br]=Titouroù BMP
-Name[ca]=Informació de BMP
-Name[cs]=BMP info
-Name[cy]=Gwybodaeth BMP
-Name[da]=BMP-info
-Name[de]=BMP-Info
-Name[el]=Πληροφορίες BMP
-Name[eo]=BMP-informo
-Name[es]=Info BMP
-Name[et]=BMP info
-Name[fa]=اطلاعات BMP
-Name[fi]=BMP-tiedot
-Name[fr]=Informations BMP
-Name[ga]=Eolas faoi BMP
-Name[gl]=Inf. BMP
-Name[he]=מידע BMP
-Name[hi]=BMP जानकारी
-Name[hr]=BMP informacije
-Name[hu]=BMP-jellemzők
-Name[is]=BMP upplýsingar
-Name[it]=Informazioni BMP
-Name[ja]=BMP 情報
-Name[kk]=BMP мәліметі
-Name[km]=ព័ត៌មាន BMP
-Name[lt]=BMP informacija
-Name[ms]=Maklumat BMP
-Name[nds]=BMP-Info
-Name[ne]=BMP सूचना
-Name[nl]=BMP-info
-Name[nn]=BMP-info
-Name[nso]=Tshedimoso ya BMP
-Name[pa]=BMP ਜਾਣਕਾਰੀ
-Name[pl]=Informacja o pliku BMP
-Name[pt]=Informação do BMP
-Name[pt_BR]=Informação sobre BMP
-Name[ro]=Informaţii BMP
-Name[ru]=Информация о BMP
-Name[se]=BMP-dieđut
-Name[sl]=Podatki o BMP
-Name[sr]=BMP информације
-Name[sr@Latn]=BMP informacije
-Name[sv]=BMP-information
-Name[ta]=BMP தகவல்
-Name[tg]=Иттилоот оиди BMP
-Name[th]=ข้อมูลแฟ้ม BMP
-Name[tr]=BMP Bilgisi
-Name[uk]=Інформація по BMP
-Name[uz]=BMP haqida maʼlumot
-Name[uz@cyrillic]=BMP ҳақида маълумот
-Name[ven]=Mafhungo BMP
-Name[wa]=Informåcion sol imådje BMP
-Name[xh]=Ulwazi lwe BMP
-Name[zh_CN]=BMP 信息
-Name[zh_HK]=BMP 資訊
-Name[zh_TW]=BMP 資訊
-Name[zu]=Ulwazi lwe-BMP
X-TDE-ServiceTypes=KFilePlugin
X-TDE-Library=tdefile_bmp
MimeType=image/x-bmp
diff --git a/tdefile-plugins/bmp/tdefile_bmp.h b/tdefile-plugins/bmp/tdefile_bmp.h
index ce4f03eb..c598f6fb 100644
--- a/tdefile-plugins/bmp/tdefile_bmp.h
+++ b/tdefile-plugins/bmp/tdefile_bmp.h
@@ -26,7 +26,7 @@ class TQStringList;
class KBmpPlugin: public KFilePlugin
{
- Q_OBJECT
+ TQ_OBJECT
public:
diff --git a/tdefile-plugins/dds/CMakeLists.txt b/tdefile-plugins/dds/CMakeLists.txt
index eb367982..d2f56ce6 100644
--- a/tdefile-plugins/dds/CMakeLists.txt
+++ b/tdefile-plugins/dds/CMakeLists.txt
@@ -23,7 +23,11 @@ link_directories(
#### other data ##################################
-install( FILES tdefile_dds.desktop DESTINATION ${SERVICES_INSTALL_DIR} )
+tde_create_translated_desktop(
+ SOURCE tdefile_dds.desktop
+ DESTINATION ${SERVICES_INSTALL_DIR}
+ PO_DIR tdefile-desktops
+)
#### tdefile_dds (module) ##########################
diff --git a/tdefile-plugins/dds/tdefile_dds.desktop b/tdefile-plugins/dds/tdefile_dds.desktop
index 7886ffac..a5e65b05 100644
--- a/tdefile-plugins/dds/tdefile_dds.desktop
+++ b/tdefile-plugins/dds/tdefile_dds.desktop
@@ -1,51 +1,6 @@
[Desktop Entry]
Type=Service
Name=DirectDraw Surface Info
-Name[ca]=Informació de superfície DirectDraw
-Name[cs]=DirectDraw Surface info
-Name[da]=DirectDraw overflade-info
-Name[de]=DirectDraw Oberflächeninfo
-Name[el]=Πληροφορίες επιφάνειας DirectDraw
-Name[eo]=DirectDraw surfac-informo
-Name[es]=Información de la primera vista de DirectDraw
-Name[et]=DirectDraw Surface'i info
-Name[eu]=DirectDraw Surface informazioa
-Name[fa]=اطلاعات سطح DirectDraw
-Name[fi]=DirectDraw pintatieto
-Name[fr]=Informations de surface DirectDraw
-Name[ga]=Eolas faoi DirectDraw Surface
-Name[gl]=Información de Superficie de DirectDraw
-Name[he]=מיגע אודות משטח DirectDraw
-Name[hu]=DirectDraw felületinformáció
-Name[is]=DirectDraw yfirborðs upplýsingar
-Name[it]=Informazioni superficie DirectDraw
-Name[ja]=DDS (DirectDraw Surface) 情報
-Name[kk]=DirectDraw бедерінің мәлметі
-Name[km]=ព័ត៌មាន​ផ្ទៃ​ខាង​ក្រៅ​អំពី DirectDraw
-Name[lt]=DirectDraw Surface informacija
-Name[ms]=Maklumat Permukaan LukisTerus
-Name[nb]=DirectDraw Overflate info
-Name[nds]="DirectDraw"-Böversietinfo
-Name[ne]=प्रत्यक्ष रेखाचित्र सतह सूचना
-Name[nl]=DirectDraw Surface-info
-Name[nn]=DirectDraw-overflateinfo
-Name[pl]=Informacja o powierzchni DirectDraw
-Name[pt]=Informação de Superfície DirectDraw
-Name[pt_BR]=Informações Sobre Superfícies Direct Draw
-Name[ro]=Informaţii Suprafaţă DirectDraw
-Name[ru]=Сведения о поверхности DirectDraw
-Name[sk]=DirectDraw informácie o povrchu
-Name[sl]=Podatki o površini DirectDraw
-Name[sr]=Информације о DirectDraw површини
-Name[sr@Latn]=Informacije o DirectDraw površini
-Name[sv]=Directdraw ytinformation
-Name[ta]=நேரடி மேற்பரப்பு தகவல்
-Name[th]=ข้อมูลแฟ้มพื้นผิว DirectDraw
-Name[tr]=DirectDraw Yüzey Bilgisi
-Name[uk]=Інформація про поверхню DirectDraw
-Name[zh_CN]=DirectDraw 表面信息
-Name[zh_HK]=DirectDraw 表面資訊
-Name[zh_TW]=DirectDraw Surface 資訊
X-TDE-ServiceTypes=KFilePlugin
X-TDE-Library=tdefile_dds
MimeType=image/x-dds
diff --git a/tdefile-plugins/dds/tdefile_dds.h b/tdefile-plugins/dds/tdefile_dds.h
index 5a638a9d..418c6e43 100644
--- a/tdefile-plugins/dds/tdefile_dds.h
+++ b/tdefile-plugins/dds/tdefile_dds.h
@@ -26,7 +26,7 @@ class TQStringList;
class KDdsPlugin: public KFilePlugin
{
- Q_OBJECT
+ TQ_OBJECT
public:
diff --git a/tdefile-plugins/dependencies/poppler-tqt/CMakeLists.txt b/tdefile-plugins/dependencies/poppler-tqt/CMakeLists.txt
index 2ce99412..d95dc846 100644
--- a/tdefile-plugins/dependencies/poppler-tqt/CMakeLists.txt
+++ b/tdefile-plugins/dependencies/poppler-tqt/CMakeLists.txt
@@ -41,15 +41,22 @@ install( FILES
poppler-qt.h poppler-page-transition.h poppler-link-qt3.h
DESTINATION ${INCLUDE_INSTALL_DIR} )
+
##### poppler-tqt (shared) ############################
tde_add_library( poppler-tqt SHARED AUTOMOC
SOURCES
- poppler-document.cc poppler-fontinfo.cc
- poppler-link.cc poppler-page.cc
- poppler-page-transition.cc poppler-page-transition-private.h
- poppler-private.cc poppler-private.h
+ poppler-document.cpp poppler-fontinfo.cpp
+ poppler-link.cpp poppler-page.cpp
+ poppler-page-transition.cpp poppler-page-transition-private.h
+ poppler-private.cpp poppler-private.h
VERSION 0.0.0
+ CXX_FEATURES ${POPPLER_CXX_FEATURES}
LINK ${POPPLER_LIBRARIES} ${TQT_LIBRARIES}
DESTINATION ${LIB_INSTALL_DIR}
)
+
+
+##### install cmake export file #################
+
+tde_install_export( )
diff --git a/tdefile-plugins/dependencies/poppler-tqt/ConfigureChecks.cmake b/tdefile-plugins/dependencies/poppler-tqt/ConfigureChecks.cmake
index 9f55e6be..99a48c8e 100644
--- a/tdefile-plugins/dependencies/poppler-tqt/ConfigureChecks.cmake
+++ b/tdefile-plugins/dependencies/poppler-tqt/ConfigureChecks.cmake
@@ -6,34 +6,14 @@ else( )
tde_message_fatal( "poppler is required, but was not found on your system" )
endif( )
-tde_save( CMAKE_REQUIRED_INCLUDES CMAKE_REQUIRED_LIBRARIES )
-set( CMAKE_REQUIRED_INCLUDES ${DBUS_TQT_INCLUDE_DIRS} ${TQT_INCLUDE_DIRS} ${TQT_INCLUDE_DIRS} ${POPPLER_INCLUDE_DIRS})
-set( CMAKE_REQUIRED_LIBRARIES ${DBUS_TQT_LDFLAGS} ${TQT_LDFLAGS} ${QT_LDFLAGS} ${POPPLER_LDFLAGS} )
-check_cxx_source_compiles("
- #include <PSOutputDev.h>
- int main(int, char**) { int a; int b; PSOutputDev *psOut = new PSOutputDev(\"test\", (PDFDoc*)0, (XRef*)0, (Catalog*)0, NULL, 0, 0, psModePS, a, b); } "
- HAVE_POPPLER_016 )
-check_cxx_source_compiles("
- #include <PSOutputDev.h>
- int main(int, char**) { int a; int b; PSOutputDev *psOut = new PSOutputDev(\"test\", (PDFDoc*)0, NULL, 0, 0, psModePS, a, b); } "
- HAVE_POPPLER_020 )
-check_cxx_source_compiles("
- #include <vector>
- #include <PSOutputDev.h>
- int main(int, char**) { int a; int b; std::vector<int> p; PSOutputDev *psOut = new PSOutputDev(\"test\", (PDFDoc*)0, NULL, p, psModePS, a, b); } "
- HAVE_POPPLER_030 )
-tde_restore( CMAKE_REQUIRED_INCLUDES CMAKE_REQUIRED_LIBRARIES )
+string( REGEX MATCH "^([0-9]+)\\.([0-9]+)\\.([0-9]+)"
+ POPPLER_VERSION_SPLIT ${POPPLER_VERSION} )
+set( POPPLER_VERSION_MAJOR ${CMAKE_MATCH_1} )
+set( POPPLER_VERSION_MINOR ${CMAKE_MATCH_2} )
+set( POPPLER_VERSION_PATCH ${CMAKE_MATCH_3} )
+math( EXPR POPPLER_VERSION_C "(${POPPLER_VERSION_MAJOR}*1000000) + (${POPPLER_VERSION_MINOR}*1000) + ${POPPLER_VERSION_PATCH}" )
+set( POPPLER_VERSION_C ${POPPLER_VERSION_C} CACHE INTERNAL "Poppler library version as code number" )
-foreach( _poppler_ver 0.58 0.64 0.70 0.71 0.72 0.76 )
- string( REPLACE "." "" _poppler_str "${_poppler_ver}" )
- if( NOT DEFINED HAVE_POPPLER_${_poppler_str} )
- message( STATUS "Performing Test HAVE_POPPLER_${_poppler_str}" )
- if( NOT POPPLER_VERSION VERSION_LESS "${_poppler_ver}" )
- set( HAVE_POPPLER_${_poppler_str} 1 CACHE INTERNAL "" FORCE )
- message( STATUS "Performing Test HAVE_POPPLER_${_poppler_str} - Success" )
- else( )
- set( HAVE_POPPLER_${_poppler_str} "" CACHE INTERNAL "" FORCE )
- message( STATUS "Performing Test HAVE_POPPLER_${_poppler_str} - Failed" )
- endif( )
- endif( )
-endforeach( )
+if( NOT POPPLER_VERSION_C LESS 21012000 )
+ set( POPPLER_CXX_FEATURES cxx_std_17 CACHE INTERNAL "C++ standard required by Poppler" )
+endif()
diff --git a/tdefile-plugins/dependencies/poppler-tqt/Makefile.am b/tdefile-plugins/dependencies/poppler-tqt/Makefile.am
index 7de8524c..09bc6fbe 100644
--- a/tdefile-plugins/dependencies/poppler-tqt/Makefile.am
+++ b/tdefile-plugins/dependencies/poppler-tqt/Makefile.am
@@ -15,13 +15,13 @@ poppler_include_HEADERS = \
lib_LTLIBRARIES = libpoppler-tqt.la
libpoppler_tqt_la_SOURCES = \
- poppler-document.cc \
- poppler-fontinfo.cc \
- poppler-link.cc \
- poppler-page.cc \
- poppler-page-transition.cc \
+ poppler-document.cpp \
+ poppler-fontinfo.cpp \
+ poppler-link.cpp \
+ poppler-page.cpp \
+ poppler-page-transition.cpp \
poppler-page-transition-private.h \
- poppler-private.cc \
+ poppler-private.cpp \
poppler-private.h
libpoppler_tqt_la_LIBADD = \
diff --git a/tdefile-plugins/dependencies/poppler-tqt/poppler-document.cc b/tdefile-plugins/dependencies/poppler-tqt/poppler-document.cpp
index 13eb5cc6..5ed02af6 100644
--- a/tdefile-plugins/dependencies/poppler-tqt/poppler-document.cc
+++ b/tdefile-plugins/dependencies/poppler-tqt/poppler-document.cpp
@@ -1,4 +1,4 @@
-/* poppler-document.cc: qt interface to poppler
+/* poppler-document.cpp: qt interface to poppler
* Copyright (C) 2005, Net Integration Technologies, Inc.
* Copyright (C) 2005-2009, Albert Astals Cid <aacid@kde.org>
* Copyright (C) 2006, Stefan Kebekus <stefan.kebekus@math.uni-koeln.de>
@@ -33,7 +33,7 @@
#include <DateInfo.h>
#include "poppler-private.h"
-#if !defined(HAVE_POPPLER_071)
+#if (POPPLER_VERSION_C < 71000)
#undef bool
#endif
@@ -42,10 +42,19 @@ namespace Poppler {
Document *Document::load(const TQString &filePath)
{
if (!globalParams) {
- globalParams = new GlobalParams();
+ globalParams =
+#if (POPPLER_VERSION_C >= 83000)
+ std::make_unique<GlobalParams>();
+#else
+ new GlobalParams();
+#endif
}
+# if (POPPLER_VERSION_C >= 22003000)
+ DocumentData *doc = new DocumentData(std::make_unique<GooString>(TQFile::encodeName(filePath)), {});
+# else
DocumentData *doc = new DocumentData(new GooString(TQFile::encodeName(filePath)), NULL);
+# endif
Document *pdoc;
if (doc->doc.isOk() || doc->doc.getErrorCode() == errEncrypted) {
pdoc = new Document(doc);
@@ -79,10 +88,15 @@ bool Document::unlock(const TQCString &password)
{
if (data->locked) {
/* racier then it needs to be */
+# if (POPPLER_VERSION_C >= 22003000)
+ DocumentData *doc2 = new DocumentData(std::make_unique<GooString>(data->doc.getFileName()),
+ GooString(password.data()));
+# else
GooString *filename = new GooString(data->doc.getFileName());
GooString *pwd = new GooString(password.data());
DocumentData *doc2 = new DocumentData(filename, pwd);
delete pwd;
+# endif
if (!doc2->doc.isOk()) {
delete doc2;
} else {
@@ -127,19 +141,22 @@ TQValueList<FontInfo> Document::fonts() const
bool Document::scanForFonts( int numPages, TQValueList<FontInfo> *fontList ) const
{
- FONTS_LIST_TYPE *items = data->m_fontInfoScanner->scan( numPages );
+ FONTS_LIST_TYPE items = data->m_fontInfoScanner->scan( numPages );
+#if (POPPLER_VERSION_C < 82000)
if ( NULL == items )
return false;
+#endif
+#if (POPPLER_VERSION_C < 76000)
+ if ( FONTS_LIST_IS_EMPTY(items) ) {
+ delete items;
+ return false;
+ }
+#endif
for ( int i = 0; i < FONTS_LIST_LENGTH(items); ++i ) {
TQString fontName;
- ::FontInfo *fontInfo =
-#if defined(HAVE_POPPLER_076)
- (*items)[i];
-#else
- (::FontInfo*)items->get(i);
-#endif
+ ::FontInfo *fontInfo = FONTS_LIST_GET(items, i);
if (fontInfo->getName())
fontName = fontInfo->getName()->GOO_GET_CSTR();
@@ -149,12 +166,16 @@ bool Document::scanForFonts( int numPages, TQValueList<FontInfo> *fontList ) con
(Poppler::FontInfo::Type)(fontInfo->getType()));
fontList->append(font);
}
-# if defined(HAVE_POPPLER_076)
+# if (POPPLER_VERSION_C >= 82000)
+ for (auto entry : items) {
+ delete entry;
+ }
+# elif (POPPLER_VERSION_C >= 76000)
for (auto entry : *items) {
delete entry;
}
delete items;
-# elif defined(HAVE_POPPLER_070)
+# elif (POPPLER_VERSION_C >= 70000)
deleteGooList<::FontInfo>(items);
# else
deleteGooList(items, ::FontInfo);
@@ -165,12 +186,12 @@ bool Document::scanForFonts( int numPages, TQValueList<FontInfo> *fontList ) con
/* borrowed from kpdf */
TQString Document::getInfo( const TQString & type ) const
{
- // [Albert] Code adapted from pdfinfo.cc on xpdf
+ // [Albert] Code adapted from pdfinfo.cpp on xpdf
Object info;
if ( data->locked )
return NULL;
-# if defined(HAVE_POPPLER_058)
+# if (POPPLER_VERSION_C >= 58000)
info = data->doc.getDocInfo();
# else
data->doc.getDocInfo( &info );
@@ -186,7 +207,7 @@ TQString Document::getInfo( const TQString & type ) const
int i;
Dict *infoDict = info.getDict();
-#if defined(HAVE_POPPLER_058)
+#if (POPPLER_VERSION_C >= 58000)
obj = infoDict->lookup( (char*)type.latin1() );
#else
infoDict->lookup( (char*)type.latin1(), &obj );
@@ -218,13 +239,13 @@ TQString Document::getInfo( const TQString & type ) const
}
result += unicodeToTQString( &u, 1 );
}
-# if !defined(HAVE_POPPLER_058)
+# if (POPPLER_VERSION_C < 58000)
obj.free();
info.free();
# endif
return result;
}
-# if !defined(HAVE_POPPLER_058)
+# if (POPPLER_VERSION_C < 58000)
obj.free();
info.free();
# endif
@@ -234,18 +255,18 @@ TQString Document::getInfo( const TQString & type ) const
/* borrowed from kpdf */
TQDateTime Document::getDate( const TQString & type ) const
{
- // [Albert] Code adapted from pdfinfo.cc on xpdf
+ // [Albert] Code adapted from pdfinfo.cpp on xpdf
if ( data->locked )
return TQDateTime();
Object info;
-# if defined(HAVE_POPPLER_058)
+# if (POPPLER_VERSION_C >= 58000)
info = data->doc.getDocInfo();
# else
data->doc.getDocInfo( &info );
# endif
if ( !info.isDict() ) {
-# if !defined(HAVE_POPPLER_058)
+# if (POPPLER_VERSION_C < 58000)
info.free();
# endif
return TQDateTime();
@@ -257,21 +278,26 @@ TQDateTime Document::getDate( const TQString & type ) const
Dict *infoDict = info.getDict();
TQString result;
-#if defined(HAVE_POPPLER_058)
+#if (POPPLER_VERSION_C >= 58000)
obj = infoDict->lookup( (char*)type.latin1() );
#else
infoDict->lookup( (char*)type.latin1(), &obj );
#endif
if (!obj.isNull() && obj.isString())
{
- TQString s = UnicodeParsedString(obj.getString());
+# if (POPPLER_VERSION_C >= 21008000)
+ const GooString *s = obj.getString();
+# else
+ TQString tqs = UnicodeParsedString(obj.getString());
+ const char *s = tqs.latin1();
+# endif
// TODO do something with the timezone information
- if ( parseDateString( s.latin1(), &year, &mon, &day, &hour, &min, &sec, &tz, &tz_hour, &tz_minute ) )
+ if (parseDateString(s, &year, &mon, &day, &hour, &min, &sec, &tz, &tz_hour, &tz_minute))
{
TQDate d( year, mon, day ); //CHECK: it was mon-1, Jan->0 (??)
TQTime t( hour, min, sec );
if ( d.isValid() && t.isValid() ) {
-# if !defined(HAVE_POPPLER_058)
+# if (POPPLER_VERSION_C < 58000)
obj.free();
info.free();
# endif
@@ -279,7 +305,7 @@ TQDateTime Document::getDate( const TQString & type ) const
}
}
}
-# if !defined(HAVE_POPPLER_058)
+# if (POPPLER_VERSION_C < 58000)
obj.free();
info.free();
# endif
@@ -362,16 +388,16 @@ bool Document::print(const TQString &fileName, TQValueList<int> pageList, double
bool Document::print(const TQString &file, TQValueList<int> pageList, double hDPI, double vDPI, int rotate, int paperWidth, int paperHeight)
{
-#if defined(HAVE_POPPLER_058) || defined(HAVE_POPPLER_030)
+#if (POPPLER_VERSION_C >= 30000)
std::vector<int> pages;
TQValueList<int>::iterator it;
for (it = pageList.begin(); it != pageList.end(); ++it ) {
pages.push_back(*it);
}
PSOutputDev *psOut = new PSOutputDev(file.latin1(), &(data->doc), NULL, pages, psModePS, paperWidth, paperHeight);
-#elif defined(HAVE_POPPLER_020)
+#elif (POPPLER_VERSION_C >= 20000)
PSOutputDev *psOut = new PSOutputDev(file.latin1(), &(data->doc), NULL, 1, data->doc.getNumPages(), psModePS, paperWidth, paperHeight);
-#elif defined(HAVE_POPPLER_016)
+#elif (POPPLER_VERSION_C >= 16000)
PSOutputDev *psOut = new PSOutputDev(file.latin1(), &(data->doc), data->doc.getXRef(), data->doc.getCatalog(), NULL, 1, data->doc.getNumPages(), psModePS, paperWidth, paperHeight);
#else
PSOutputDev *psOut = new PSOutputDev(file.latin1(), data->doc.getXRef(), data->doc.getCatalog(), NULL, 1, data->doc.getNumPages(), psModePS, paperWidth, paperHeight);
diff --git a/tdefile-plugins/dependencies/poppler-tqt/poppler-fontinfo.cc b/tdefile-plugins/dependencies/poppler-tqt/poppler-fontinfo.cpp
index c0e777a7..c0e777a7 100644
--- a/tdefile-plugins/dependencies/poppler-tqt/poppler-fontinfo.cc
+++ b/tdefile-plugins/dependencies/poppler-tqt/poppler-fontinfo.cpp
diff --git a/tdefile-plugins/dependencies/poppler-tqt/poppler-link.cc b/tdefile-plugins/dependencies/poppler-tqt/poppler-link.cpp
index 52d7e4ab..3ba58505 100644
--- a/tdefile-plugins/dependencies/poppler-tqt/poppler-link.cc
+++ b/tdefile-plugins/dependencies/poppler-tqt/poppler-link.cpp
@@ -1,4 +1,4 @@
-/* poppler-link.cc: qt interface to poppler
+/* poppler-link.cpp: qt interface to poppler
* Copyright (C) 2006, 2008 Albert Astals Cid
* Adapting code from
* Copyright (C) 2004 by Enrico Ros <eros.kde@email.it>
@@ -35,7 +35,11 @@ namespace Poppler {
if ( data.namedDest && !ld )
{
deleteDest = true;
+# if (POPPLER_VERSION_C >= 86000)
+ ld = data.doc->doc.findDest( data.namedDest ).get();
+# else
ld = data.doc->doc.findDest( data.namedDest );
+# endif
}
if (!ld) return;
@@ -77,7 +81,9 @@ namespace Poppler {
m_right = rightAux;
m_bottom = bottomAux;
+# if (POPPLER_VERSION_C < 86000)
if (deleteDest) delete ld;
+# endif
}
LinkDestination::LinkDestination(const TQString &description)
diff --git a/tdefile-plugins/dependencies/poppler-tqt/poppler-page-transition.cc b/tdefile-plugins/dependencies/poppler-tqt/poppler-page-transition.cpp
index cde8818d..015d17eb 100644
--- a/tdefile-plugins/dependencies/poppler-tqt/poppler-page-transition.cc
+++ b/tdefile-plugins/dependencies/poppler-tqt/poppler-page-transition.cpp
@@ -1,4 +1,4 @@
-/* PageTransition.cc
+/* PageTransition.cpp
* Copyright (C) 2005, Net Integration Technologies, Inc.
*
* This program is free software; you can redistribute it and/or modify
diff --git a/tdefile-plugins/dependencies/poppler-tqt/poppler-page.cc b/tdefile-plugins/dependencies/poppler-tqt/poppler-page.cpp
index 4293b7ce..54f198e9 100644
--- a/tdefile-plugins/dependencies/poppler-tqt/poppler-page.cc
+++ b/tdefile-plugins/dependencies/poppler-tqt/poppler-page.cpp
@@ -1,4 +1,4 @@
-/* poppler-page.cc: qt interface to poppler
+/* poppler-page.cpp: qt interface to poppler
* Copyright (C) 2005, Net Integration Technologies, Inc.
* Copyright (C) 2005-2006, Albert Astals Cid <aacid@kde.org>
* Copyright (C) 2005, Tobias Koening <tokoe@kde.org>
@@ -129,7 +129,7 @@ TQString Page::getText(const Rectangle &r) const
TQString result;
::Page *p;
-#if defined(HAVE_POPPLER_058) || defined(HAVE_POPPLER_030) || defined(HAVE_POPPLER_020)
+#if (POPPLER_VERSION_C >= 20000)
output_dev = new TextOutputDev(0, gFalse, 0, gFalse, gFalse);
#else
output_dev = new TextOutputDev(0, gFalse, gFalse, gFalse);
@@ -164,7 +164,7 @@ TQValueList<TextBox*> Page::textList() const
TQValueList<TextBox*> output_list;
-#if defined(HAVE_POPPLER_058) || defined(HAVE_POPPLER_030) || defined(HAVE_POPPLER_020)
+#if (POPPLER_VERSION_C >= 20000)
output_dev = new TextOutputDev(0, gFalse, 0, gFalse, gFalse);
#else
output_dev = new TextOutputDev(0, gFalse, gFalse, gFalse);
@@ -173,7 +173,11 @@ TQValueList<TextBox*> Page::textList() const
data->doc->data->doc.displayPageSlice(output_dev, data->index + 1, 72, 72,
0, false, false, false, -1, -1, -1, -1);
+# if (POPPLER_VERSION_C >= 21011000)
+ std::unique_ptr<TextWordList> word_list = output_dev->makeWordList();
+# else
TextWordList *word_list = output_dev->makeWordList();
+# endif
if (!word_list) {
delete output_dev;
@@ -193,7 +197,9 @@ TQValueList<TextBox*> Page::textList() const
output_list.append(text_box);
}
+# if (POPPLER_VERSION_C < 21011000)
delete word_list;
+# endif
delete output_dev;
return output_list;
@@ -205,14 +211,14 @@ PageTransition *Page::getTransition() const
{
Object o;
PageTransitionParams params;
-# if defined(HAVE_POPPLER_058)
+# if (POPPLER_VERSION_C >= 58000)
o = data->doc->data->doc.getCatalog()->getPage(data->index + 1)->getTrans();
# else
data->doc->data->doc.getCatalog()->getPage(data->index + 1)->getTrans(&o);
# endif
params.dictObj = &o;
data->transition = new PageTransition(params);
-# if !defined(HAVE_POPPLER_058)
+# if (POPPLER_VERSION_C < 58000)
o.free();
# endif
}
diff --git a/tdefile-plugins/dependencies/poppler-tqt/poppler-private.cc b/tdefile-plugins/dependencies/poppler-tqt/poppler-private.cpp
index 059bf1c0..42ec0899 100644
--- a/tdefile-plugins/dependencies/poppler-tqt/poppler-private.cc
+++ b/tdefile-plugins/dependencies/poppler-tqt/poppler-private.cpp
@@ -93,7 +93,7 @@ void DocumentData::addTocChildren( TQDomDocument * docSyn, TQDomNode * parent, O
{
// iterate over every object in 'items'
OutlineItem * outlineItem =
-#ifdef HAVE_POPPLER_076
+#if (POPPLER_VERSION_C >= 76000)
(*items)[i];
#else
(OutlineItem *)items->get( i );
@@ -101,9 +101,15 @@ void DocumentData::addTocChildren( TQDomDocument * docSyn, TQDomNode * parent, O
// 1. create element using outlineItem's title as tagName
TQString name;
+#if (POPPLER_VERSION_C >= 24002000)
+ const std::vector<Unicode> &uVec = outlineItem->getTitle();
+ name = unicodeToTQString( uVec.data(), uVec.size() );
+#else
CONST_064 Unicode * uniChar = outlineItem->getTitle();
int titleLength = outlineItem->getTitleLength();
name = unicodeToTQString(uniChar, titleLength);
+#endif
+
if ( name.isEmpty() )
continue;
diff --git a/tdefile-plugins/dependencies/poppler-tqt/poppler-private.h b/tdefile-plugins/dependencies/poppler-tqt/poppler-private.h
index 33b8cfc3..d3487ef1 100644
--- a/tdefile-plugins/dependencies/poppler-tqt/poppler-private.h
+++ b/tdefile-plugins/dependencies/poppler-tqt/poppler-private.h
@@ -29,39 +29,55 @@
#include <Object.h>
#include <PDFDoc.h>
#include <FontInfo.h>
+
+#if defined(HAVE_SPLASH)
+# undef HAVE_SPLASH
+#endif
+
#if defined(HAVE_SPLASH)
#include <SplashOutputDev.h>
#else
class SplashOutputDev;
#endif
-#if defined(HAVE_POPPLER_064)
+#if (POPPLER_VERSION_C >= 64000)
#define CONST_064 const
#else
#define CONST_064
#endif
-#if defined(HAVE_POPPLER_071)
+#if (POPPLER_VERSION_C >= 71000)
#define GBool bool
#define gTrue true
#define gFalse false
#endif
-#if defined(HAVE_POPPLER_072)
+#if (POPPLER_VERSION_C >= 72000)
#define GOO_GET_CSTR c_str
#else
#define GOO_GET_CSTR getCString
#endif
-#if defined(HAVE_POPPLER_076)
+#if (POPPLER_VERSION_C >= 76000)
#include <vector>
class OutlineItem;
#define OUTLINE_ITEMS_TYPE const std::vector<OutlineItem*>
#define OUTLINE_ITEMS_LENGTH(goo) goo->size()
+# if (POPPLER_VERSION_C >= 82000)
#define FONTS_LIST_TYPE std::vector<::FontInfo*>
+#define FONTS_LIST_LENGTH(goo) goo.size()
+#define FONTS_LIST_IS_EMPTY(goo) goo.empty()
+#define FONTS_LIST_GET(goo, i) goo[i]
+# else
+#define FONTS_LIST_TYPE std::vector<::FontInfo*>*
#define FONTS_LIST_LENGTH(goo) goo->size()
+#define FONTS_LIST_IS_EMPTY(goo) goo->empty()
+#define FONTS_LIST_GET(goo, i) (*goo)[i]
+# endif
#define FIND_PAGE_ARGS(ref) ref
#else
#define OUTLINE_ITEMS_TYPE CONST_064 GooList
#define OUTLINE_ITEMS_LENGTH(goo) goo->getLength()
-#define FONTS_LIST_TYPE GooList
+#define FONTS_LIST_TYPE GooList*
#define FONTS_LIST_LENGTH(goo) goo->getLength()
+#define FONTS_LIST_IS_EMPTY(goo) (goo == NULL || goo->getLength() == 0)
+#define FONTS_LIST_GET(goo, i) (::FontInfo*)goo->get(i)
#define FIND_PAGE_ARGS(ref) ref.num, ref.gen
#endif
@@ -88,7 +104,11 @@ class LinkDestinationData {
class DocumentData {
public:
+# if (POPPLER_VERSION_C >= 22003000)
+ DocumentData(std::unique_ptr<GooString> &&filePath, const std::optional<GooString> &password) : doc(std::move(filePath), password), m_fontInfoScanner(0), m_outputDev(0) {}
+# else
DocumentData(GooString *filePath, GooString *password) : doc(filePath,password), m_fontInfoScanner(0), m_outputDev(0) {}
+# endif
~DocumentData()
{
diff --git a/tdefile-plugins/dvi/CMakeLists.txt b/tdefile-plugins/dvi/CMakeLists.txt
index beb5d8e2..55c1ef7d 100644
--- a/tdefile-plugins/dvi/CMakeLists.txt
+++ b/tdefile-plugins/dvi/CMakeLists.txt
@@ -23,7 +23,11 @@ link_directories(
#### other data #################################
-install( FILES tdefile_dvi.desktop DESTINATION ${SERVICES_INSTALL_DIR} )
+tde_create_translated_desktop(
+ SOURCE tdefile_dvi.desktop
+ DESTINATION ${SERVICES_INSTALL_DIR}
+ PO_DIR tdefile-desktops
+)
#### tdefile_dvi (module) #########################
diff --git a/tdefile-plugins/dvi/tdefile_dvi.desktop b/tdefile-plugins/dvi/tdefile_dvi.desktop
index 10122e8f..23560eeb 100644
--- a/tdefile-plugins/dvi/tdefile_dvi.desktop
+++ b/tdefile-plugins/dvi/tdefile_dvi.desktop
@@ -2,58 +2,6 @@
Icon=
MimeType=application/x-dvi
Name=DVI Info
-Name[ar]=معلومات DVI
-Name[br]=Titouroù DVI
-Name[ca]=Informació de DVI
-Name[cs]=DVI info
-Name[cy]=Gwybodaeth DVI
-Name[da]=DVI-info
-Name[de]=DVI-Info
-Name[el]=Πληροφορίες DVI
-Name[eo]=DVI-informo
-Name[es]=Info DVI
-Name[et]=DVI info
-Name[fa]=اطلاعات DVI
-Name[fi]=DVI-tiedot
-Name[fr]=Informations DVI
-Name[ga]=Eolas faoi DVI
-Name[gl]=Inf. DVI
-Name[he]=מידע DVI
-Name[hi]=DVI जानकारी
-Name[hu]=DVI-jellemzők
-Name[is]=DVI upplýsingar
-Name[it]=Informazioni DVI
-Name[ja]=DVI 情報
-Name[kk]=DVI мәліметі
-Name[km]=ព័ត៌មាន DVI
-Name[lt]=DVI informacija
-Name[ms]=Maklumat DVI
-Name[nds]=DVI-Info
-Name[ne]=DVI सूचना
-Name[nl]=DVI-info
-Name[nn]=DVI-info
-Name[pa]=DVI ਜਾਣਕਾਰੀ
-Name[pl]=Informacja o pliku DVI
-Name[pt]=Informação do DVI
-Name[pt_BR]=Informação sobre DVI
-Name[ro]=Informaţii DVI
-Name[ru]=Информация о DVI
-Name[se]=DVI-dieđut
-Name[sl]=Podatki o DVI
-Name[sr]=DVI информације
-Name[sr@Latn]=DVI informacije
-Name[sv]=DVI-information
-Name[ta]=DVI தகவல்
-Name[tg]=Иттилоот оиди DVI
-Name[th]=ข้อมูลแฟ้ม DVI
-Name[tr]=DVI Bilgisi
-Name[uk]=Інформація по DVI
-Name[uz]=DVI haqida maʼlumot
-Name[uz@cyrillic]=DVI ҳақида маълумот
-Name[wa]=Informåcion sol documint DVI
-Name[zh_CN]=DVI 信息
-Name[zh_HK]=DVI 資訊
-Name[zh_TW]=DVI 資訊
X-TDE-ServiceTypes=KFilePlugin
Type=Service
X-TDE-Library=tdefile_dvi
diff --git a/tdefile-plugins/dvi/tdefile_dvi.h b/tdefile-plugins/dvi/tdefile_dvi.h
index 034ddced..36e715b9 100644
--- a/tdefile-plugins/dvi/tdefile_dvi.h
+++ b/tdefile-plugins/dvi/tdefile_dvi.h
@@ -27,7 +27,7 @@ class TQStringList;
class KDviPlugin : public KFilePlugin
{
- Q_OBJECT
+ TQ_OBJECT
public:
KDviPlugin ( TQObject * parent, const char * name, const TQStringList & preferredItems );
diff --git a/tdefile-plugins/exr/CMakeLists.txt b/tdefile-plugins/exr/CMakeLists.txt
index 284c973a..0f022758 100644
--- a/tdefile-plugins/exr/CMakeLists.txt
+++ b/tdefile-plugins/exr/CMakeLists.txt
@@ -26,7 +26,11 @@ link_directories(
#### other data #################################
-install( FILES tdefile_exr.desktop DESTINATION ${SERVICES_INSTALL_DIR} )
+tde_create_translated_desktop(
+ SOURCE tdefile_exr.desktop
+ DESTINATION ${SERVICES_INSTALL_DIR}
+ PO_DIR tdefile-desktops
+)
#### tdefile_exr (module) #########################
diff --git a/tdefile-plugins/exr/tdefile_exr.cpp b/tdefile-plugins/exr/tdefile_exr.cpp
index a2613bff..77e5c80d 100644
--- a/tdefile-plugins/exr/tdefile_exr.cpp
+++ b/tdefile-plugins/exr/tdefile_exr.cpp
@@ -1,4 +1,3 @@
-// -*- C++;indent-tabs-mode: t; tab-width: 4; c-basic-offset: 4; -*-
/* This file is part of the KDE project
* Copyright (C) 2003 <bradh@frogmouth.net>
*
diff --git a/tdefile-plugins/exr/tdefile_exr.desktop b/tdefile-plugins/exr/tdefile_exr.desktop
index 76a6f250..a984a981 100644
--- a/tdefile-plugins/exr/tdefile_exr.desktop
+++ b/tdefile-plugins/exr/tdefile_exr.desktop
@@ -1,55 +1,6 @@
[Desktop Entry]
Type=Service
Name=EXR Info
-Name[br]=Titouroù EXR
-Name[ca]=Informació EXR
-Name[cs]=EXR info
-Name[cy]=Gwybodaeth EXR
-Name[da]=EXR-Info
-Name[de]=EXR-Info
-Name[el]=Πληροφορίες EXR
-Name[eo]=EXR-informo
-Name[es]=Info EXR
-Name[et]=EXR info
-Name[fa]=اطلاعات EXR
-Name[fi]=EXR-tiedot
-Name[fr]=Informations EXR
-Name[ga]=Eolas faoi EXR
-Name[gl]=Inf. EXR
-Name[he]=מידע EXR
-Name[hu]=EXR-jellemzők
-Name[is]=EXR upplýsingar
-Name[it]=Informazioni EXR
-Name[ja]=EXR 情報
-Name[kk]=EXR мәліметі
-Name[km]=ព័ត៌មាន EXR
-Name[lt]=EXR informacija
-Name[ms]=Maklumat EXR
-Name[nds]=EXR-Info
-Name[ne]=EXR सूचना
-Name[nl]=EXR-info
-Name[nn]=EXR-info
-Name[pa]=EXR ਜਾਣਕਾਰੀ
-Name[pl]=Informacja EXR
-Name[pt]=Informação do EXR
-Name[pt_BR]=Informação sobre EXR
-Name[ro]=Informaţii EXR
-Name[ru]=Информация о EXR
-Name[se]=EXR-dieđut
-Name[sl]=Podatki o EXR
-Name[sr]=EXR информације
-Name[sr@Latn]=EXR informacije
-Name[sv]=EXR-information
-Name[ta]=EXR தகவல்
-Name[tg]=Иттилоот оиди EXR
-Name[th]=ข้อมูลแฟ้ม EXR
-Name[tr]=EXR Bilgisi
-Name[uk]=Інформація по EXR
-Name[uz]=EXR haqida maʼlumot
-Name[uz@cyrillic]=EXR ҳақида маълумот
-Name[zh_CN]=EXR 信息
-Name[zh_HK]=EXR 資訊
-Name[zh_TW]=EXR 資訊
X-TDE-ServiceTypes=KFilePlugin
X-TDE-Library=tdefile_exr
MimeType=image/x-exr
diff --git a/tdefile-plugins/exr/tdefile_exr.h b/tdefile-plugins/exr/tdefile_exr.h
index 11a3a86b..6d71aebf 100644
--- a/tdefile-plugins/exr/tdefile_exr.h
+++ b/tdefile-plugins/exr/tdefile_exr.h
@@ -28,7 +28,7 @@ class TQStringList;
class KExrPlugin: public KFilePlugin
{
- Q_OBJECT
+ TQ_OBJECT
public:
diff --git a/tdefile-plugins/gif/CMakeLists.txt b/tdefile-plugins/gif/CMakeLists.txt
index 8e71efbf..f7f9d9d0 100644
--- a/tdefile-plugins/gif/CMakeLists.txt
+++ b/tdefile-plugins/gif/CMakeLists.txt
@@ -23,7 +23,11 @@ link_directories(
#### other data #################################
-install( FILES tdefile_gif.desktop DESTINATION ${SERVICES_INSTALL_DIR} )
+tde_create_translated_desktop(
+ SOURCE tdefile_gif.desktop
+ DESTINATION ${SERVICES_INSTALL_DIR}
+ PO_DIR tdefile-desktops
+)
#### tdefile_gif (module) #########################
diff --git a/tdefile-plugins/gif/tdefile_gif.desktop b/tdefile-plugins/gif/tdefile_gif.desktop
index 53ca313e..35bee53f 100644
--- a/tdefile-plugins/gif/tdefile_gif.desktop
+++ b/tdefile-plugins/gif/tdefile_gif.desktop
@@ -1,64 +1,6 @@
[Desktop Entry]
Type=Service
Name=GIF Info
-Name[af]=Gif Inligting
-Name[ar]=معلومات GIF
-Name[br]=Titouroù GIF
-Name[ca]=Informació de GIF
-Name[cs]=GIF info
-Name[cy]=Gwybodaeth GIF
-Name[da]=GIF-info
-Name[de]=GIF-Info
-Name[el]=Πληροφορίες GIF
-Name[eo]=GIF-informo
-Name[es]=Info GIF
-Name[et]=GIF info
-Name[fa]=اطلاعات GIF
-Name[fi]=GIF-tiedot
-Name[fr]=Informations GIF
-Name[ga]=Eolas faoi GIF
-Name[gl]=Inf. Gif
-Name[he]=מידע GIF
-Name[hi]=GIF जानकारी
-Name[hr]=GIF Informacije
-Name[hu]=GIF-jellemzők
-Name[is]=GIF upplýsingar
-Name[it]=Informazioni GIF
-Name[ja]=GIF 情報
-Name[kk]=GIF мәліметі
-Name[km]=ព័ត៌មាន GIF
-Name[lt]=GIF informacija
-Name[ms]=Maklumat GIF
-Name[nds]=GIF-Info
-Name[ne]=GIF सूचना
-Name[nl]=GIF-info
-Name[nn]=GIF-info
-Name[nso]=Tshedimoso ya GIF
-Name[pa]=GIF ਜਾਣਕਾਰੀ
-Name[pl]=Informacja o pliku GIF
-Name[pt]=Informação do GIF
-Name[pt_BR]=Informação sobre GIF
-Name[ro]=Informaţii GIF
-Name[ru]=Информация о GIF
-Name[se]=GIF-dieđut
-Name[sl]=Podatki o GIF
-Name[sr]=GIF информације
-Name[sr@Latn]=GIF informacije
-Name[sv]=Gif-information
-Name[ta]=GIF தகவல்
-Name[tg]=Иттилоот оиди GIF
-Name[th]=ข้อมูลแฟ้ม GIF
-Name[tr]=GIF Bilgisi
-Name[uk]=Інформація по GIF
-Name[uz]=GIF haqida maʼlumot
-Name[uz@cyrillic]=GIF ҳақида маълумот
-Name[ven]=Mafhungo a GIF
-Name[wa]=Informåcion sol imådje GIF
-Name[xh]=Ulwazi lwe GIF
-Name[zh_CN]=GIF 信息
-Name[zh_HK]=GIF 資訊
-Name[zh_TW]=GIF 資訊
-Name[zu]=Ulwazi lwe-GIF
X-TDE-ServiceTypes=KFilePlugin
X-TDE-Library=tdefile_gif
MimeType=image/gif
diff --git a/tdefile-plugins/gif/tdefile_gif.h b/tdefile-plugins/gif/tdefile_gif.h
index acaa17d4..39cf789e 100644
--- a/tdefile-plugins/gif/tdefile_gif.h
+++ b/tdefile-plugins/gif/tdefile_gif.h
@@ -26,7 +26,7 @@ class TQStringList;
class KGifPlugin: public KFilePlugin
{
- Q_OBJECT
+ TQ_OBJECT
public:
diff --git a/tdefile-plugins/ico/CMakeLists.txt b/tdefile-plugins/ico/CMakeLists.txt
index 54d87add..886df0b4 100644
--- a/tdefile-plugins/ico/CMakeLists.txt
+++ b/tdefile-plugins/ico/CMakeLists.txt
@@ -23,7 +23,11 @@ link_directories(
#### other data #################################
-install( FILES tdefile_ico.desktop DESTINATION ${SERVICES_INSTALL_DIR} )
+tde_create_translated_desktop(
+ SOURCE tdefile_ico.desktop
+ DESTINATION ${SERVICES_INSTALL_DIR}
+ PO_DIR tdefile-desktops
+)
#### tdefile_ico (module) ########################
diff --git a/tdefile-plugins/ico/tdefile_ico.desktop b/tdefile-plugins/ico/tdefile_ico.desktop
index 19dae923..446d17bc 100644
--- a/tdefile-plugins/ico/tdefile_ico.desktop
+++ b/tdefile-plugins/ico/tdefile_ico.desktop
@@ -1,63 +1,6 @@
[Desktop Entry]
Type=Service
Name=ICO Info
-Name[af]=Ico Inligting
-Name[ar]=معلومات ICO
-Name[br]=Titouroù ICO
-Name[ca]=Informació d'ICO
-Name[cs]=ICO info
-Name[cy]=Gwybodaeth ICO
-Name[da]=ICO-info
-Name[de]=ICO-Info
-Name[el]=Πληροφορίες ICO
-Name[eo]=ICO-informo
-Name[es]=Info ICO
-Name[et]=ICO info
-Name[fa]=اطلاعات ICO
-Name[fi]=ICO-tiedot
-Name[fr]=Informations ICO
-Name[gl]=Inf. ICO
-Name[he]=מידע ICO
-Name[hi]=ICO जानकारी
-Name[hr]=ICO informacije
-Name[hu]=ICO-jellemzők
-Name[is]=ICO upplýsingar
-Name[it]=Informazioni ICO
-Name[ja]=ICO 情報
-Name[kk]=ICO мәліметі
-Name[km]=ព័ត៌មាន ICO
-Name[lt]=ICO informacija
-Name[ms]= Maklumat ICO
-Name[nds]=ICO-Info
-Name[ne]=ICO सूचना
-Name[nl]=ICO-info
-Name[nn]=ICO-info
-Name[nso]=Tshedimoso ya ICO
-Name[pa]=ICO ਜਾਣਕਾਰੀ
-Name[pl]=Informacja o pliku ICO
-Name[pt]=Informação do ICO
-Name[pt_BR]=Informação sobre ICO
-Name[ro]=Informaţii ICO
-Name[ru]=Информация об ICO
-Name[se]=ICO-dieđut
-Name[sl]=Podatki o ICO
-Name[sr]=ICO информације
-Name[sr@Latn]=ICO informacije
-Name[sv]=Ico-information
-Name[ta]=ICO தகவல்
-Name[tg]=Иттилоот оиди ICO
-Name[th]=ข้อมูลแฟ้ม ICO
-Name[tr]=ICO Bilgisi
-Name[uk]=Інформація по ICO
-Name[uz]=ICO haqida maʼlumot
-Name[uz@cyrillic]=ICO ҳақида маълумот
-Name[ven]=Mafhungo a ICO
-Name[wa]=Informåcion sol imådjete ICO
-Name[xh]=Ulwazi lwe ICO
-Name[zh_CN]=ICO 信息
-Name[zh_HK]=ICO 資訊
-Name[zh_TW]=ICO 資訊
-Name[zu]=Ulwazi lwe-ICO
X-TDE-ServiceTypes=KFilePlugin
X-TDE-Library=tdefile_ico
MimeType=image/x-ico
diff --git a/tdefile-plugins/ico/tdefile_ico.h b/tdefile-plugins/ico/tdefile_ico.h
index 5e1331c9..37da8326 100644
--- a/tdefile-plugins/ico/tdefile_ico.h
+++ b/tdefile-plugins/ico/tdefile_ico.h
@@ -26,7 +26,7 @@ class TQStringList;
class KIcoPlugin: public KFilePlugin
{
- Q_OBJECT
+ TQ_OBJECT
public:
diff --git a/tdefile-plugins/jpeg/CMakeLists.txt b/tdefile-plugins/jpeg/CMakeLists.txt
index 3e99eba7..f5f2aae5 100644
--- a/tdefile-plugins/jpeg/CMakeLists.txt
+++ b/tdefile-plugins/jpeg/CMakeLists.txt
@@ -23,7 +23,11 @@ link_directories(
#### other data #################################
-install( FILES tdefile_jpeg.desktop DESTINATION ${SERVICES_INSTALL_DIR} )
+tde_create_translated_desktop(
+ SOURCE tdefile_jpeg.desktop
+ DESTINATION ${SERVICES_INSTALL_DIR}
+ PO_DIR tdefile-desktops
+)
#### tdefile_jpeg (module) ########################
diff --git a/tdefile-plugins/jpeg/tdefile_jpeg.desktop b/tdefile-plugins/jpeg/tdefile_jpeg.desktop
index d7eb1abd..ae77bd2e 100644
--- a/tdefile-plugins/jpeg/tdefile_jpeg.desktop
+++ b/tdefile-plugins/jpeg/tdefile_jpeg.desktop
@@ -1,62 +1,6 @@
[Desktop Entry]
Type=Service
Name=JPEG EXIF Info
-Name[ar]=معلومات JPEG EXIF
-Name[br]=Titouroù EXIF JPEG
-Name[ca]=Informació de JPEG EXIF
-Name[cs]=JPEG EXIF info
-Name[cy]=Gwybodaeth JPEG EXIF
-Name[da]=JPEG EXIF-info
-Name[de]=JPEG EXIF-Info
-Name[el]=Πληροφορίες JPEG EXIF
-Name[eo]=JPEG-EXIF-informo
-Name[es]=Info JPEG EXIF
-Name[et]=JPEG EXIF info
-Name[fa]=اطلاعات JPEG EXIF
-Name[fi]=JPEG EXIF -tiedot
-Name[fr]=Informations JPEG EXIF
-Name[gl]=Inf. JPEG EXIF
-Name[he]=מידע JPEG EXIF
-Name[hi]=JPEG EXIF जानकारी
-Name[hr]=JPEG EXIF Informacije
-Name[hu]=JPEG EXIF-jellemzők
-Name[is]=JPEG EXIF upplýsingar
-Name[it]=Informazioni JPEG EXIF
-Name[ja]=JPEG EXIF 情報
-Name[kk]=JPEG EXIF мәліметі
-Name[km]=ព័ត៌មាន JPEG EXIF
-Name[lt]=JPEG EXIF informacija
-Name[ms]=Maklumat JPEG EXIF
-Name[nds]=JPEG-EXIF-Info
-Name[ne]=JPEG EXIF सूचना
-Name[nl]=JPEG EXIF-info
-Name[nn]=JPEG EXIF-info
-Name[nso]=TshedimoJPEG EXIF Info
-Name[pa]=JPEG EXIF ਜਾਣਕਾਰੀ
-Name[pl]=Informacja o pliku JPEG EXIF
-Name[pt]=Informação do JPEG EXIF
-Name[pt_BR]=Informação sobre JPEG EXIF
-Name[ro]=Informaţii EXIF JPEG
-Name[ru]=Информация о JPEG EXIF
-Name[se]=JPEG EXIF-dieđut
-Name[sl]=Podatki o JPEG EXIF
-Name[sr]=JPEG EXIF информације
-Name[sr@Latn]=JPEG EXIF informacije
-Name[sv]=JPEG EXIF-information
-Name[ta]=JPEG EXIF தகவல்
-Name[tg]=Иттилоот оиди JPEG EXIF
-Name[th]=ข้อมูลแฟ้ม JPEG EXIF
-Name[tr]=JPEG EXIF Bilgisi
-Name[uk]=Інформація про JPEG EXIF
-Name[uz]=JPEG EXIF haqida maʼlumot
-Name[uz@cyrillic]=JPEG EXIF ҳақида маълумот
-Name[ven]=Mafhungo a JPEG EXIF
-Name[wa]=Informåcion sol imådje JPEG EXIF
-Name[xh]=Ulwazi lwe JPEG EXIF
-Name[zh_CN]=JPEG EXIF 信息
-Name[zh_HK]=JPEG EXIF 資訊
-Name[zh_TW]=JPEG EXIF 資訊
-Name[zu]=Ulwazi lwe-JPEG EXIF
X-TDE-ServiceTypes=KFilePlugin
X-TDE-Library=tdefile_jpeg
MimeType=image/jpeg
diff --git a/tdefile-plugins/jpeg/tdefile_jpeg.h b/tdefile-plugins/jpeg/tdefile_jpeg.h
index c6eae8b1..4b825a45 100644
--- a/tdefile-plugins/jpeg/tdefile_jpeg.h
+++ b/tdefile-plugins/jpeg/tdefile_jpeg.h
@@ -25,7 +25,7 @@
class KJpegPlugin: public KFilePlugin
{
- Q_OBJECT
+ TQ_OBJECT
public:
diff --git a/tdefile-plugins/pcx/CMakeLists.txt b/tdefile-plugins/pcx/CMakeLists.txt
index 7eea5125..438e0ce9 100644
--- a/tdefile-plugins/pcx/CMakeLists.txt
+++ b/tdefile-plugins/pcx/CMakeLists.txt
@@ -23,7 +23,11 @@ link_directories(
#### other data #################################
-install( FILES tdefile_pcx.desktop DESTINATION ${SERVICES_INSTALL_DIR} )
+tde_create_translated_desktop(
+ SOURCE tdefile_pcx.desktop
+ DESTINATION ${SERVICES_INSTALL_DIR}
+ PO_DIR tdefile-desktops
+)
#### tdefile_pcx (module) #########################
diff --git a/tdefile-plugins/pcx/tdefile_pcx.cpp b/tdefile-plugins/pcx/tdefile_pcx.cpp
index 2c4047a6..9ef2ed25 100644
--- a/tdefile-plugins/pcx/tdefile_pcx.cpp
+++ b/tdefile-plugins/pcx/tdefile_pcx.cpp
@@ -116,7 +116,3 @@ bool KPcxPlugin::readInfo( KFileMetaInfo& info, uint )
}
#include "tdefile_pcx.moc"
-
-/* vim: et sw=2 ts=2
-*/
-
diff --git a/tdefile-plugins/pcx/tdefile_pcx.desktop b/tdefile-plugins/pcx/tdefile_pcx.desktop
index b555c7b3..d0ad9700 100644
--- a/tdefile-plugins/pcx/tdefile_pcx.desktop
+++ b/tdefile-plugins/pcx/tdefile_pcx.desktop
@@ -1,60 +1,6 @@
[Desktop Entry]
Type=Service
Name=PCX File Meta Info
-Name[ar]=معلومات ملف PCX
-Name[br]=Meta-titouroù ar restr PCX
-Name[bs]=PCX meta-podaci
-Name[ca]=Metainformació de fitxer PCX
-Name[cs]=Metainformace obrázku typu PCX
-Name[cy]=Meta-wybodaeth Ffeil PCX
-Name[da]=PCX Fil-meta-info
-Name[de]=PCX Metainformation
-Name[el]=Μετα-πληροφορίες αρχείου PCX
-Name[eo]=PCX-dosiera metainformo
-Name[es]=Info meta de archivos PCX
-Name[et]=PCX faili metainfo
-Name[eu]=PCX fitxategi meta info
-Name[fa]=فرااطلاعات پروندۀ PCX
-Name[fi]=PCX-tiedoston metatiedot
-Name[fr]=Méta Informations sur les fichiers PCX
-Name[gl]=Inf. metaficheiro PCX
-Name[he]=מידע PCX
-Name[hi]=PCX फ़ाइल मेटा जानकारी
-Name[hu]=PCX-jellemzők
-Name[is]=PCX File Meta upplýsingar
-Name[it]=Informazioni PCX
-Name[ja]=PCX ファイルメタ情報
-Name[kk]=PCX файлдың мета деректері
-Name[km]=ព័ត៌មាន​មេតា​របស់​ឯកសារ PCX
-Name[lt]=PCX bylos meta informacija
-Name[ms]=Maklumat Meta Fail PCX
-Name[nb]=PCX-filmetainfo
-Name[nds]=PCX-Metainfo
-Name[ne]=PCX फाइल मेटा सूचना
-Name[nl]=PCX meta-info
-Name[nn]=PCX-filmetainfo
-Name[pl]=Informacja o pliku PCX
-Name[pt]=Meta-Informação do Ficheiro PCX
-Name[pt_BR]=Informação sobre Meta Arquivo PCX
-Name[ro]=Metainformaţii PCX
-Name[ru]=Информация о метафайле PCX
-Name[se]=PCX-filla metadieđut
-Name[sk]=Meta-info o súbore PCX
-Name[sl]=Meta podatki o PCX
-Name[sr]=Мета информације PCX фајла
-Name[sr@Latn]=Meta informacije PCX fajla
-Name[sv]=Metainformation om PCX-fil
-Name[ta]=PCX File Meta தகவல்
-Name[tg]=Иттилоот оиди метафайли PCX
-Name[th]=ข้อมูลเมตาแฟ้ม PCX
-Name[tr]=PCX Dosya Bilgisi
-Name[uk]=Метаінформація про файл PCX
-Name[uz]=PCX-faylining meta-maʼlumoti
-Name[uz@cyrillic]=PCX-файлининг мета-маълумоти
-Name[wa]=Informåcion sol imådje PCX
-Name[zh_CN]=PCX 文件元信息
-Name[zh_HK]=PCX 檔案 Meta 資訊
-Name[zh_TW]=PCX 檔案 Meta 資訊
X-TDE-ServiceTypes=KFilePlugin
X-TDE-Library=tdefile_pcx
MimeType=image/x-pcx
diff --git a/tdefile-plugins/pcx/tdefile_pcx.h b/tdefile-plugins/pcx/tdefile_pcx.h
index c8e0726e..195e82ec 100644
--- a/tdefile-plugins/pcx/tdefile_pcx.h
+++ b/tdefile-plugins/pcx/tdefile_pcx.h
@@ -72,7 +72,7 @@ struct PCXHEADER
class KPcxPlugin: public KFilePlugin
{
- Q_OBJECT
+ TQ_OBJECT
public:
@@ -83,7 +83,3 @@ private:
};
#endif
-
-/* vim: et sw=2 ts=2
-*/
-
diff --git a/tdefile-plugins/pdf/CMakeLists.txt b/tdefile-plugins/pdf/CMakeLists.txt
index 3213a047..8d01a571 100644
--- a/tdefile-plugins/pdf/CMakeLists.txt
+++ b/tdefile-plugins/pdf/CMakeLists.txt
@@ -24,7 +24,11 @@ link_directories(
#### other data #################################
-install( FILES tdefile_pdf.desktop DESTINATION ${SERVICES_INSTALL_DIR} )
+tde_create_translated_desktop(
+ SOURCE tdefile_pdf.desktop
+ DESTINATION ${SERVICES_INSTALL_DIR}
+ PO_DIR tdefile-desktops
+)
#### tdefile_pdf (module) #########################
diff --git a/tdefile-plugins/pdf/tdefile_pdf.desktop b/tdefile-plugins/pdf/tdefile_pdf.desktop
index 24ac872a..ac675396 100644
--- a/tdefile-plugins/pdf/tdefile_pdf.desktop
+++ b/tdefile-plugins/pdf/tdefile_pdf.desktop
@@ -1,63 +1,6 @@
[Desktop Entry]
Type=Service
Name=PDF Info
-Name[af]=Pdf Inligting
-Name[ar]=معلومات PDF
-Name[br]=Titouroù PDF
-Name[ca]=Informació de PDF
-Name[cs]=PDF info
-Name[cy]=Gybodaeth PDF
-Name[da]=PDF-info
-Name[de]=PDF-Info
-Name[el]=Πληροφορίες PDF
-Name[eo]=PDF-informo
-Name[es]=Info PDF
-Name[et]=PDF info
-Name[fa]=اطلاعات PDF
-Name[fi]=PDF-tiedot
-Name[fr]=Informations PDF
-Name[gl]=Inf. PDF
-Name[he]=מידע PDF
-Name[hi]=PDF जानकारी
-Name[hr]=PDF Informacije
-Name[hu]=PDF-jellemzők
-Name[is]=PDF upplýsingar
-Name[it]=Informazioni PDF
-Name[ja]=PDF 情報
-Name[kk]=PDF мәліметі
-Name[km]=ព័ត៌មាន PDF
-Name[lt]=PDF informacija
-Name[ms]=Maklumat PDF
-Name[nds]=PDF-Info
-Name[ne]=PDF सूचना
-Name[nl]=PDF-info
-Name[nn]=PDF-info
-Name[nso]=Tshedimoso ya PDF
-Name[pa]=PDF ਜਾਣਕਾਰੀ
-Name[pl]=Informacja o pliku PDF
-Name[pt]=Informação do PDF
-Name[pt_BR]=Informação sobre PDF
-Name[ro]=Informaţii PDF
-Name[ru]=Информация о PDF
-Name[se]=PDF-dieđut
-Name[sl]=Podatki o PDF
-Name[sr]=PDF информације
-Name[sr@Latn]=PDF informacije
-Name[sv]=PDF-information
-Name[ta]=PDF தகவல்
-Name[tg]=Иттилоот оиди PDF
-Name[th]=ข้อมูลแฟ้ม PDF
-Name[tr]=PDF Bilgisi
-Name[uk]=Інформація про PDF
-Name[uz]=PDF haqida maʼlumot
-Name[uz@cyrillic]=PDF ҳақида маълумот
-Name[ven]=Mafhungo a PDF
-Name[wa]=Informåcion sol documint PDF
-Name[xh]=PDF Ulwazi
-Name[zh_CN]=PDF 信息
-Name[zh_HK]=PDF 資訊
-Name[zh_TW]=PDF 資訊
-Name[zu]=Ulwazi lwe-PDF
X-TDE-ServiceTypes=KFilePlugin
X-TDE-Library=tdefile_pdf
MimeType=application/pdf
diff --git a/tdefile-plugins/pdf/tdefile_pdf.h b/tdefile-plugins/pdf/tdefile_pdf.h
index e06e3a12..7fa842e0 100644
--- a/tdefile-plugins/pdf/tdefile_pdf.h
+++ b/tdefile-plugins/pdf/tdefile_pdf.h
@@ -28,7 +28,7 @@ class TQStringList;
class KPdfPlugin: public KFilePlugin
{
-Q_OBJECT
+TQ_OBJECT
public:
KPdfPlugin( TQObject *parent, const char *name, const TQStringList& preferredItems );
diff --git a/tdefile-plugins/png/CMakeLists.txt b/tdefile-plugins/png/CMakeLists.txt
index 7000bcd7..371aa775 100644
--- a/tdefile-plugins/png/CMakeLists.txt
+++ b/tdefile-plugins/png/CMakeLists.txt
@@ -23,7 +23,11 @@ link_directories(
#### other data #################################
-install( FILES tdefile_png.desktop DESTINATION ${SERVICES_INSTALL_DIR} )
+tde_create_translated_desktop(
+ SOURCE tdefile_png.desktop
+ DESTINATION ${SERVICES_INSTALL_DIR}
+ PO_DIR tdefile-desktops
+)
#### tdefile_png (module) #########################
diff --git a/tdefile-plugins/png/tdefile_png.desktop b/tdefile-plugins/png/tdefile_png.desktop
index 94afa880..02a75256 100644
--- a/tdefile-plugins/png/tdefile_png.desktop
+++ b/tdefile-plugins/png/tdefile_png.desktop
@@ -1,63 +1,6 @@
[Desktop Entry]
Type=Service
Name=PNG Info
-Name[af]=Png Inligting
-Name[ar]=معلومات PNG
-Name[br]=Titouroù PNG
-Name[ca]=Informació de PNG
-Name[cs]=PNG info
-Name[cy]=Gybodaeth PNG
-Name[da]=PNG-info
-Name[de]=PNG-Info
-Name[el]=Πληροφορίες PNG
-Name[eo]=PNG-informo
-Name[es]=Info PNG
-Name[et]=PNG info
-Name[fa]=اطلاعات PNG
-Name[fi]=PNG-tiedot
-Name[fr]=Informations PNG
-Name[gl]=Inf. PNG
-Name[he]=מידע PNG
-Name[hi]=PNG जानकारी
-Name[hr]=PNG Informacije
-Name[hu]=PNG-jellemzők
-Name[is]=PNG upplýsingar
-Name[it]=Informazioni PNG
-Name[ja]=PNG 情報
-Name[kk]=PNG мәліметі
-Name[km]=ព័ត៌មាន PNG
-Name[lt]=PNG informacija
-Name[ms]=Maklumat PNG
-Name[nds]=PNG-Info
-Name[ne]=PNG सूचना
-Name[nl]=PNG-Info
-Name[nn]=PNG-info
-Name[nso]=Tshedimoso ya PNG
-Name[pa]=PNG ਜਾਣਕਾਰੀ
-Name[pl]=Informacja o pliku PNG
-Name[pt]=Informação do PNG
-Name[pt_BR]= Informação sobre PNG
-Name[ro]=Informaţii PNG
-Name[ru]=Информация о PNG
-Name[se]=PNG-dieđut
-Name[sl]=Podatki o PNG
-Name[sr]=PNG информације
-Name[sr@Latn]=PNG informacije
-Name[sv]=PNG-information
-Name[ta]=PNG தகவல்
-Name[tg]=Иттилоот оиди PNG
-Name[th]=ข้อมูลแฟ้ม PNG
-Name[tr]=PNG Bilgisi
-Name[uk]=Інформація про PNG
-Name[uz]=PNG haqida maʼlumot
-Name[uz@cyrillic]=PNG ҳақида маълумот
-Name[ven]=Mafhungo a PNG
-Name[wa]=Informåcion sol imådje PNG
-Name[xh]=PNG Ulwazi
-Name[zh_CN]=PNG 信息
-Name[zh_HK]=PNG 資訊
-Name[zh_TW]=PNG 資訊
-Name[zu]=Ulwazi lwe-PNG
X-TDE-ServiceTypes=KFilePlugin
X-TDE-Library=tdefile_png
MimeType=image/png
diff --git a/tdefile-plugins/png/tdefile_png.h b/tdefile-plugins/png/tdefile_png.h
index 5b02d3fc..6588d754 100644
--- a/tdefile-plugins/png/tdefile_png.h
+++ b/tdefile-plugins/png/tdefile_png.h
@@ -28,7 +28,7 @@ class TQStringList;
class KPngPlugin: public KFilePlugin
{
- Q_OBJECT
+ TQ_OBJECT
public:
diff --git a/tdefile-plugins/pnm/CMakeLists.txt b/tdefile-plugins/pnm/CMakeLists.txt
index 637fe59d..4896e21c 100644
--- a/tdefile-plugins/pnm/CMakeLists.txt
+++ b/tdefile-plugins/pnm/CMakeLists.txt
@@ -23,7 +23,11 @@ link_directories(
#### other data #################################
-install( FILES tdefile_pnm.desktop DESTINATION ${SERVICES_INSTALL_DIR} )
+tde_create_translated_desktop(
+ SOURCE tdefile_pnm.desktop
+ DESTINATION ${SERVICES_INSTALL_DIR}
+ PO_DIR tdefile-desktops
+)
#### tdefile_pnm (module) #########################
diff --git a/tdefile-plugins/pnm/tdefile_pnm.desktop b/tdefile-plugins/pnm/tdefile_pnm.desktop
index dec0c4ba..c0ed4be9 100644
--- a/tdefile-plugins/pnm/tdefile_pnm.desktop
+++ b/tdefile-plugins/pnm/tdefile_pnm.desktop
@@ -1,58 +1,6 @@
[Desktop Entry]
Type=Service
Name=PNM Info
-Name[ar]=معلومات PNM
-Name[br]=Titouroù PNM
-Name[ca]=Informació de PNM
-Name[cs]=PNM info
-Name[cy]=Gybodaeth PNM
-Name[da]=PNG-info
-Name[de]=PNM-Info
-Name[el]=Πληροφορίες PNM
-Name[eo]=PNM-informo
-Name[es]=Info PNM
-Name[et]=PNM info
-Name[fa]=اطلاعات PNM
-Name[fi]=PNM-tiedot
-Name[fr]=Informations PNM
-Name[gl]=Inf. PNM
-Name[he]=מידע PNM
-Name[hi]=PNM जानकारी
-Name[hu]=PNM-jellemzők
-Name[is]=PNM upplýsingar
-Name[it]=Informazioni PNM
-Name[ja]=PNM 情報
-Name[kk]=PNM мәліметі
-Name[km]=ព័ត៌មាន PNM
-Name[lt]=PNM informacija
-Name[ms]=Maklumat PNM
-Name[nb]=PNM-info
-Name[nds]=PNM-Info
-Name[ne]=PNM सूचना
-Name[nl]=PNG-info
-Name[nn]=PNM-info
-Name[pa]=PNM ਜਾਣਕਾਰੀ
-Name[pl]=Informacja o pliku PNM
-Name[pt]=Informação do PNM
-Name[pt_BR]=Informação sobre PNG
-Name[ro]=Informaţii PNM
-Name[ru]=Информация о PNM
-Name[se]=PNM-dieđut
-Name[sl]=Podatki o PNM
-Name[sr]=PNM информације
-Name[sr@Latn]=PNM informacije
-Name[sv]=PNM-information
-Name[ta]=PNM தகவல்
-Name[tg]=Иттилоот оиди PNM
-Name[th]=ข้อมูลแฟ้ม PNM
-Name[tr]=PNM Bilgisi
-Name[uk]=Інформація про PNM
-Name[uz]=PNM haqida maʼlumot
-Name[uz@cyrillic]=PNM ҳақида маълумот
-Name[wa]=Informåcion sol imådje PNM
-Name[zh_CN]=PNM 信息
-Name[zh_HK]=PNM 資訊
-Name[zh_TW]=PNM 資訊
X-TDE-ServiceTypes=KFilePlugin
X-TDE-Library=tdefile_pnm
MimeType=image/x-portable-bitmap;image/x-portable-greymap;image/x-portable-pixmap
diff --git a/tdefile-plugins/pnm/tdefile_pnm.h b/tdefile-plugins/pnm/tdefile_pnm.h
index 0948d1a7..2c76ed2a 100644
--- a/tdefile-plugins/pnm/tdefile_pnm.h
+++ b/tdefile-plugins/pnm/tdefile_pnm.h
@@ -26,7 +26,7 @@ class TQStringList;
class KPnmPlugin: public KFilePlugin
{
- Q_OBJECT
+ TQ_OBJECT
public:
diff --git a/tdefile-plugins/ps/CMakeLists.txt b/tdefile-plugins/ps/CMakeLists.txt
index 9a13bcb1..8706f44a 100644
--- a/tdefile-plugins/ps/CMakeLists.txt
+++ b/tdefile-plugins/ps/CMakeLists.txt
@@ -25,7 +25,11 @@ link_directories(
#### other data #################################
-install( FILES tdefile_ps.desktop gsthumbnail.desktop DESTINATION ${SERVICES_INSTALL_DIR} )
+tde_create_translated_desktop(
+ SOURCE tdefile_ps.desktop gsthumbnail.desktop
+ DESTINATION ${SERVICES_INSTALL_DIR}
+ PO_DIR tdefile-desktops
+)
#### tdefile_ps (module) ########################
diff --git a/tdefile-plugins/ps/gscreator.cpp b/tdefile-plugins/ps/gscreator.cpp
index c664947b..88601a4c 100644
--- a/tdefile-plugins/ps/gscreator.cpp
+++ b/tdefile-plugins/ps/gscreator.cpp
@@ -241,7 +241,7 @@ bool GSCreator::create(const TQString &path, int width, int height, TQImage &img
char translation[64] = "";
char pagesize[32] = "";
char resopt[32] = "";
- std::auto_ptr<KDSCBBOX> bbox = dsc.bbox();
+ std::unique_ptr<KDSCBBOX> bbox = dsc.bbox();
if (is_encapsulated) {
// GhostScript's rendering at the extremely low resolutions
// required for thumbnails leaves something to be desired. To
diff --git a/tdefile-plugins/ps/gsthumbnail.desktop b/tdefile-plugins/ps/gsthumbnail.desktop
index 7ef9ba44..e3978a3e 100644
--- a/tdefile-plugins/ps/gsthumbnail.desktop
+++ b/tdefile-plugins/ps/gsthumbnail.desktop
@@ -1,59 +1,6 @@
[Desktop Entry]
Type=Service
Name=PostScript, PDF and DVI Files
-Name[ar]=ملفات الــ PostScript ، PDF و DVI
-Name[br]=Restroù PostScript, PDF ha DVI
-Name[bs]=Postscript, PDF i DVI datoteke
-Name[ca]=Fitxers PostScript, PDF i DVI
-Name[cs]=Postscriptové, PDF a DVI soubory
-Name[cy]=Ffeiliau PostScript, PDF a DVI
-Name[da]=PostScript, PDF- og DVI-filer
-Name[de]=PostScript-, PDF- und DVI-Dateien
-Name[el]=Αρχεία PostScript, PDF και DVI
-Name[eo]=Postskriptaj, PDF- kaj DVI-dosieroj
-Name[es]=Archivos PostScript, PDF y DVI
-Name[et]=PostScript-, PDF- ja DVI-failid
-Name[eu]=PostScript, PDF eta DVI fitxategiak
-Name[fa]=پرونده‌های PostScript، PDF و DVI
-Name[fi]=PostScript-, PDF- ja DVI-tiedostot
-Name[fr]=Fichiers PostScript, PDF et DVI
-Name[ga]=Comhaid PostScript, PDF agus DVI
-Name[gl]=Ficheiros PostScript, PDF e DVI
-Name[he]=קבצי PostScript, PDF ו־DVI
-Name[hu]=PostScript-, PDF- és DVI-fájlok
-Name[is]=PostScript PDF og DVI skrár
-Name[it]=File PostScript, PDF e DVI
-Name[ja]=Postscript,PDF,DVIファイル
-Name[kk]=PostScript, PDF және DVI файлдары
-Name[km]=ឯកសារ PostScript, PDF និង DVI
-Name[lt]=Postscript, PDF ir DVI bylos
-Name[ms]=PostScript, PDF dan Fail DVI
-Name[nb]=PostScript, PDF og DVI filer
-Name[nds]=PostScript-, PDF- un DVI-Dateien
-Name[ne]=पोष्टस्क्रिप्ट, PDF र DVI फाइल
-Name[nl]=PostScript-, DVI- en PDF-bestanden
-Name[nn]=PostScript-, PDF- og DVI-filer
-Name[pl]=Pliki PostScript, PDF i DVI
-Name[pt]=Ficheiros PostScript, PDF e DVI
-Name[pt_BR]=Arquivos PostScript, PDF e DVI
-Name[ro]=Fişiere PostScript, PDF şi DVI
-Name[ru]=Файлы PostScript, PDF и DVI
-Name[se]=PostScript-, PDF- ja DVI-fiillat
-Name[sk]=PostScript, PDF a DVI súbory
-Name[sl]=Datoteke PostScript, PDF in DVI
-Name[sr]=PostScript, PDF и DVI фајлови
-Name[sr@Latn]=PostScript, PDF i DVI fajlovi
-Name[sv]=Postscript, PDF och DVI-filer
-Name[ta]= போஸ்ட்கிரிப்ட், பிடிஃப் மற்றும் டிவிஐ கோப்புகள்
-Name[tg]=Файлҳои PostScript, PDF ва DVI
-Name[th]=แฟ้ม PDF, DVI และ โพสต์สคริปต์
-Name[tr]=PostScript, PDF ve DVI Dosyaları
-Name[uk]=Файли PostScript, PDF та DVI
-Name[uz]=PostScript, PDF va DVI fayllari
-Name[uz@cyrillic]=PostScript, PDF ва DVI файллари
-Name[zh_CN]=PostScript、PDF 和 DVI 文件
-Name[zh_HK]=PostScript 、PDF 及 DVI 檔案
-Name[zh_TW]=PostScript,PDF 與 DVI 檔
X-TDE-ServiceTypes=ThumbCreator
MimeTypes=application/x-dvi,application/postscript,application/pdf,image/x-eps
X-TDE-Library=gsthumbnail
diff --git a/tdefile-plugins/ps/tdefile_ps.desktop b/tdefile-plugins/ps/tdefile_ps.desktop
index f3284a21..8c55a99c 100644
--- a/tdefile-plugins/ps/tdefile_ps.desktop
+++ b/tdefile-plugins/ps/tdefile_ps.desktop
@@ -1,65 +1,6 @@
[Desktop Entry]
Type=Service
Name=PostScript Info
-Name[af]=Postscript Inligting
-Name[ar]=معلومات PostScript
-Name[br]=Procinfo PostScript
-Name[ca]=Informació de PostScript
-Name[cs]=PostScript info
-Name[cy]=Gwybodaeth PostScript
-Name[da]=PostScript-info
-Name[de]=PostScript-Info
-Name[el]=Πληροφορίες PostScript
-Name[eo]=Postskriptinformo
-Name[es]=Info PostScript
-Name[et]=PostScript info
-Name[fa]=اطلاعات PostScript
-Name[fi]=PostScript-tiedot
-Name[fr]=Informations PostScript
-Name[gl]=Inf. PostScript
-Name[he]=מידע PostScript
-Name[hi]=पोस्टस्क्रिप्ट जानकारी
-Name[hr]=Postscript informacije
-Name[hu]=PostScript-jellemzők
-Name[is]=PostScript upplýsingar
-Name[it]=Informazioni PostScript
-Name[ja]=PostScript 情報
-Name[kk]=PostScript мәліметі
-Name[km]=ព័ត៌មាន PostScript
-Name[lt]=PostScript informacija
-Name[lv]=Postscript Info
-Name[ms]=Maklumat PostScript
-Name[nb]=PostScript-info
-Name[nds]=PostScript-Info
-Name[ne]=पोष्टस्क्रिप्ट सूचना
-Name[nl]=PostScript-info
-Name[nn]=PostScript-info
-Name[nso]=Tshedimoso ya PostScript
-Name[pa]=PostScript ਜਾਣਕਾਰੀ
-Name[pl]=Informacja o pliku PostScriptu
-Name[pt]=Informação do PostScript
-Name[pt_BR]=Informação sobre PostScript
-Name[ro]=Informaţii PostScript
-Name[ru]=Информация о PostScript
-Name[se]=PostScript-dieđut
-Name[sl]=Podatki o PostScriptu
-Name[sr]=PostScript информације
-Name[sr@Latn]=PostScript informacije
-Name[sv]=Postscript-information
-Name[ta]=முன் எழுத்தாக்க தகவல்
-Name[tg]=Иттилоот оиди PostScript
-Name[th]=ข้อมูลโพสต์สคริปต์
-Name[tr]=PostScript Bilgisi
-Name[uk]=Інформація про PostScript
-Name[uz]=PostScript haqida maʼlumot
-Name[uz@cyrillic]=PostScript ҳақида маълумот
-Name[ven]=Mafhungo a mabammbiri a poso
-Name[wa]=Informåcion sol documint PostScript
-Name[xh]=Ulwazi Lwe PostScript
-Name[zh_CN]=PostScript 信息
-Name[zh_HK]=PostScript 資訊
-Name[zh_TW]=PostScript 資訊
-Name[zu]=Ulwazi Lwesi-PostScript
X-TDE-ServiceTypes=KFilePlugin
X-TDE-Library=tdefile_ps
MimeType=application/postscript;image/x-eps
diff --git a/tdefile-plugins/ps/tdefile_ps.h b/tdefile-plugins/ps/tdefile_ps.h
index 16f3c56a..4beff5ba 100644
--- a/tdefile-plugins/ps/tdefile_ps.h
+++ b/tdefile-plugins/ps/tdefile_ps.h
@@ -29,7 +29,7 @@ class TQStringList;
class KPSPlugin: public KFilePlugin, public KDSCCommentHandler
{
- Q_OBJECT
+ TQ_OBJECT
public:
KPSPlugin( TQObject *parent, const char *name,
diff --git a/tdefile-plugins/raw/CMakeLists.txt b/tdefile-plugins/raw/CMakeLists.txt
index 80810e07..11a7c172 100644
--- a/tdefile-plugins/raw/CMakeLists.txt
+++ b/tdefile-plugins/raw/CMakeLists.txt
@@ -23,7 +23,11 @@ link_directories(
#### other data #################################
-install( FILES tdefile_raw.desktop DESTINATION ${SERVICES_INSTALL_DIR} )
+tde_create_translated_desktop(
+ SOURCE tdefile_raw.desktop
+ DESTINATION ${SERVICES_INSTALL_DIR}
+ PO_DIR tdefile-desktops
+)
#### tdefile_raw (module) #########################
diff --git a/tdefile-plugins/raw/kcamerarawplugin.h b/tdefile-plugins/raw/kcamerarawplugin.h
index d16446e8..7d8cc414 100644
--- a/tdefile-plugins/raw/kcamerarawplugin.h
+++ b/tdefile-plugins/raw/kcamerarawplugin.h
@@ -25,7 +25,7 @@
class TQImage;
class KCameraRawPlugin: public KFilePlugin {
- Q_OBJECT
+ TQ_OBJECT
public:
diff --git a/tdefile-plugins/raw/parse.c b/tdefile-plugins/raw/parse.c
index 467b0577..4f7e8dc1 100644
--- a/tdefile-plugins/raw/parse.c
+++ b/tdefile-plugins/raw/parse.c
@@ -284,7 +284,7 @@ int parse_tiff_ifd (int base, int level)
case 0x111: /* StripOffset */
if (!offset || is_dng) offset = val;
break;
- case 0x112: /* Qt::Orientation */
+ case 0x112: /* Orientation */
flip = flip_map[(val-1) & 7];
break;
case 0x117: /* StripByteCounts */
diff --git a/tdefile-plugins/raw/tdefile_raw.desktop b/tdefile-plugins/raw/tdefile_raw.desktop
index 0393194b..bd998ed7 100644
--- a/tdefile-plugins/raw/tdefile_raw.desktop
+++ b/tdefile-plugins/raw/tdefile_raw.desktop
@@ -1,51 +1,6 @@
[Desktop Entry]
Type=Service
Name=RAW Camera Files
-Name[br]=Restroù kamera kriz
-Name[bs]=RAW kamera datoteke
-Name[ca]=Fitxers RAW de càmera
-Name[cs]=RAW soubory
-Name[da]=RAW kamera-filer
-Name[de]=RAW Kamera-Dateien
-Name[el]=RAW αρχείο κάμερας
-Name[es]=Archivos RAW de cámara
-Name[et]=Toored kaamerafailid
-Name[eu]=RAW kamera-fitxategiak
-Name[fa]=پرونده‌های خام دوربین
-Name[fi]=RAW-kuvatiedostot
-Name[fr]=Fichiers RAW d'appareil photo numérique
-Name[ga]=Comhaid Cheamara RAW
-Name[gl]=Ficheiros RAW de Cámara
-Name[he]=קבצי מצלמה דיגיטלית גולמיים
-Name[hu]=RAW-fájlok
-Name[is]=RAW myndavélaskrár
-Name[it]=File grezzi fotocamera digitale
-Name[ja]=RAW カメラファイル
-Name[kk]=Камераның RAW пішімдегі файлдары
-Name[km]=ឯកសារ​ចេញ​ពី​ម៉ាស៊ីន​ថត​រូប
-Name[lt]=RAW fotoaparato bylos
-Name[nb]=RAW-kamerafiler
-Name[nds]=RAW-Kameradateien
-Name[ne]=RAW क्यामेरा फाइल
-Name[nl]=Rauwe camerabestanden
-Name[nn]=RAW-kamerafiler
-Name[pa]=RAW ਕੈਮਰਾ ਫਾਇਲਾਂ
-Name[pl]=Pliki RAW z aparatów cyfrowych
-Name[pt]=Ficheiros de Máquina Fotográfica Digital RAW
-Name[pt_BR]=Arquivos de Câmeras
-Name[ro]=Fişiere foto brute
-Name[ru]=Необработанные Файлы с цифровой камеры (RAW)
-Name[sk]=RAW súbory digitálneho fotoaparátu
-Name[sl]=Surove datoteke s fotoaparata
-Name[sr]=RAW фајлови слика
-Name[sr@Latn]=RAW fajlovi slika
-Name[sv]=Obehandlade kamerafiler
-Name[th]=แฟ้มภาพ RAW จากกล้อง
-Name[tr]=RAW Kamera Dosyaları
-Name[uk]=Файли цифрової камери RAW
-Name[zh_CN]=RAW 相机文件
-Name[zh_HK]=RAW 相機檔案
-Name[zh_TW]=原始相機檔
X-TDE-ServiceTypes=KFilePlugin
MimeType=image/x-raw
X-TDE-Library=tdefile_raw
diff --git a/tdefile-plugins/rgb/CMakeLists.txt b/tdefile-plugins/rgb/CMakeLists.txt
index 7596f2cb..01db22a9 100644
--- a/tdefile-plugins/rgb/CMakeLists.txt
+++ b/tdefile-plugins/rgb/CMakeLists.txt
@@ -23,7 +23,11 @@ link_directories(
#### other data #################################
-install( FILES tdefile_rgb.desktop DESTINATION ${SERVICES_INSTALL_DIR} )
+tde_create_translated_desktop(
+ SOURCE tdefile_rgb.desktop
+ DESTINATION ${SERVICES_INSTALL_DIR}
+ PO_DIR tdefile-desktops
+)
#### tdefile_rgb (module) #########################
diff --git a/tdefile-plugins/rgb/tdefile_rgb.desktop b/tdefile-plugins/rgb/tdefile_rgb.desktop
index 20f993fc..97d688b7 100644
--- a/tdefile-plugins/rgb/tdefile_rgb.desktop
+++ b/tdefile-plugins/rgb/tdefile_rgb.desktop
@@ -1,59 +1,6 @@
[Desktop Entry]
Type=Service
Name=SGI Image (RGB)
-Name[br]=Skeudenn SGI (RGB)
-Name[bs]=SGI slika (RGB)
-Name[ca]=Imatge SGI (RGB)
-Name[cs]=SGI obrázek (RGB)
-Name[cy]=Delwedd SGI (RGB)
-Name[da]=SGI-billede (RGB)
-Name[de]=SGI-Bild (RGB)
-Name[el]=Εικόνα SGI (RGB)
-Name[es]=Imagen SGI (RGB)
-Name[et]=SGI pildifail (RGB)
-Name[eu]=SGI irudia RGB)
-Name[fa]=تصویر SGI (RGB)
-Name[fi]=SGI-kuva (RGB)
-Name[fr]=Image SGI (RVB)
-Name[ga]=Íomhá SGI (RGB)
-Name[gl]=Imaxe SGI (RGB)
-Name[he]=תמונת SGI (RGB)
-Name[hr]=SGI slika (RGB)
-Name[hu]=SGI-kép (RGB)
-Name[is]=SGI mynd (TGB)
-Name[it]=Immagine SGI (RGB)
-Name[ja]=SGI 画像 (RGB)
-Name[kk]=SGI кескіні (RGB)
-Name[km]=រូបភាព SGI (RGB)
-Name[lt]=SGI paveiksliukas (RGB)
-Name[ms]=Imej SGI (RGB)
-Name[nb]=Bildeindeks
-Name[nds]=SGI-Bild (RGB)
-Name[ne]=SGI छवि (RGB)
-Name[nl]=SGI-afbeelding (RGB)
-Name[nn]=SGI-bilete (RGB)
-Name[pl]=Obrazek SGI (RGB)
-Name[pt]=Imagem SGI (RGB)
-Name[pt_BR]=Imagem SGI (RGB)
-Name[ro]=Imagine SGI (RGB)
-Name[ru]=Изображение SGI (RGB)
-Name[rw]=SGI Ishusho (RGB)
-Name[se]=SGI-govva (RGB)
-Name[sk]=SGI obrázok (RGB)
-Name[sl]=Slika SGI (RGB)
-Name[sr]=SGI слика (RGB)
-Name[sr@Latn]=SGI slika (RGB)
-Name[sv]=SGI-bild (RGB)
-Name[ta]=எஸ்ஜிஐ படிமம் (RGB)
-Name[tg]=Тасвироти SGI (RGB)
-Name[th]=ภาพ SGI (RGB)
-Name[tr]=SGI Resmi(KYM)
-Name[uk]=Зображення SGI (RGB)
-Name[uz]=SGI-rasm (RGB)
-Name[uz@cyrillic]=SGI-расм (RGB)
-Name[zh_CN]=SGI 图像(RGB)
-Name[zh_HK]=SGI 圖像 (RGB)
-Name[zh_TW]=SGI 影像(RGB)
X-TDE-ServiceTypes=KFilePlugin
X-TDE-Library=tdefile_rgb
MimeType=image/x-rgb
diff --git a/tdefile-plugins/rgb/tdefile_rgb.h b/tdefile-plugins/rgb/tdefile_rgb.h
index 72c46d10..35947fb4 100644
--- a/tdefile-plugins/rgb/tdefile_rgb.h
+++ b/tdefile-plugins/rgb/tdefile_rgb.h
@@ -26,7 +26,7 @@ class TQStringList;
class KRgbPlugin : public KFilePlugin
{
- Q_OBJECT
+ TQ_OBJECT
public:
diff --git a/tdefile-plugins/tga/CMakeLists.txt b/tdefile-plugins/tga/CMakeLists.txt
index 7040c7ca..a40a823f 100644
--- a/tdefile-plugins/tga/CMakeLists.txt
+++ b/tdefile-plugins/tga/CMakeLists.txt
@@ -23,7 +23,11 @@ link_directories(
#### other data #################################
-install( FILES tdefile_tga.desktop DESTINATION ${SERVICES_INSTALL_DIR} )
+tde_create_translated_desktop(
+ SOURCE tdefile_tga.desktop
+ DESTINATION ${SERVICES_INSTALL_DIR}
+ PO_DIR tdefile-desktops
+)
#### tdefile_tga (module) #########################
diff --git a/tdefile-plugins/tga/tdefile_tga.desktop b/tdefile-plugins/tga/tdefile_tga.desktop
index eb6b6f8f..6f6eb59b 100644
--- a/tdefile-plugins/tga/tdefile_tga.desktop
+++ b/tdefile-plugins/tga/tdefile_tga.desktop
@@ -1,62 +1,6 @@
[Desktop Entry]
Type=Service
Name=Truevision Targa Info
-Name[ar]=معلومات Truevision Targa
-Name[br]=Gorretaol Truevision Targa
-Name[ca]=Informació de Targa Truevision
-Name[cs]=Truevision Targa info
-Name[cy]=Gwybodaeth Truevision Targa
-Name[da]=Truevision Targa-info
-Name[de]=Truevision Targa-Info
-Name[el]=Πληροφορίες Truevision Targa
-Name[eo]=TARGA-informo
-Name[es]=Info de Targa visión verdadera
-Name[et]=Truevision Targa info
-Name[fa]=اطلاعات Truevision Targa
-Name[fi]=Truevision Targa -tiedot
-Name[fr]=Informations Truevision
-Name[gl]=Inf. Truevision Targa
-Name[he]=מידע Truevision Targa
-Name[hi]=ट्रू-विज़न टाग्रा जानकारी
-Name[hr]=Truevision Targa Infomacije
-Name[hu]=Truevision/Targa-jellemzők
-Name[is]=Truevision Targa upplýsingar
-Name[it]=Informazioni Truevision Targa
-Name[ja]=TGA (Truevision Targa) 情報
-Name[kk]=Truevision Targa мәліметі
-Name[km]=ព័ត៌មាន Truevision Targa
-Name[lt]=Truevision Targa informacija
-Name[ms]=Maklumat Targa Truevision
-Name[nb]=Truevision Targa-info
-Name[nds]="Truevision Targa"-Info
-Name[ne]=ट्रुभिजन टार्गा सूचना
-Name[nl]=Truevision Targa-info
-Name[nn]=Truevision Targa-info
-Name[nso]=Tshedimoso ya Targa ya pono ya Nnete
-Name[pl]=Informacja o pliku Truevision Targa
-Name[pt]=Informação do Targa da Truevision
-Name[pt_BR]=Informação sobre Truevision Targa
-Name[ro]=Informaţii Targa Truevision
-Name[ru]=Информация о Truevision Targa
-Name[se]=Truevision Targa-dieđut
-Name[sl]=Podatki o Truevision Targa
-Name[sr]=Truevision Targa информације
-Name[sr@Latn]=Truevision Targa informacije
-Name[sv]=Information om Truevision Targa
-Name[ta]=சரியான பார்வை தார்கா தகவல்
-Name[tg]=Иттилоот оиди Truevision Targa
-Name[th]=ข้อมูลแฟ้ม Truevision Targa
-Name[tr]=Truevision Targa Bilgisi
-Name[uk]=Інформація по Truevision Targa
-Name[uz]=TGA haqida maʼlumot
-Name[uz@cyrillic]=TGA ҳақида маълумот
-Name[ven]=Mafhungo a Targa ya mbonalelo ya vhukuma
-Name[wa]=Informåcion sol imådje Truevision Targa
-Name[xh]=Ulwazi lwe Truevision Targa
-Name[zh_CN]=Truevision Targa 信息
-Name[zh_HK]=Truevision Targa 資訊
-Name[zh_TW]=Truevision Targa 資訊
-Name[zu]=Ulwazi lwe-Truevision Targa
X-TDE-ServiceTypes=KFilePlugin
X-TDE-Library=tdefile_tga
MimeType=image/x-targa
diff --git a/tdefile-plugins/tga/tdefile_tga.h b/tdefile-plugins/tga/tdefile_tga.h
index ae0489b1..633f17e5 100644
--- a/tdefile-plugins/tga/tdefile_tga.h
+++ b/tdefile-plugins/tga/tdefile_tga.h
@@ -26,7 +26,7 @@ class TQStringList;
class KTgaPlugin: public KFilePlugin
{
- Q_OBJECT
+ TQ_OBJECT
public:
diff --git a/tdefile-plugins/tiff/CMakeLists.txt b/tdefile-plugins/tiff/CMakeLists.txt
index d3ec9b90..cd875145 100644
--- a/tdefile-plugins/tiff/CMakeLists.txt
+++ b/tdefile-plugins/tiff/CMakeLists.txt
@@ -25,7 +25,11 @@ link_directories(
#### other data #################################
-install( FILES tdefile_tiff.desktop DESTINATION ${SERVICES_INSTALL_DIR} )
+tde_create_translated_desktop(
+ SOURCE tdefile_tiff.desktop
+ DESTINATION ${SERVICES_INSTALL_DIR}
+ PO_DIR tdefile-desktops
+)
#### tdefile_tiff (module) ########################
diff --git a/tdefile-plugins/tiff/tdefile_tiff.desktop b/tdefile-plugins/tiff/tdefile_tiff.desktop
index c1140de0..a02e9fef 100644
--- a/tdefile-plugins/tiff/tdefile_tiff.desktop
+++ b/tdefile-plugins/tiff/tdefile_tiff.desktop
@@ -1,65 +1,6 @@
[Desktop Entry]
Type=Service
Name=TIFF File Meta Info
-Name[af]=Tiff Lêer Meta Inligting
-Name[ar]=معلومات ملف TIFF
-Name[br]=Meta-titouroù ar restr TIFF
-Name[ca]=Metainformació de fitxer TIFF
-Name[cs]=Metainformace obrázku typu TIFF
-Name[cy]=Meta-wybodaeth Ffeil TIFF
-Name[da]=TIFF Fil-meta-info
-Name[de]=TIFF-Metainformation
-Name[el]=Μετα-πληροφορίες αρχείου TIFF
-Name[eo]=TIFF-informo
-Name[es]=Info meta de archivos TIFF
-Name[et]=TIFF faili metainfo
-Name[eu]=TIFF fitxategi meta info
-Name[fa]=فرااطلاعات پروندۀ TIFF
-Name[fi]=TIFF-metatiedot
-Name[fr]=Méta Informations sur les fichiers TIFF
-Name[gl]=Inf. metaficheiro TIFF
-Name[he]=מידע TIFF
-Name[hi]=TIFF फ़ाइल मेटा जानकारी
-Name[hr]=TIFF meta informacije
-Name[hu]=TIFF-metajellemzők
-Name[is]=TIFF File Meta upplýsingar
-Name[it]=Informazioni TIFF
-Name[ja]=TIFF ファイルメタ情報
-Name[kk]=TIFF файлдың мета деректері
-Name[km]=ព័ត៌មាន​មេតា​របស់​ឯកសារ TIFF
-Name[lt]=TIFF bylos meta informacija
-Name[ms]=TIFF Maklumat Meta Fail TIFF
-Name[nb]=TIFF-filmetainfo
-Name[nds]=TIFF-Metainfo
-Name[ne]=TIFF फाइल मेटा सूचना
-Name[nl]=TIFF File Meta-info
-Name[nn]=TIFF-filmetainfo
-Name[nso]=Tshedimoso ya Meta wa Faele ya TIFF
-Name[pl]=Informacja o pliku TIFF
-Name[pt]=Meta-Informação do Ficheiro TIFF
-Name[pt_BR]=Informação sobre Meta Arquivo TIFF
-Name[ro]=Metainformaţii TIFF
-Name[ru]=Информация о метафайле TIFF
-Name[se]=TIFF-filla metadieđut
-Name[sk]=Meta-info o súbore TIFF
-Name[sl]=Meta podatki o TIFF
-Name[sr]=Мета информације TIFF фајла
-Name[sr@Latn]=Meta informacije TIFF fajla
-Name[sv]=Metainformation om TIFF-fil
-Name[ta]=TIFF மீக்கோப்பு தகவல்
-Name[tg]=Иттилоот оиди метафайли TIFF
-Name[th]=ข้อมูลเมตาแฟ้ม TIFF
-Name[tr]=TIFF Dosya Bilgisi
-Name[uk]=Метаінформація про файл TIFF
-Name[uz]=TIFF-faylining meta-maʼlumoti
-Name[uz@cyrillic]=TIFF-файлининг мета-маълумоти
-Name[ven]=Mafhungo a Meta faela ya TIFF
-Name[wa]=Informåcion sol imådje TIFF
-Name[xh]=Ulwazi lwe TIFF Ifayile Esembindini
-Name[zh_CN]=TIFF 文件元信息
-Name[zh_HK]=TIFF 檔案 Meta 資訊
-Name[zh_TW]=TIFF 檔案 Meta 資訊
-Name[zu]=Ulwazi Lwefayela yemeta ye-TIFF
X-TDE-ServiceTypes=KFilePlugin
X-TDE-Library=tdefile_tiff
MimeType=image/tiff
diff --git a/tdefile-plugins/tiff/tdefile_tiff.h b/tdefile-plugins/tiff/tdefile_tiff.h
index ab8560bf..fc489533 100644
--- a/tdefile-plugins/tiff/tdefile_tiff.h
+++ b/tdefile-plugins/tiff/tdefile_tiff.h
@@ -26,7 +26,7 @@
class KTiffPlugin: public KFilePlugin
{
- Q_OBJECT
+ TQ_OBJECT
public:
diff --git a/tdefile-plugins/xbm/CMakeLists.txt b/tdefile-plugins/xbm/CMakeLists.txt
index 4b96ade8..76fd74e3 100644
--- a/tdefile-plugins/xbm/CMakeLists.txt
+++ b/tdefile-plugins/xbm/CMakeLists.txt
@@ -23,7 +23,11 @@ link_directories(
#### other data #################################
-install( FILES tdefile_xbm.desktop DESTINATION ${SERVICES_INSTALL_DIR} )
+tde_create_translated_desktop(
+ SOURCE tdefile_xbm.desktop
+ DESTINATION ${SERVICES_INSTALL_DIR}
+ PO_DIR tdefile-desktops
+)
#### tdefile_xbm (module) ########################
diff --git a/tdefile-plugins/xbm/tdefile_xbm.desktop b/tdefile-plugins/xbm/tdefile_xbm.desktop
index 04775b03..b7299e2d 100644
--- a/tdefile-plugins/xbm/tdefile_xbm.desktop
+++ b/tdefile-plugins/xbm/tdefile_xbm.desktop
@@ -1,63 +1,6 @@
[Desktop Entry]
Type=Service
Name=XBM Info
-Name[af]=Xbm Inligting
-Name[ar]=معلومات XBM
-Name[br]=Titouroù XBM
-Name[ca]=Informació d'XBM
-Name[cs]=XBM info
-Name[cy]=Gwybodaeth XBM
-Name[da]=XBM-info
-Name[de]=XBM-Info
-Name[el]=Πληροφορίες XBM
-Name[eo]=XBM-informo
-Name[es]=Info XBM
-Name[et]=XBM info
-Name[fa]=اطلاعات XBM
-Name[fi]=XBM-tiedot
-Name[fr]=Informations sur XBM
-Name[gl]=Inf. XBM
-Name[he]=מידע XBM
-Name[hi]=XBM जानकारी
-Name[hr]=XBM Infoformacije
-Name[hu]=XBM-jellemzők
-Name[is]=XBM upplýsingar
-Name[it]=Informazioni XBM
-Name[ja]=XBM 情報
-Name[kk]=XBM мәліметі
-Name[km]=ព័ត៌មាន XBM
-Name[lt]=XBM informacija
-Name[ms]=Maklumat XBM
-Name[nds]=XBM-Info
-Name[ne]=XBM सूचना
-Name[nl]=XBM-info
-Name[nn]=XBM-info
-Name[nso]=Tshedimoso ya XBM
-Name[pa]=XBM ਜਾਣਕਾਰੀ
-Name[pl]=Informacja o pliku XBM
-Name[pt]=Informação do XBM
-Name[pt_BR]=Informação sobre XBM
-Name[ro]=Informaţii XBM
-Name[ru]=Информация о XBM
-Name[se]=XBM-dieđut
-Name[sl]=Podatki o XBM
-Name[sr]=XBM информације
-Name[sr@Latn]=XBM informacije
-Name[sv]=XBM-information
-Name[ta]=XBM தகவல்
-Name[tg]=Иттилоот оиди XBM
-Name[th]=ข้อมูลแฟ้ม XBM
-Name[tr]=XBM Bilgisi
-Name[uk]=Інформація по XBM
-Name[uz]=XBM haqida maʼlumot
-Name[uz@cyrillic]=XBM ҳақида маълумот
-Name[ven]=Mafhungo a XBM
-Name[wa]=Informåcion sol imådje XBM
-Name[xh]=Ulwazi lwe XBM
-Name[zh_CN]=XBM 信息
-Name[zh_HK]=XBM 資訊
-Name[zh_TW]=XBM 資訊
-Name[zu]=Ulwazi lwe-XBM
X-TDE-ServiceTypes=KFilePlugin
X-TDE-Library=tdefile_xbm
MimeType=image/x-xbm
diff --git a/tdefile-plugins/xbm/tdefile_xbm.h b/tdefile-plugins/xbm/tdefile_xbm.h
index 0b844c1c..ffb0c77c 100644
--- a/tdefile-plugins/xbm/tdefile_xbm.h
+++ b/tdefile-plugins/xbm/tdefile_xbm.h
@@ -26,7 +26,7 @@ class TQStringList;
class KXbmPlugin: public KFilePlugin
{
- Q_OBJECT
+ TQ_OBJECT
public:
diff --git a/tdefile-plugins/xpm/CMakeLists.txt b/tdefile-plugins/xpm/CMakeLists.txt
index 5b357416..25df4f68 100644
--- a/tdefile-plugins/xpm/CMakeLists.txt
+++ b/tdefile-plugins/xpm/CMakeLists.txt
@@ -23,7 +23,11 @@ link_directories(
#### other data #################################
-install( FILES tdefile_xpm.desktop DESTINATION ${SERVICES_INSTALL_DIR} )
+tde_create_translated_desktop(
+ SOURCE tdefile_xpm.desktop
+ DESTINATION ${SERVICES_INSTALL_DIR}
+ PO_DIR tdefile-desktops
+)
#### tdefile_xpm (module) #########################
diff --git a/tdefile-plugins/xpm/tdefile_xpm.desktop b/tdefile-plugins/xpm/tdefile_xpm.desktop
index d42c22b6..69888a57 100644
--- a/tdefile-plugins/xpm/tdefile_xpm.desktop
+++ b/tdefile-plugins/xpm/tdefile_xpm.desktop
@@ -1,51 +1,6 @@
[Desktop Entry]
Type=Service
Name=XPM Info
-Name[br]=Titouroù XPM
-Name[ca]=Informació de XPM
-Name[cs]=XPM info
-Name[de]=XPM-Info
-Name[el]=Πληροφορίες XPM
-Name[eo]=XPM-informo
-Name[es]=Información XPM
-Name[et]=XPM info
-Name[fa]=اطلاعات XPM
-Name[fi]=XPM-tiedot
-Name[fr]=Informations XPM
-Name[gl]=Información XPM
-Name[he]=מידע XPM
-Name[hu]=XPM-jellemzők
-Name[is]=XPM upplýsingar
-Name[it]=Informazioni XPM
-Name[ja]=XPM 情報
-Name[kk]=XPM мәліметі
-Name[km]=ព័ត៌មាន XPM
-Name[lt]=XPM informacija
-Name[ms]=Maklumat XPM
-Name[nb]=XPM-info
-Name[nds]=XPM-Info
-Name[ne]=XPM सूचना
-Name[nl]=XPM-info
-Name[nn]=XPM-info
-Name[pa]=XPM ਜਾਣਕਾਰੀ
-Name[pl]=Informacja o pliku XPM
-Name[pt]=Informação do XPM
-Name[pt_BR]=Informações Sobre XPM
-Name[ro]=Informaţii XPM
-Name[ru]=Информация о XPM
-Name[sl]=Podatki o XPM
-Name[sr]=XPM информације
-Name[sr@Latn]=XPM informacije
-Name[sv]=XPM-information
-Name[ta]=XPM தகவல்
-Name[th]=ข้อมูลแฟ้ม XPM
-Name[tr]=XPM Bilgisi
-Name[uk]=Інформація про XPM
-Name[uz]=XPM haqida maʼlumot
-Name[uz@cyrillic]=XPM ҳақида маълумот
-Name[zh_CN]=XPM 信息
-Name[zh_HK]=XPM 資訊
-Name[zh_TW]=XPM 資訊
X-TDE-ServiceTypes=KFilePlugin
X-TDE-Library=tdefile_xpm
MimeType=image/x-xpm
diff --git a/tdefile-plugins/xpm/tdefile_xpm.h b/tdefile-plugins/xpm/tdefile_xpm.h
index a16ca7fe..0b545856 100644
--- a/tdefile-plugins/xpm/tdefile_xpm.h
+++ b/tdefile-plugins/xpm/tdefile_xpm.h
@@ -33,7 +33,7 @@ class TQStringList;
class xpmPlugin: public KFilePlugin
{
- Q_OBJECT
+ TQ_OBJECT
public: