summaryrefslogtreecommitdiffstats
path: root/tdeioslave/thumbnail
diff options
context:
space:
mode:
Diffstat (limited to 'tdeioslave/thumbnail')
-rw-r--r--tdeioslave/thumbnail/cursorcreator.cpp2
-rw-r--r--tdeioslave/thumbnail/djvucreator.cpp2
-rw-r--r--tdeioslave/thumbnail/exrcreator.cpp2
-rw-r--r--tdeioslave/thumbnail/htmlcreator.cpp4
-rw-r--r--tdeioslave/thumbnail/htmlcreator.h2
-rw-r--r--tdeioslave/thumbnail/imagecreator.cpp2
-rw-r--r--tdeioslave/thumbnail/textcreator.cpp2
-rw-r--r--tdeioslave/thumbnail/thumbnail.cpp4
8 files changed, 10 insertions, 10 deletions
diff --git a/tdeioslave/thumbnail/cursorcreator.cpp b/tdeioslave/thumbnail/cursorcreator.cpp
index a8f6a2eb9..c9d127ceb 100644
--- a/tdeioslave/thumbnail/cursorcreator.cpp
+++ b/tdeioslave/thumbnail/cursorcreator.cpp
@@ -29,7 +29,7 @@
extern "C"
{
- KDE_EXPORT ThumbCreator *new_creator()
+ TDE_EXPORT ThumbCreator *new_creator()
{
return new CursorCreator;
}
diff --git a/tdeioslave/thumbnail/djvucreator.cpp b/tdeioslave/thumbnail/djvucreator.cpp
index 20a32fb26..296d904a3 100644
--- a/tdeioslave/thumbnail/djvucreator.cpp
+++ b/tdeioslave/thumbnail/djvucreator.cpp
@@ -47,7 +47,7 @@
extern "C"
{
- KDE_EXPORT ThumbCreator *new_creator()
+ TDE_EXPORT ThumbCreator *new_creator()
{
return new DjVuCreator;
}
diff --git a/tdeioslave/thumbnail/exrcreator.cpp b/tdeioslave/thumbnail/exrcreator.cpp
index 9ec2dd706..5cc3fe277 100644
--- a/tdeioslave/thumbnail/exrcreator.cpp
+++ b/tdeioslave/thumbnail/exrcreator.cpp
@@ -33,7 +33,7 @@
extern "C"
{
- KDE_EXPORT ThumbCreator *new_creator()
+ TDE_EXPORT ThumbCreator *new_creator()
{
return new EXRCreator;
}
diff --git a/tdeioslave/thumbnail/htmlcreator.cpp b/tdeioslave/thumbnail/htmlcreator.cpp
index 34742a0e9..0a0bac58e 100644
--- a/tdeioslave/thumbnail/htmlcreator.cpp
+++ b/tdeioslave/thumbnail/htmlcreator.cpp
@@ -29,7 +29,7 @@
extern "C"
{
- KDE_EXPORT ThumbCreator *new_creator()
+ TDE_EXPORT ThumbCreator *new_creator()
{
return new HTMLCreator;
}
@@ -50,7 +50,7 @@ bool HTMLCreator::create(const TQString &path, int width, int height, TQImage &i
if (!m_html)
{
m_html = new TDEHTMLPart;
- connect(m_html, TQT_SIGNAL(completed()), TQT_SLOT(slotCompleted()));
+ connect(m_html, TQ_SIGNAL(completed()), TQ_SLOT(slotCompleted()));
m_html->setJScriptEnabled(false);
m_html->setJavaEnabled(false);
m_html->setPluginsEnabled(false);
diff --git a/tdeioslave/thumbnail/htmlcreator.h b/tdeioslave/thumbnail/htmlcreator.h
index 752cf0ace..052e1959e 100644
--- a/tdeioslave/thumbnail/htmlcreator.h
+++ b/tdeioslave/thumbnail/htmlcreator.h
@@ -27,7 +27,7 @@ class TDEHTMLPart;
class HTMLCreator : public TQObject, public ThumbCreator
{
- Q_OBJECT
+ TQ_OBJECT
public:
HTMLCreator();
virtual ~HTMLCreator();
diff --git a/tdeioslave/thumbnail/imagecreator.cpp b/tdeioslave/thumbnail/imagecreator.cpp
index 259a8928f..80c34a577 100644
--- a/tdeioslave/thumbnail/imagecreator.cpp
+++ b/tdeioslave/thumbnail/imagecreator.cpp
@@ -28,7 +28,7 @@
extern "C"
{
- KDE_EXPORT ThumbCreator *new_creator()
+ TDE_EXPORT ThumbCreator *new_creator()
{
KImageIO::registerFormats();
return new ImageCreator;
diff --git a/tdeioslave/thumbnail/textcreator.cpp b/tdeioslave/thumbnail/textcreator.cpp
index 13f3ba83f..d4f8cde5f 100644
--- a/tdeioslave/thumbnail/textcreator.cpp
+++ b/tdeioslave/thumbnail/textcreator.cpp
@@ -30,7 +30,7 @@
extern "C"
{
- KDE_EXPORT ThumbCreator *new_creator()
+ TDE_EXPORT ThumbCreator *new_creator()
{
return new TextCreator;
}
diff --git a/tdeioslave/thumbnail/thumbnail.cpp b/tdeioslave/thumbnail/thumbnail.cpp
index cc2eefbc3..9d3e16498 100644
--- a/tdeioslave/thumbnail/thumbnail.cpp
+++ b/tdeioslave/thumbnail/thumbnail.cpp
@@ -85,7 +85,7 @@ using namespace TDEIO;
extern "C"
{
- KDE_EXPORT int kdemain(int argc, char **argv);
+ TDE_EXPORT int kdemain(int argc, char **argv);
}
@@ -428,7 +428,7 @@ const TQImage& ThumbnailProtocol::getIcon()
int h = icon->height();
for ( int y = 0; y < h; y++ )
{
- QRgb *line = (QRgb *) icon->scanLine( y );
+ TQRgb *line = (TQRgb *) icon->scanLine( y );
for ( int x = 0; x < w; x++ )
line[x] &= m_iconAlpha; // transparency
}