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

tdeui

  • tdeui
twindowinfo.h
1/*
2 * copyright : (C) 2001-2002 by Richard Moore
3 * License : This file is released under the terms of the LGPL, version 2.
4 * email : rich@kde.org
5 */
6
7#ifndef KWINDOWINFO_H
8#define KWINDOWINFO_H
9
10#include <tqobject.h>
11#include <tqpixmap.h>
12#include <tqstring.h>
13
14#include <tdelibs_export.h>
15
39class TDEUI_EXPORT KWindowInfo : public TQObject
40{
41 TQ_OBJECT
42
43public:
47 KWindowInfo( TQWidget *parent, const char *name=0 );
48
52 virtual ~KWindowInfo();
53
57 bool autoDelete() const { return autoDel; }
58
63 void setAutoDelete( bool enable ) { autoDel = enable; }
64
69 static void showMessage( TQWidget *window, const TQString &text, int timeout = -1 );
70
75 static void showMessage( TQWidget *window, const TQString &text,
76 const TQPixmap &pix, int timeout = -1 );
77
78public slots:
82 void message( const TQString &text );
83
87 void message( const TQString &text, const TQPixmap &pix );
88
92 void message( const TQString &text, int timeout );
93
101 void message( const TQString &text, const TQPixmap &pix, int timeout );
102
106 void permanent( const TQString &text );
107
111 void permanent( const TQString &text, const TQPixmap &pix );
112
113protected:
117 virtual void display( const TQString &text, const TQPixmap &pix );
118
119protected slots:
123 virtual void save();
124
129 virtual void restore();
130
131private:
132 TQWidget *win;
133 TQPixmap oldIcon;
134 TQPixmap oldMiniIcon;
135 TQString oldText;
136 bool autoDel;
137
138 /* @internal */
139 class Private *d;
140};
141
142#endif // KWINDOWINFO_H
143
KWindowInfo
Displays messages in the window icon and title.
Definition: twindowinfo.h:40
KWindowInfo::autoDelete
bool autoDelete() const
Returns true iff the object should delete itself when it resets.
Definition: twindowinfo.h:57
KWindowInfo::setAutoDelete
void setAutoDelete(bool enable)
Set to true if you want the object to delete itself when the message timeout occurs.
Definition: twindowinfo.h:63

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.