summaryrefslogtreecommitdiffstats
path: root/kdeui/krestrictedline.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:46:43 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:46:43 +0000
commitffe8a83e053396df448e9413828527613ca3bd46 (patch)
treea73d4169e02df4a50f9a12cb165fcd0ab5bac7c6 /kdeui/krestrictedline.h
parent682bf3bfdcbcbb1fca85e8a36ed03e062e0555d5 (diff)
downloadtdelibs-ffe8a83e053396df448e9413828527613ca3bd46.tar.gz
tdelibs-ffe8a83e053396df448e9413828527613ca3bd46.zip
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdelibs@1157647 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kdeui/krestrictedline.h')
-rw-r--r--kdeui/krestrictedline.h22
1 files changed, 11 insertions, 11 deletions
diff --git a/kdeui/krestrictedline.h b/kdeui/krestrictedline.h
index 884b25782..7d13f40ca 100644
--- a/kdeui/krestrictedline.h
+++ b/kdeui/krestrictedline.h
@@ -30,33 +30,33 @@
/**
* @short A line editor for restricted character sets.
*
- * The KRestrictedLine widget is a variant of QLineEdit which
+ * The KRestrictedLine widget is a variant of TQLineEdit which
* accepts only a restricted set of characters as input.
* All other characters will be discarded and the signal invalidChar()
* will be emitted for each of them.
*
- * Valid characters can be passed as a QString to the constructor
+ * Valid characters can be passed as a TQString to the constructor
* or set afterwards via setValidChars().
- * The default key bindings of QLineEdit are still in effect.
+ * The default key bindings of TQLineEdit are still in effect.
*
* @author Michael Wiedmann <mw@miwie.in-berlin.de>
*/
class KDEUI_EXPORT KRestrictedLine : public KLineEdit
{
Q_OBJECT
- Q_PROPERTY( QString validChars READ validChars WRITE setValidChars )
+ Q_PROPERTY( TQString validChars READ validChars WRITE setValidChars )
public:
/**
* Constructor: This contructor takes three - optional - arguments.
- * The first two parameters are simply passed on to QLineEdit.
+ * The first two parameters are simply passed on to TQLineEdit.
* @param parent pointer to the parent widget
* @param name pointer to the name of this widget
* @param valid pointer to set of valid characters
*/
- KRestrictedLine( QWidget *parent=0, const char *name=0,
- const QString& valid = QString::null);
+ KRestrictedLine( TQWidget *parent=0, const char *name=0,
+ const TQString& valid = TQString::null);
/**
* Destructs the restricted line editor.
@@ -67,11 +67,11 @@ public:
* All characters in the string valid are treated as
* acceptable characters.
*/
- void setValidChars(const QString& valid);
+ void setValidChars(const TQString& valid);
/**
* @return the string of acceptable characters.
*/
- QString validChars() const;
+ TQString validChars() const;
signals:
@@ -81,10 +81,10 @@ signals:
void invalidChar(int);
protected:
- void keyPressEvent( QKeyEvent *e );
+ void keyPressEvent( TQKeyEvent *e );
private:
- /// QString of valid characters for this line
+ /// TQString of valid characters for this line
QString qsValidChars;
protected:
virtual void virtual_hook( int id, void* data );