author | tille <tille> | 2003-09-03 15:49:42 (UTC) |
---|---|---|
committer | tille <tille> | 2003-09-03 15:49:42 (UTC) |
commit | 577cdc4f2ce81eaceb132af08d8ab6fe12b4eadc (patch) (side-by-side diff) | |
tree | 56416720d3c76eb8be931fbc27a82a7a7c5c5967 /noncore/apps/confedit/mainwindow.cpp | |
parent | 9bcca67b731d0cf3c10092ec31234d5d03cef5cd (diff) | |
download | opie-577cdc4f2ce81eaceb132af08d8ab6fe12b4eadc.zip opie-577cdc4f2ce81eaceb132af08d8ab6fe12b4eadc.tar.gz opie-577cdc4f2ce81eaceb132af08d8ab6fe12b4eadc.tar.bz2 |
libopie2fied
it was always a test app ;)
Diffstat (limited to 'noncore/apps/confedit/mainwindow.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/apps/confedit/mainwindow.cpp | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/noncore/apps/confedit/mainwindow.cpp b/noncore/apps/confedit/mainwindow.cpp index 8e36980..58538af 100644 --- a/noncore/apps/confedit/mainwindow.cpp +++ b/noncore/apps/confedit/mainwindow.cpp @@ -1,54 +1,55 @@ /*************************************************************************** * * * This program is free software; you can redistribute it and/or modify * * it under the terms of the GNU General Public License as published by * * the Free Software Foundation; either version 2 of the License, or * * (at your option) any later version. * * * ***************************************************************************/ // (c) 2002 Patrick S. Vogt <tille@handhelds.org> #include "mainwindow.h" -#include <qpe/qpemenubar.h> -#include <qpe/qpemessagebox.h> -#include <qpe/resource.h> -#include <qpe/config.h> -#include <qpe/qpetoolbar.h> -#include <qpe/qpeapplication.h> +#include <opie2/omenubar.h> +#include <opie2/omessagebox.h> +#include <opie2/oresource.h> +#include <opie2/oconfig.h> +#include <opie2/otoolbar.h> +#include <opie2/oapplication.h> #include <qaction.h> #include <qmessagebox.h> #include <qpopupmenu.h> #include <qtoolbutton.h> #include <qstring.h> #include <qlabel.h> #include <qfile.h> #include <qpushbutton.h> #include <qlayout.h> #include <qlineedit.h> +#include <qcursor.h> #include "listviewconfdir.h" #include "listviewitemconf.h" #include "listviewitemconfigentry.h" MainWindow::MainWindow( QWidget *parent, const char *name, WFlags f ) : QMainWindow( parent, name, f ), _currentItem(0), _fileItem(0) { setCaption( tr("Conf File Editor") ); // setBaseSize( qApp->globalStrut() ); setSizePolicy( QSizePolicy( QSizePolicy::MinimumExpanding, QSizePolicy::MinimumExpanding));//, sizePolicy().hasHeightForWidth() ) ); mainLayout = new QVBoxLayout( this ); mainLayout->setSpacing( 0 ); mainLayout->setMargin( 0 ); qDebug("creating settingList"); settingList = new ListViewConfDir( QDir::homeDirPath() + "/Settings", this, "settingslist"); settingList->setSizePolicy( QSizePolicy( QSizePolicy::MinimumExpanding, QSizePolicy::MinimumExpanding));//, sizePolicy().hasHeightForWidth() ) ); mainLayout->addWidget( settingList, 0); |