• 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 
44 class TDEUI_EXPORT KRestrictedLine : public KLineEdit
45 {
46  Q_OBJECT
47  TQ_PROPERTY( TQString validChars READ validChars WRITE setValidChars )
48 
49 public:
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 
76 signals:
77 
81  void invalidChar(int);
82 
83 protected:
84  void keyPressEvent( TQKeyEvent *e );
85 
86 private:
88  QString qsValidChars;
89 protected:
90  virtual void virtual_hook( int id, void* data );
91 private:
92  class KRestrictedLinePrivate* d;
93 };
94 
95 #endif // KRESTRICTEDLINE_H
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:44
KLineEdit
An enhanced TQLineEdit widget for inputting text.
Definition: klineedit.h:145

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
  •     tdecore
  • tdeabc
  • tdecmshell
  • tdecore
  • tdefx
  • tdehtml
  • tdeinit
  • tdeio
  •   bookmarks
  •   httpfilter
  •   kpasswdserver
  •   kssl
  • tdeioslave
  •   http
  •   tdefile
  •   tdeio
  •   tdeioexec
  • tdemdi
  •   tdemdi
  • tdenewstuff
  • tdeparts
  • tdeprint
  • tderandr
  • tderesources
  • tdespell2
  • tdesu
  • tdeui
  • tdeunittest
  • tdeutils
  • tdewallet
Generated for tdeui by doxygen 1.8.8
This website is maintained by Timothy Pearson.