summaryrefslogtreecommitdiffstats
path: root/kipi-plugins/sendimages/sendimages.h
diff options
context:
space:
mode:
Diffstat (limited to 'kipi-plugins/sendimages/sendimages.h')
-rw-r--r--kipi-plugins/sendimages/sendimages.h53
1 files changed, 27 insertions, 26 deletions
diff --git a/kipi-plugins/sendimages/sendimages.h b/kipi-plugins/sendimages/sendimages.h
index 762300a..696aec4 100644
--- a/kipi-plugins/sendimages/sendimages.h
+++ b/kipi-plugins/sendimages/sendimages.h
@@ -23,12 +23,12 @@
#ifndef SENDIMAGES_H
#define SENDIMAGES_H
-// Qt includes.
+// TQt includes.
-#include <qobject.h>
-#include <qstring.h>
-#include <qthread.h>
-#include <qstringlist.h>
+#include <tqobject.h>
+#include <tqstring.h>
+#include <tqthread.h>
+#include <tqstringlist.h>
// KDE includes.
@@ -39,9 +39,9 @@
#include <libkipi/imagecollection.h>
#include <libkipi/interface.h>
-class QFile;
-class QTimer;
-class QCustomEvent;
+class TQFile;
+class TQTimer;
+class TQCustomEvent;
class KProcess;
@@ -50,15 +50,16 @@ namespace KIPISendimagesPlugin
class SendImagesDialog;
-class SendImages : public QObject, public QThread
+class SendImages : public TQObject, public TQThread
{
Q_OBJECT
+ TQ_OBJECT
public:
///Constructor: saves system handoff parameters in member variables
- SendImages(KIPI::Interface* interface, const QString &tmpFolder,
- const KIPI::ImageCollection& imagesCollection, QObject *parent=0);
+ SendImages(KIPI::Interface* interface, const TQString &tmpFolder,
+ const KIPI::ImageCollection& imagesCollection, TQObject *tqparent=0);
///Destructor
~SendImages();
@@ -104,30 +105,30 @@ private slots:
private:
///Returns the file-extension of the corresponding fileformat
- QString extension(const QString& imageFileFormat);
+ TQString extension(const TQString& imageFileFormat);
///in sendimagesplugin dialog the user can select a compression of images
///this function returns the pixel-size of the selected entry
int getSize( int choice );
///Checks if directory is empty and invokes its deletion
- bool DeleteDir(QString dirname);
+ bool DeleteDir(TQString dirname);
///Deletes a directory and all its contents - Please call it using "DeleteDir"
- bool deldir(QString dirname);
+ bool deldir(TQString dirname);
///Resizes the Images before Sending...
- bool resizeImageProcess(const QString &SourcePath, const QString &DestPath,
- const QString &ImageFormat, const QString &ImageName,
- int SizeFactor, int ImageCompression, QSize &newsize);
+ bool resizeImageProcess(const TQString &SourcePath, const TQString &DestPath,
+ const TQString &ImageFormat, const TQString &ImageName,
+ int SizeFactor, int ImageCompression, TQSize &newsize);
///This function should copy the images to tempfolder in order to avoid suspicious filenames
///It is used, when no resizing should take place
- bool copyImageProcess(const QString &oldFilePath, const QString &DestPath,
- const QString &ImageName);
+ bool copyImageProcess(const TQString &oldFilePath, const TQString &DestPath,
+ const TQString &ImageName);
///Tests if an entry already exists in the filename list
- bool entry_already_exists(KURL::List filenamelist,QString entry);
+ bool entry_already_exists(KURL::List filenamelist,TQString entry);
///Makes a deep copy of a KURL-list: Real and slow copying instead of only pointer arithmetics
bool kurllistdeepcopy(KURL::List &Destination, KURL::List Source);
@@ -148,16 +149,16 @@ private:
/** Biggest permitted email.*/
unsigned long m_attachmentlimit;
- QObject *m_parent;
+ TQObject *m_parent;
- QTimer *m_mozillaTimer;
+ TQTimer *m_mozillaTimer;
- QString m_mozillaStdErr;
- QString m_tmp;
+ TQString m_mozillaStdErr;
+ TQString m_tmp;
/** Image format option in the setup dialog.*/
- QString m_imageFormat;
- QString m_thunderbirdUrl;
+ TQString m_imageFormat;
+ TQString m_thunderbirdUrl;
KProcess *m_mailAgentProc;
KProcess *m_mailAgentProc2;