diff options
author | Timothy Pearson <[email protected]> | 2013-01-31 00:36:34 -0600 |
---|---|---|
committer | Timothy Pearson <[email protected]> | 2013-01-31 00:36:34 -0600 |
commit | 12f3d421cd2991c0e3f96994efb836ce244172ff (patch) | |
tree | 1e5bd5e8b7521fe66d77c13b7df45df7d5f6dcd6 /tdeui/ksharedpixmap.cpp | |
parent | 21bc7541114fb026606284e45dc10e3320f39f1d (diff) | |
download | tdelibs-12f3d421cd2991c0e3f96994efb836ce244172ff.tar.gz tdelibs-12f3d421cd2991c0e3f96994efb836ce244172ff.zip |
Rename KShared
Diffstat (limited to 'tdeui/ksharedpixmap.cpp')
-rw-r--r-- | tdeui/ksharedpixmap.cpp | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/tdeui/ksharedpixmap.cpp b/tdeui/ksharedpixmap.cpp index 6789e0a64..b9e0e69c4 100644 --- a/tdeui/ksharedpixmap.cpp +++ b/tdeui/ksharedpixmap.cpp @@ -49,10 +49,10 @@ #undef FocusOut /** - * KSharedPixmap + * TDESharedPixmap */ -class KSharedPixmapPrivate +class TDESharedPixmapPrivate { public: Atom pixmap; @@ -61,21 +61,21 @@ public: TQRect rect; }; -KSharedPixmap::KSharedPixmap() +TDESharedPixmap::TDESharedPixmap() : TQWidget(0L, "shpixmap comm window") { - d = new KSharedPixmapPrivate; + d = new TDESharedPixmapPrivate; init(); } -KSharedPixmap::~KSharedPixmap() +TDESharedPixmap::~TDESharedPixmap() { delete d; } -void KSharedPixmap::init() +void TDESharedPixmap::init() { d->pixmap = XInternAtom(tqt_xdisplay(), "PIXMAP", false); TQCString atom; @@ -85,7 +85,7 @@ void KSharedPixmap::init() } -bool KSharedPixmap::isAvailable(const TQString & name) const +bool TDESharedPixmap::isAvailable(const TQString & name) const { TQString str = TQString("KDESHPIXMAP:%1").arg(name); Atom sel = XInternAtom(tqt_xdisplay(), str.latin1(), true); @@ -95,7 +95,7 @@ bool KSharedPixmap::isAvailable(const TQString & name) const } -bool KSharedPixmap::loadFromShared(const TQString & name, const TQRect & rect) +bool TDESharedPixmap::loadFromShared(const TQString & name, const TQRect & rect) { d->rect = rect; if (d->selection != None) @@ -120,7 +120,7 @@ bool KSharedPixmap::loadFromShared(const TQString & name, const TQRect & rect) } -bool KSharedPixmap::x11Event(XEvent *event) +bool TDESharedPixmap::x11Event(XEvent *event) { if (event->type != SelectionNotify) return false; |