You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
52 lines
1.1 KiB
52 lines
1.1 KiB
15 years ago
|
/*****************************************************************
|
||
|
KWin - the KDE window manager
|
||
|
This file is part of the KDE project.
|
||
|
|
||
|
Copyright (C) 1999, 2000 Matthias Ettrich <ettrich@kde.org>
|
||
|
Copyright (C) 2003 Lubos Lunak <l.lunak@kde.org>
|
||
|
|
||
|
You can Freely distribute this program under the GNU General Public
|
||
|
License. See the file "COPYING" for the exact licensing terms.
|
||
|
******************************************************************/
|
||
|
|
||
|
#ifndef KWIN_POPUPINFO_H
|
||
|
#define KWIN_POPUPINFO_H
|
||
14 years ago
|
#include <tqwidget.h>
|
||
|
#include <tqtimer.h>
|
||
|
#include <tqvaluelist.h>
|
||
15 years ago
|
|
||
|
namespace KWinInternal
|
||
|
{
|
||
|
|
||
|
class Workspace;
|
||
|
|
||
14 years ago
|
class PopupInfo : public TQWidget
|
||
15 years ago
|
{
|
||
|
Q_OBJECT
|
||
|
public:
|
||
15 years ago
|
PopupInfo( Workspace* ws, const char *name=0 );
|
||
15 years ago
|
~PopupInfo();
|
||
|
|
||
|
void reset();
|
||
|
void hide();
|
||
14 years ago
|
void showInfo(TQString infoString);
|
||
15 years ago
|
|
||
|
void reconfigure();
|
||
|
|
||
|
protected:
|
||
14 years ago
|
void paintEvent( TQPaintEvent* );
|
||
15 years ago
|
void paintContents();
|
||
|
|
||
|
private:
|
||
14 years ago
|
TQTimer m_delayedHideTimer;
|
||
15 years ago
|
int m_delayTime;
|
||
|
bool m_show;
|
||
|
bool m_shown;
|
||
14 years ago
|
TQString m_infoString;
|
||
15 years ago
|
Workspace* workspace;
|
||
15 years ago
|
};
|
||
|
|
||
|
} // namespace
|
||
|
|
||
|
#endif
|