diff options
author | toma <toma@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2009-11-25 17:56:58 +0000 |
---|---|---|
committer | toma <toma@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2009-11-25 17:56:58 +0000 |
commit | bcb704366cb5e333a626c18c308c7e0448a8e69f (patch) | |
tree | f0d6ab7d78ecdd9207cf46536376b44b91a1ca71 /ksirc/charSelector.h | |
download | tdenetwork-bcb704366cb5e333a626c18c308c7e0448a8e69f.tar.gz tdenetwork-bcb704366cb5e333a626c18c308c7e0448a8e69f.zip |
Copy the KDE 3.5 branch to branches/trinity for new KDE 3.5 features.
BUG:215923
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdenetwork@1054174 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'ksirc/charSelector.h')
-rw-r--r-- | ksirc/charSelector.h | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/ksirc/charSelector.h b/ksirc/charSelector.h new file mode 100644 index 00000000..927cb5e5 --- /dev/null +++ b/ksirc/charSelector.h @@ -0,0 +1,42 @@ +/* ascii table for ksirc - Robbie Ward <linuxphreak@gmx.co.uk>*/ + +#ifndef CHARSELECTOR_H +#define CHARSELECTOR_H + +#include <kdialog.h> +#include <kdebug.h> +#include <kcharselect.h> + +class QVBoxLayout; +class QPushButton; + +class charSelector : public KDialog +{ + Q_OBJECT + public: + charSelector(QWidget *parent=0, const char *name=0); + ~charSelector(); + + virtual bool eventFilter ( QObject * watched, QEvent * e ); + + public slots: + void insertText(); + QString currentText() { return charSelect->chr(); } + + void setFont( const QString &font ); + + protected slots: + virtual void reject(); + + signals: + void clicked(); + + protected: + virtual void keyPressEvent(QKeyEvent *e); + + private: + KCharSelect *charSelect; + QVBoxLayout* testLayout; + QPushButton *insertButton; +}; +#endif |