• Skip to content
  • Skip to link menu
Trinity API Reference
  • Trinity API Reference
  • tdeui
 

tdeui

  • tdeui
ksharedpixmap.h
1/*
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 TQ_WS_X11
20
21#include <tqstring.h>
22#include <tqpixmap.h>
23#include <tqwidget.h>
24
25class TDESharedPixmapPrivate;
26
52class TDEUI_EXPORT TDESharedPixmap:
53 public TQWidget,
54 public KPixmap
55{
56 TQ_OBJECT
57
58
59public:
60
64 TDESharedPixmap();
65
69 ~TDESharedPixmap();
70
84 bool loadFromShared(const TQString & name, const TQRect & rect=TQRect());
85
92 bool isAvailable(const TQString & name) const;
93
94signals:
100 void done(bool success);
101
102protected:
103 bool x11Event(XEvent *);
104
105private:
106 bool copy(const TQString & id, const TQRect & rect);
107 void init();
108
109 TDESharedPixmapPrivate *d;
110};
111#else // WIN32, Qt Embedded
112// Let's simply assume KPixmap will do for now. Yes, I know that's broken.
113#define TDESharedPixmap KPixmap
114#endif
115
116#endif
KPixmap
TDEStdAccel::copy
const TDEShortcut & copy()

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
Generated for tdeui by doxygen 1.9.4
This website is maintained by Timothy Pearson.