diff options
Diffstat (limited to 'kipi-plugins/sync/sinks/gallery/gallerysink.h')
-rw-r--r-- | kipi-plugins/sync/sinks/gallery/gallerysink.h | 60 |
1 files changed, 30 insertions, 30 deletions
diff --git a/kipi-plugins/sync/sinks/gallery/gallerysink.h b/kipi-plugins/sync/sinks/gallery/gallerysink.h index 1e76968..27d5b48 100644 --- a/kipi-plugins/sync/sinks/gallery/gallerysink.h +++ b/kipi-plugins/sync/sinks/gallery/gallerysink.h @@ -20,7 +20,7 @@ #ifndef GALLERYSINK_H #define GALLERYSINK_H -#include <qobject.h> +#include <tqobject.h> #include <kurl.h> #include "../../sink.h" @@ -32,7 +32,7 @@ namespace KIO } class KURL; -template <class T> class QValueList; +template <class T> class TQValueList; namespace KIPISyncPlugin { @@ -51,7 +51,7 @@ public: GE_ADDPHOTO }; - GallerySink(unsigned int sinkId, QString name, KConfig* pConfig, KWallet::Wallet* pWallet, GalleryVersion version); + GallerySink(unsigned int sinkId, TQString name, KConfig* pConfig, KWallet::Wallet* pWallet, GalleryVersion version); ~GallerySink(); const KIPI2::CollectionList* getCollections(); @@ -63,54 +63,54 @@ public: /* bool loggedIn() const; - void login( const KURL& url, const QString& name, - const QString& passwd ); + void login( const KURL& url, const TQString& name, + const TQString& passwd ); void listAlbums(); - void listPhotos( const QString& albumName ); - void createAlbum( const QString& parentAlbumName, - const QString& albumName, - const QString& albumTitle, - const QString& albumCaption ); - bool addPhoto( const QString& albumName, - const QString& photoPath, - const QString& caption=QString(), + void listPhotos( const TQString& albumName ); + void createAlbum( const TQString& tqparentAlbumName, + const TQString& albumName, + const TQString& albumTitle, + const TQString& albumCaption ); + bool addPhoto( const TQString& albumName, + const TQString& photoPath, + const TQString& caption=TQString(), bool rescale=false, int maxDim=600); void cancel(); */ private: GalleryVersion mVersion; - QString mAuthToken; + TQString mAuthToken; - QString mName; + TQString mName; KURL mURL; - QString mUsername; - QString mPassword; + TQString mUsername; + TQString mPassword; State mState; - QString m_cookie; + TQString m_cookie; KURL m_url; KIO::Job* mpJob; bool m_loggedIn; - QByteArray mBuffer; + TQByteArray mBuffer; /* - void parseResponseLogin(const QByteArray &data); - void parseResponseListAlbums(const QByteArray &data); - void parseResponseListPhotos(const QByteArray &data); - void parseResponseCreateAlbum(const QByteArray &data); - void parseResponseAddPhoto(const QByteArray &data); + void parseResponseLogin(const TQByteArray &data); + void parseResponseListAlbums(const TQByteArray &data); + void parseResponseListPhotos(const TQByteArray &data); + void parseResponseCreateAlbum(const TQByteArray &data); + void parseResponseAddPhoto(const TQByteArray &data); signals: - void signalError( const QString& msg ); - void signalLoginFailed( const QString& msg ); + void signalError( const TQString& msg ); + void signalLoginFailed( const TQString& msg ); void signalBusy( bool val ); - void signalAlbums( const QValueList<GAlbum>& albumList ); - void signalPhotos( const QValueList<GPhoto>& photoList ); + void signalAlbums( const TQValueList<GAlbum>& albumList ); + void signalPhotos( const TQValueList<GPhoto>& photoList ); void signalAddPhotoSucceeded( ); - void signalAddPhotoFailed( const QString& msg ); + void signalAddPhotoFailed( const TQString& msg ); private slots: - void data(KIO::Job *job, const QByteArray &data); + void data(KIO::Job *job, const TQByteArray &data); void slotResult (KIO::Job *job); */ }; |