summaryrefslogtreecommitdiffstats
path: root/kipi-plugins/galleryexport/galleries.h
diff options
context:
space:
mode:
Diffstat (limited to 'kipi-plugins/galleryexport/galleries.h')
-rw-r--r--kipi-plugins/galleryexport/galleries.h46
1 files changed, 23 insertions, 23 deletions
diff --git a/kipi-plugins/galleryexport/galleries.h b/kipi-plugins/galleryexport/galleries.h
index c9a8dd1..009db38 100644
--- a/kipi-plugins/galleryexport/galleries.h
+++ b/kipi-plugins/galleryexport/galleries.h
@@ -19,8 +19,8 @@
#ifndef GALLERIES_H
#define GALLERIES_H
-#include <qptrlist.h>
-#include <qlistview.h>
+#include <tqptrlist.h>
+#include <tqlistview.h>
namespace KWallet
{
@@ -34,36 +34,36 @@ class Gallery
{
public:
- Gallery(const QString& name = i18n("New Gallery"),
- const QString& url = QString("http://www.newgallery.com/"),
- const QString& username = QString(),
- const QString& password = QString(),
+ Gallery(const TQString& name = i18n("New Gallery"),
+ const TQString& url = TQString("http://www.newgallery.com/"),
+ const TQString& username = TQString(),
+ const TQString& password = TQString(),
const unsigned int version = 2,
const unsigned int galleryId = 0);
~Gallery();
- QString name() const;
- QString url() const;
- QString username() const;
- QString password() const;
+ TQString name() const;
+ TQString url() const;
+ TQString username() const;
+ TQString password() const;
unsigned int version() const;
unsigned int galleryId() const;
- void setName(QString name);
- void setUrl(QString url);
- void setUsername(QString username);
- void setPassword(QString password);
+ void setName(TQString name);
+ void setUrl(TQString url);
+ void setUsername(TQString username);
+ void setPassword(TQString password);
void setVersion(unsigned int version);
void setGalleryId(unsigned int galleryId);
- QListViewItem* asQListViewItem(QListView* pParent);
+ TQListViewItem* asTQListViewItem(TQListView* pParent);
private:
- QString mName;
- QString mUrl;
- QString mUsername;
- QString mPassword;
+ TQString mName;
+ TQString mUrl;
+ TQString mUsername;
+ TQString mPassword;
unsigned int mVersion;
unsigned int mGalleryId;
@@ -71,10 +71,10 @@ private:
/* Simple Stub Class to allow easy access to Galleries from GUI elements */
-class GalleryQListViewItem : public QListViewItem
+class GalleryTQListViewItem : public TQListViewItem
{
public:
- GalleryQListViewItem(Gallery* pGallery, QListView* pParent);
+ GalleryTQListViewItem(Gallery* pGallery, TQListView* pParent);
Gallery* GetGallery();
void Refresh();
@@ -83,7 +83,7 @@ private:
};
-typedef QPtrList<Gallery> GalleryPtrList;
+typedef TQPtrList<Gallery> GalleryPtrList;
/* Container class for all Galleries */
class Galleries
@@ -95,7 +95,7 @@ public:
void Add(Gallery* pGallery);
void Remove(Gallery* pGallery);
void Save();
- QListView* asQListView(QWidget* pParent);
+ TQListView* asTQListView(TQWidget* pParent);
private:
void Load();