author | tille <tille> | 2002-07-22 11:47:23 (UTC) |
---|---|---|
committer | tille <tille> | 2002-07-22 11:47:23 (UTC) |
commit | cc50810321a804901b4be82f6f42d98208aea81c (patch) (unidiff) | |
tree | 029f6c267991043e2779c18abf068e59378818f7 | |
parent | 286aca1e843b99a5f5f6cc42f3bd97a868a72fff (diff) | |
download | opie-cc50810321a804901b4be82f6f42d98208aea81c.zip opie-cc50810321a804901b4be82f6f42d98208aea81c.tar.gz opie-cc50810321a804901b4be82f6f42d98208aea81c.tar.bz2 |
and get rid of stdlib again
-rw-r--r-- | noncore/apps/confedit/mainwindow.cpp | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/noncore/apps/confedit/mainwindow.cpp b/noncore/apps/confedit/mainwindow.cpp index 45dbcb4..3b8042f 100644 --- a/noncore/apps/confedit/mainwindow.cpp +++ b/noncore/apps/confedit/mainwindow.cpp | |||
@@ -12,49 +12,48 @@ | |||
12 | 12 | ||
13 | #include "mainwindow.h" | 13 | #include "mainwindow.h" |
14 | 14 | ||
15 | #include <qpe/qpemenubar.h> | 15 | #include <qpe/qpemenubar.h> |
16 | #include <qpe/qpemessagebox.h> | 16 | #include <qpe/qpemessagebox.h> |
17 | #include <qpe/resource.h> | 17 | #include <qpe/resource.h> |
18 | #include <qpe/config.h> | 18 | #include <qpe/config.h> |
19 | #include <qpe/qpetoolbar.h> | 19 | #include <qpe/qpetoolbar.h> |
20 | #include <qpe/qpeapplication.h> | 20 | #include <qpe/qpeapplication.h> |
21 | #include <qaction.h> | 21 | #include <qaction.h> |
22 | #include <qmessagebox.h> | 22 | #include <qmessagebox.h> |
23 | #include <qpopupmenu.h> | 23 | #include <qpopupmenu.h> |
24 | #include <qtoolbutton.h> | 24 | #include <qtoolbutton.h> |
25 | #include <qstring.h> | 25 | #include <qstring.h> |
26 | #include <qlabel.h> | 26 | #include <qlabel.h> |
27 | #include <qfile.h> | 27 | #include <qfile.h> |
28 | #include <qpushbutton.h> | 28 | #include <qpushbutton.h> |
29 | #include <qlayout.h> | 29 | #include <qlayout.h> |
30 | #include <qlineedit.h> | 30 | #include <qlineedit.h> |
31 | 31 | ||
32 | #include "listviewconfdir.h" | 32 | #include "listviewconfdir.h" |
33 | #include "listviewitemconf.h" | 33 | #include "listviewitemconf.h" |
34 | #include "listviewitemconfigentry.h" | 34 | #include "listviewitemconfigentry.h" |
35 | 35 | ||
36 | #include <stdlib.h> | ||
37 | 36 | ||
38 | MainWindow::MainWindow( QWidget *parent, const char *name, WFlags f ) : | 37 | MainWindow::MainWindow( QWidget *parent, const char *name, WFlags f ) : |
39 | QDialog( parent, name, f ), _currentItem(0), _fileItem(0) | 38 | QDialog( parent, name, f ), _currentItem(0), _fileItem(0) |
40 | { | 39 | { |
41 | setCaption( tr("Conf File Editor") ); | 40 | setCaption( tr("Conf File Editor") ); |
42 | 41 | ||
43 | //setBaseSize( qApp->globalStrut() ); | 42 | //setBaseSize( qApp->globalStrut() ); |
44 | setSizePolicy( QSizePolicy( QSizePolicy::MinimumExpanding, QSizePolicy::MinimumExpanding));//, sizePolicy().hasHeightForWidth() ) ); | 43 | setSizePolicy( QSizePolicy( QSizePolicy::MinimumExpanding, QSizePolicy::MinimumExpanding));//, sizePolicy().hasHeightForWidth() ) ); |
45 | 44 | ||
46 | mainLayout = new QVBoxLayout( this ); | 45 | mainLayout = new QVBoxLayout( this ); |
47 | mainLayout->setSpacing( 0 ); | 46 | mainLayout->setSpacing( 0 ); |
48 | mainLayout->setMargin( 0 ); | 47 | mainLayout->setMargin( 0 ); |
49 | 48 | ||
50 | 49 | ||
51 | qDebug("creating settingList"); | 50 | qDebug("creating settingList"); |
52 | settingList = new ListViewConfDir( QDir::homeDirPath() + "/Settings", this, "settingslist"); | 51 | settingList = new ListViewConfDir( QDir::homeDirPath() + "/Settings", this, "settingslist"); |
53 | settingList->setSizePolicy( QSizePolicy( QSizePolicy::MinimumExpanding, QSizePolicy::MinimumExpanding));//, sizePolicy().hasHeightForWidth() ) ); | 52 | settingList->setSizePolicy( QSizePolicy( QSizePolicy::MinimumExpanding, QSizePolicy::MinimumExpanding));//, sizePolicy().hasHeightForWidth() ) ); |
54 | mainLayout->addWidget( settingList, 0); | 53 | mainLayout->addWidget( settingList, 0); |
55 | 54 | ||
56 | qDebug("creating editor"); | 55 | qDebug("creating editor"); |
57 | editor = new EditWidget(this); | 56 | editor = new EditWidget(this); |
58 | editor->setSizePolicy( QSizePolicy( QSizePolicy::Minimum, QSizePolicy::Maximum));//, sizePolicy().hasHeightForWidth() ) ); | 57 | editor->setSizePolicy( QSizePolicy( QSizePolicy::Minimum, QSizePolicy::Maximum));//, sizePolicy().hasHeightForWidth() ) ); |
59 | mainLayout->addWidget( editor, 1 ); | 58 | mainLayout->addWidget( editor, 1 ); |
60 | editor->layoutType( ListViewItemConf::File ); | 59 | editor->layoutType( ListViewItemConf::File ); |