diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:33:34 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:33:34 +0000 |
commit | c663b6440964f6ac48027143ac9e63298991f9d0 (patch) | |
tree | 6d8b0c5a5f9db1ee16acf98b1397cea9126b281d /kdesktop/pixmapserver.cc | |
parent | a061f7191beebb0e4a3b0c0a7c534ec5f22f2dc7 (diff) | |
download | tdebase-c663b6440964f6ac48027143ac9e63298991f9d0.tar.gz tdebase-c663b6440964f6ac48027143ac9e63298991f9d0.zip |
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdebase@1157639 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kdesktop/pixmapserver.cc')
-rw-r--r-- | kdesktop/pixmapserver.cc | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/kdesktop/pixmapserver.cc b/kdesktop/pixmapserver.cc index ba66ef966..bc869d341 100644 --- a/kdesktop/pixmapserver.cc +++ b/kdesktop/pixmapserver.cc @@ -37,7 +37,7 @@ KPixmapServer::KPixmapServer() - : QWidget(0L, "shpixmap comm window") + : TQWidget(0L, "shpixmap comm window") { kapp->installX11EventFilter(this); pixmap = XInternAtom(qt_xdisplay(), "PIXMAP", false); @@ -56,7 +56,7 @@ KPixmapServer::~KPixmapServer() } -void KPixmapServer::add(QString name, QPixmap *pm, bool overwrite) +void KPixmapServer::add(TQString name, TQPixmap *pm, bool overwrite) { if (m_Names.contains(name)) { @@ -65,7 +65,7 @@ void KPixmapServer::add(QString name, QPixmap *pm, bool overwrite) else return; } - QString str = QString("KDESHPIXMAP:%1").arg(name); + TQString str = TQString("KDESHPIXMAP:%1").arg(name); Atom sel = XInternAtom(qt_xdisplay(), str.latin1(), false); KPixmapInode pi; pi.handle = pm->handle(); @@ -92,7 +92,7 @@ void KPixmapServer::add(QString name, QPixmap *pm, bool overwrite) } -void KPixmapServer::remove(QString name) +void KPixmapServer::remove(TQString name) { // Remove the name NameIterator it = m_Names.find(name); @@ -119,9 +119,9 @@ void KPixmapServer::remove(QString name) } -QStringList KPixmapServer::list() +TQStringList KPixmapServer::list() { - QStringList lst; + TQStringList lst; NameIterator it; for (it=m_Names.begin(); it!=m_Names.end(); it++) lst += it.key(); @@ -129,7 +129,7 @@ QStringList KPixmapServer::list() } -void KPixmapServer::setOwner(QString name) +void KPixmapServer::setOwner(TQString name) { NameIterator it = m_Names.find(name); if (it == m_Names.end()) |