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

tdeui

  • tdeui
krestrictedline.h
1/*
2 *
3 * $Id$
4 *
5 * Definition of KRestrictedLine
6 *
7 * Copyright (C) 1997 Michael Wiedmann, <mw@miwie.in-berlin.de>
8 *
9 * This library is free software; you can redistribute it and/or
10 * modify it under the terms of the GNU Library General Public
11 * License as published by the Free Software Foundation; either
12 * version 2 of the License, or (at your option) any later version.
13 *
14 * This library is distributed in the hope that it will be useful,
15 * but WITHOUT ANY WARRANTY; without even the implied warranty of
16 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
17 * Library General Public License for more details.
18 *
19 * You should have received a copy of the GNU Library General Public
20 * License along with this library; if not, write to the Free
21 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
22 *
23 */
24
25#ifndef KRESTRICTEDLINE_H
26#define KRESTRICTEDLINE_H
27
28#include <klineedit.h>
29
44class TDEUI_EXPORT KRestrictedLine : public KLineEdit
45{
46 TQ_OBJECT
47 TQ_PROPERTY( TQString validChars READ validChars WRITE setValidChars )
48
49public:
50
58 KRestrictedLine( TQWidget *parent=0, const char *name=0,
59 const TQString& valid = TQString::null);
60
64 ~KRestrictedLine();
65
70 void setValidChars(const TQString& valid);
74 TQString validChars() const;
75
76signals:
77
81 void invalidChar(int);
82
83protected:
84 void keyPressEvent( TQKeyEvent *e );
85
86private:
88 TQString qsValidChars;
89protected:
90 virtual void virtual_hook( int id, void* data );
91private:
92 class KRestrictedLinePrivate* d;
93};
94
95#endif // KRESTRICTEDLINE_H
KLineEdit
An enhanced TQLineEdit widget for inputting text.
Definition: klineedit.h:146
KLineEdit::keyPressEvent
virtual void keyPressEvent(TQKeyEvent *)
Re-implemented for internal reasons.
Definition: klineedit.cpp:440
KRestrictedLine
A line editor for restricted character sets.
Definition: krestrictedline.h:45
KRestrictedLine::invalidChar
void invalidChar(int)
Emitted when an invalid character was typed.

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.