summaryrefslogtreecommitdiffstats
path: root/kppp/iplined.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kppp/iplined.cpp')
-rw-r--r--kppp/iplined.cpp10
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;
}