diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:48:06 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:48:06 +0000 |
commit | 47c8a359c5276062c4bc17f0e82410f29081b502 (patch) | |
tree | 2d54a5f60a5b74067632f9ef6df58c2bc38155e6 /kppp/iplined.cpp | |
parent | 6f82532777a35e0e60bbd2b290b2e93e646f349b (diff) | |
download | tdenetwork-47c8a359c5276062c4bc17f0e82410f29081b502.tar.gz tdenetwork-47c8a359c5276062c4bc17f0e82410f29081b502.zip |
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdenetwork@1157648 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kppp/iplined.cpp')
-rw-r--r-- | kppp/iplined.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/kppp/iplined.cpp b/kppp/iplined.cpp index f63c446f..197b13a6 100644 --- a/kppp/iplined.cpp +++ b/kppp/iplined.cpp @@ -26,17 +26,17 @@ #include "iplined.h" -IPLineEdit::IPLineEdit( QWidget *parent, const char *name ) +IPLineEdit::IPLineEdit( TQWidget *parent, const char *name ) : KRestrictedLine(parent, name, "0123456789.") { setMaxLength(3 * 4 + 1 * 3); } -QSize IPLineEdit::sizeHint() const { - QFontMetrics fm = fontMetrics(); +TQSize IPLineEdit::sizeHint() const { + TQFontMetrics fm = fontMetrics(); - QSize s; - s.setHeight(QLineEdit::sizeHint().height()); + TQSize s; + s.setHeight(TQLineEdit::sizeHint().height()); s.setWidth(fm.boundingRect("888.888.888.888XX").width()); return s; } |