Skip to content
Skip to link menu
Trinity API Reference
Trinity API Reference
tdeui
tdeui
tdeui
ksharedpixmap.h
1
/* vi: ts=8 sts=4 sw=4
2
*
3
* $Id$
4
*
5
* This file is part of the KDE libraries.
6
* Copyright (C) 1999,2000 Geert Jansen <jansen@kde.org>
7
*
8
* This library is free software; you can redistribute it and/or
9
* modify it under the terms of the GNU Library General Public
10
* License as published by the Free Software Foundation; either
11
* version 2 of the License, or (at your option) any later version.
12
*/
13
14
#ifndef __TDESharedPixmap_h_Included__
15
#define __TDESharedPixmap_h_Included__
16
17
#include <kpixmap.h>
18
19
#ifdef Q_MOC_RUN
20
#define Q_WS_X11
21
#endif // Q_MOC_RUN
22
23
#ifdef Q_WS_X11
24
25
#include <tqstring.h>
26
#include <tqpixmap.h>
27
#include <tqwidget.h>
28
29
class
TDESharedPixmapPrivate;
30
56
class
TDEUI_EXPORT TDESharedPixmap:
57
public
TQWidget,
58
public
KPixmap
59
{
60
Q_OBJECT
61
62
63
public
:
64
68
TDESharedPixmap();
69
73
~TDESharedPixmap();
74
88
bool
loadFromShared(
const
TQString & name,
const
TQRect & rect=TQRect());
89
96
bool
isAvailable(
const
TQString & name)
const
;
97
98
signals:
104
void
done(
bool
success);
105
106
protected
:
107
bool
x11Event(XEvent *);
108
109
private
:
110
bool
copy
(
const
TQString &
id
,
const
TQRect & rect);
111
void
init();
112
113
TDESharedPixmapPrivate *d;
114
};
115
#else // WIN32, Qt Embedded
116
// Let's simply assume KPixmap will do for now. Yes, I know that's broken.
117
#define TDESharedPixmap KPixmap
118
#endif
119
120
#endif
tdeui
Skip menu "tdeui"
Main Page
Namespace List
Class Hierarchy
Alphabetical List
Class List
File List
Namespace Members
Class Members
Related Pages
tdeui
Skip menu "tdeui"
arts
dcop
dnssd
interfaces
kspeech
interface
library
tdetexteditor
kate
kded
kdoctools
kimgio
kjs
libtdemid
libtdescreensaver
tdeabc
tdecmshell
tdecore
tdefx
tdehtml
tdeinit
tdeio
bookmarks
httpfilter
kpasswdserver
kssl
tdefile
tdeio
tdeioexec
tdeioslave
http
tdemdi
tdemdi
tdenewstuff
tdeparts
tdeprint
tderandr
tderesources
tdespell2
tdesu
tdeui
tdeunittest
tdeutils
tdewallet