mirror of
https://bitbucket.org/smil3y/kde-playground.git
synced 2025-02-24 02:42:51 +00:00
64 lines
1.7 KiB
C++
64 lines
1.7 KiB
C++
/*
|
|
Copyright 2010 Olivier Trichet <nive@nivalis.org>
|
|
|
|
Permission to use, copy, modify, and distribute this software
|
|
and its documentation for any purpose and without fee is hereby
|
|
granted, provided that the above copyright notice appear in all
|
|
copies and that both that the copyright notice and this
|
|
permission notice and warranty disclaimer appear in supporting
|
|
documentation, and that the name of the author not be used in
|
|
advertising or publicity pertaining to distribution of the
|
|
software without specific, written prior permission.
|
|
|
|
The author disclaim all warranties with regard to this
|
|
software, including all implied warranties of merchantability
|
|
and fitness. In no event shall the author be liable for any
|
|
special, indirect or consequential damages or any damages
|
|
whatsoever resulting from loss of use, data or profits, whether
|
|
in an action of contract, negligence or other tortious action,
|
|
arising out of or in connection with the use or performance of
|
|
this software.
|
|
*/
|
|
|
|
#ifndef KNODE_COMPOSER_FOLLOWUPTOCOMBOBOX_H
|
|
#define KNODE_COMPOSER_FOLLOWUPTOCOMBOBOX_H
|
|
|
|
#include <KComboBox>
|
|
|
|
namespace KNode {
|
|
namespace Composer {
|
|
|
|
/**
|
|
@brief Wrapper around a KCombobox that em
|
|
*/
|
|
class FollowuptoCombobox : public KComboBox
|
|
{
|
|
Q_OBJECT
|
|
|
|
public:
|
|
/**
|
|
Constructor.
|
|
*/
|
|
explicit FollowuptoCombobox( QWidget *parent = 0 );
|
|
/**
|
|
Destructor.
|
|
*/
|
|
virtual ~FollowuptoCombobox();
|
|
|
|
signals:
|
|
/**
|
|
This signals is emitted when this widget get the focus.
|
|
*/
|
|
void focused();
|
|
|
|
protected:
|
|
/**
|
|
Reimplemented to emit the focused() signal.
|
|
*/
|
|
virtual void focusInEvent( QFocusEvent *event );
|
|
};
|
|
|
|
} // namespace Composer
|
|
} // namespace KNode
|
|
|
|
#endif
|