author | tille <tille> | 2003-05-24 16:12:02 (UTC) |
---|---|---|
committer | tille <tille> | 2003-05-24 16:12:02 (UTC) |
commit | cc1aa3e178dff65854913bd5667579fc33ce707d (patch) (unidiff) | |
tree | d37d7fd8fb3b9832c0825b015af862f2cc62f473 /noncore/settings/networksettings/ppp/newwidget.cpp | |
parent | 5667ded1d4583cfb79b2ddfd7aaae0e58ed6d552 (diff) | |
download | opie-cc1aa3e178dff65854913bd5667579fc33ce707d.zip opie-cc1aa3e178dff65854913bd5667579fc33ce707d.tar.gz opie-cc1aa3e178dff65854913bd5667579fc33ce707d.tar.bz2 |
saves config (still in the kppp way)
Diffstat (limited to 'noncore/settings/networksettings/ppp/newwidget.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/settings/networksettings/ppp/newwidget.cpp | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/noncore/settings/networksettings/ppp/newwidget.cpp b/noncore/settings/networksettings/ppp/newwidget.cpp deleted file mode 100644 index d2182fb..0000000 --- a/noncore/settings/networksettings/ppp/newwidget.cpp +++ b/dev/null | |||
@@ -1,17 +0,0 @@ | |||
1 | ///////////////////////////////////////////////////////////////////////////// | ||
2 | // | ||
3 | // functions generating layout-aware widgets | ||
4 | // | ||
5 | ///////////////////////////////////////////////////////////////////////////// | ||
6 | |||
7 | #include "newwidget.h" | ||
8 | |||
9 | QLineEdit *newLineEdit(int visiblewidth, QWidget *parent) { | ||
10 | QLineEdit *l = new QLineEdit(parent); | ||
11 | if(visiblewidth == 0) | ||
12 | l->setMinimumWidth(l->sizeHint().width()); | ||
13 | else | ||
14 | l->setFixedWidth(l->fontMetrics().width('H') * visiblewidth); | ||
15 | |||
16 | return l; | ||
17 | } | ||