From c663b6440964f6ac48027143ac9e63298991f9d0 Mon Sep 17 00:00:00 2001 From: tpearson Date: Sat, 31 Jul 2010 19:33:34 +0000 Subject: Trinity Qt initial conversion git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdebase@1157639 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- kdesktop/pixmapserver.h | 38 +++++++++++++++++++------------------- 1 file changed, 19 insertions(+), 19 deletions(-) (limited to 'kdesktop/pixmapserver.h') diff --git a/kdesktop/pixmapserver.h b/kdesktop/pixmapserver.h index e0f871988..009b70fc8 100644 --- a/kdesktop/pixmapserver.h +++ b/kdesktop/pixmapserver.h @@ -10,10 +10,10 @@ #ifndef __PixmapServer_h_Included__ #define __PixmapServer_h_Included__ -#include +#include -#include -#include +#include +#include #include #include @@ -30,7 +30,7 @@ struct KPixmapInode struct KPixmapData { - QPixmap *pixmap; + TQPixmap *pixmap; int usecount; int refcount; }; @@ -38,7 +38,7 @@ struct KPixmapData struct KSelectionInode { Qt::HANDLE handle; - QString name; + TQString name; }; /** @@ -70,7 +70,7 @@ public: * @param pm A pointer to the pixmap. * @param overwrite Should an pixmap with the same name be overwritten? */ - void add(QString name, QPixmap *pm, bool overwrite=true); + void add(TQString name, TQPixmap *pm, bool overwrite=true); /** * Remove a pixmap from the server. This will delete the pixmap after @@ -78,21 +78,21 @@ public: * * @param name The name of the shared pixmap. */ - void remove(QString name); + void remove(TQString name); /** * List all pixmaps currently served by this server. * - * @return A QStringList containing all the shared pixmaps. + * @return A TQStringList containing all the shared pixmaps. */ - QStringList list(); + TQStringList list(); /** * Re-set ownership of the selection providing the shared pixmap. * * @param name The name of the shared pixmap. */ - void setOwner(QString name); + void setOwner(TQString name); signals: /** @@ -101,7 +101,7 @@ signals: * this server, though it can be served by another. You can re-aqcuire * the selection by calling setOwner(). */ - void selectionCleared(QString name); + void selectionCleared(TQString name); protected: bool x11Event(XEvent *); @@ -109,15 +109,15 @@ protected: private: Atom pixmap; - QMap m_Names; - QMap m_Selections; - QMap m_Data; - QMap m_Active; + TQMap m_Names; + TQMap m_Selections; + TQMap m_Data; + TQMap m_Active; - typedef QMap::Iterator NameIterator; - typedef QMap::Iterator SelectionIterator; - typedef QMap::Iterator DataIterator; - typedef QMap::Iterator AtomIterator; + typedef TQMap::Iterator NameIterator; + typedef TQMap::Iterator SelectionIterator; + typedef TQMap::Iterator DataIterator; + typedef TQMap::Iterator AtomIterator; }; -- cgit v1.2.1