summaryrefslogtreecommitdiffstats
path: root/src/gvimagepart/gvimagepart.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/gvimagepart/gvimagepart.h')
-rw-r--r--src/gvimagepart/gvimagepart.h21
1 files changed, 12 insertions, 9 deletions
diff --git a/src/gvimagepart/gvimagepart.h b/src/gvimagepart/gvimagepart.h
index 3930e2c..7ba2be2 100644
--- a/src/gvimagepart/gvimagepart.h
+++ b/src/gvimagepart/gvimagepart.h
@@ -24,8 +24,8 @@ Foundation, Inc., 51 Franklin Steet, Fifth Floor, Boston, MA 02110-1301, USA.
#include <ktempfile.h>
// Forward declarations
-class QFile;
-class QPoint;
+class TQFile;
+class TQPoint;
class KAboutData;
class KAction;
@@ -45,6 +45,7 @@ class GVImagePart;
*/
class GVImagePartBrowserExtension: public KParts::BrowserExtension {
Q_OBJECT
+ TQ_OBJECT
public:
GVImagePartBrowserExtension(GVImagePart* viewPart, const char* name=0L);
@@ -63,8 +64,9 @@ private:
*/
class GVImagePart : public KParts::ReadOnlyPart {
Q_OBJECT
+ TQ_OBJECT
public:
- GVImagePart(QWidget*, const char*, QObject*, const char*, const QStringList &);
+ GVImagePart(TQWidget*, const char*, TQObject*, const char*, const TQStringList &);
virtual ~GVImagePart();
/**
@@ -75,7 +77,7 @@ public:
/**
* Returns m_file
*/
- QString filePath();
+ TQString filePath();
/**
* Print the image being viewed
@@ -118,7 +120,7 @@ private slots:
void slotLoading();
void slotLoaded(const KURL& url);
- void openContextMenu(const QPoint&);
+ void openContextMenu(const TQPoint&);
void saveAs();
@@ -153,7 +155,7 @@ private:
KAction* mNextImage;
KAction* mPreviousImage;
// alphabetically sorted filenames of images in the picture's directory
- QStringList mImagesInDirectory;
+ TQStringList mImagesInDirectory;
ImageLoader* mPrefetch;
enum LastDirection { DirectionUnknown, DirectionNext, DirectionPrevious };
@@ -164,17 +166,18 @@ private:
/**
* This simple helper class uploads data to a remote URL asynchronously
*/
-class DataUploader : public QObject {
+class DataUploader : public TQObject {
Q_OBJECT
+ TQ_OBJECT
public:
- DataUploader(QWidget* dialogParent, const QByteArray& data, const KURL& destURL);
+ DataUploader(TQWidget* dialogParent, const TQByteArray& data, const KURL& destURL);
private slots:
void slotJobFinished(KIO::Job*);
private:
KTempFile mTempFile;
- QWidget* mDialogParent;
+ TQWidget* mDialogParent;
};
} // namespace