diff options
Diffstat (limited to 'tdeprint/slave')
-rw-r--r-- | tdeprint/slave/tdeio_print.cpp | 20 | ||||
-rw-r--r-- | tdeprint/slave/tdeio_print.h | 2 | ||||
-rw-r--r-- | tdeprint/slave/templates/top-left.png | bin | 10495 -> 15002 bytes |
3 files changed, 11 insertions, 11 deletions
diff --git a/tdeprint/slave/tdeio_print.cpp b/tdeprint/slave/tdeio_print.cpp index 2e714087a..4efcbe569 100644 --- a/tdeprint/slave/tdeio_print.cpp +++ b/tdeprint/slave/tdeio_print.cpp @@ -28,16 +28,16 @@ #include <tqtextstream.h> #include <tdelocale.h> #include <kdebug.h> -#include <kinstance.h> +#include <tdeinstance.h> #include <tdeio/global.h> -#include <kstandarddirs.h> +#include <tdestandarddirs.h> #include <kiconloader.h> #include <kmimetype.h> #include <tdeio/job.h> #include <tdeapplication.h> #include <tdecmdlineargs.h> #include <tdeaboutdata.h> -#include <kprocess.h> +#include <tdeprocess.h> #include <tdetempfile.h> #include <tqfile.h> #include <tqdom.h> @@ -50,7 +50,7 @@ extern "C" { - int KDE_EXPORT kdemain(int argc, char **argv); + int TDE_EXPORT kdemain(int argc, char **argv); } void addAtom(TDEIO::UDSEntry& entry, unsigned int ID, long l, const TQString& s = TQString()) @@ -455,11 +455,11 @@ bool TDEIO_Print::getDBFile( const KURL& src ) /* start the transfer job */ TDEIO::TransferJob *job = TDEIO::get( src, false, false ); - connect( job, TQT_SIGNAL( result( TDEIO::Job* ) ), TQT_SLOT( slotResult( TDEIO::Job* ) ) ); - connect( job, TQT_SIGNAL( data( TDEIO::Job*, const TQByteArray& ) ), TQT_SLOT( slotData( TDEIO::Job*, const TQByteArray& ) ) ); - connect( job, TQT_SIGNAL( totalSize( TDEIO::Job*, TDEIO::filesize_t ) ), TQT_SLOT( slotTotalSize( TDEIO::Job*, TDEIO::filesize_t ) ) ); - connect( job, TQT_SIGNAL( processedSize( TDEIO::Job*, TDEIO::filesize_t ) ), TQT_SLOT( slotProcessedSize( TDEIO::Job*, TDEIO::filesize_t ) ) ); - kapp->enter_loop(); + connect( job, TQ_SIGNAL( result( TDEIO::Job* ) ), TQ_SLOT( slotResult( TDEIO::Job* ) ) ); + connect( job, TQ_SIGNAL( data( TDEIO::Job*, const TQByteArray& ) ), TQ_SLOT( slotData( TDEIO::Job*, const TQByteArray& ) ) ); + connect( job, TQ_SIGNAL( totalSize( TDEIO::Job*, TDEIO::filesize_t ) ), TQ_SLOT( slotTotalSize( TDEIO::Job*, TDEIO::filesize_t ) ) ); + connect( job, TQ_SIGNAL( processedSize( TDEIO::Job*, TDEIO::filesize_t ) ), TQ_SLOT( slotProcessedSize( TDEIO::Job*, TDEIO::filesize_t ) ) ); + tdeApp->enter_loop(); m_httpBuffer.close(); /* return the result */ @@ -510,7 +510,7 @@ void TDEIO_Print::slotResult( TDEIO::Job *j ) m_httpError = j->error(); m_httpErrorTxt = j->errorText(); } - kapp->exit_loop(); + tdeApp->exit_loop(); } void TDEIO_Print::slotData( TDEIO::Job *j, const TQByteArray& d ) diff --git a/tdeprint/slave/tdeio_print.h b/tdeprint/slave/tdeio_print.h index ff56cb426..40891c044 100644 --- a/tdeprint/slave/tdeio_print.h +++ b/tdeprint/slave/tdeio_print.h @@ -32,7 +32,7 @@ namespace TDEIO { class TDEIO_Print : public TQObject, public TDEIO::SlaveBase { - Q_OBJECT + TQ_OBJECT public: TDEIO_Print(const TQCString& pool, const TQCString& app); diff --git a/tdeprint/slave/templates/top-left.png b/tdeprint/slave/templates/top-left.png Binary files differindex 042e2bb8b..e7e39d9aa 100644 --- a/tdeprint/slave/templates/top-left.png +++ b/tdeprint/slave/templates/top-left.png |