summaryrefslogtreecommitdiff
path: root/noncore
authortille <tille>2003-05-12 11:59:38 (UTC)
committer tille <tille>2003-05-12 11:59:38 (UTC)
commit65a043f4ac4b43967947c1e8d99c629bb993f065 (patch) (side-by-side diff)
treead253467cc0ae1ef98b7967b4b84d7b0174c5e8c /noncore
parent47a67025a4d34635877ece741def266e28e46db8 (diff)
downloadopie-65a043f4ac4b43967947c1e8d99c629bb993f065.zip
opie-65a043f4ac4b43967947c1e8d99c629bb993f065.tar.gz
opie-65a043f4ac4b43967947c1e8d99c629bb993f065.tar.bz2
ok button gone
Diffstat (limited to 'noncore') (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/apps/confedit/mainwindow.cpp12
-rw-r--r--noncore/apps/confedit/mainwindow.h2
2 files changed, 7 insertions, 7 deletions
diff --git a/noncore/apps/confedit/mainwindow.cpp b/noncore/apps/confedit/mainwindow.cpp
index 3b8042f..8e36980 100644
--- a/noncore/apps/confedit/mainwindow.cpp
+++ b/noncore/apps/confedit/mainwindow.cpp
@@ -35,8 +35,8 @@
MainWindow::MainWindow( QWidget *parent, const char *name, WFlags f ) :
- QDialog( parent, name, f ), _currentItem(0), _fileItem(0)
-{
+ QMainWindow( parent, name, f ), _currentItem(0), _fileItem(0)
+{
setCaption( tr("Conf File Editor") );
// setBaseSize( qApp->globalStrut() );
@@ -63,7 +63,7 @@ MainWindow::MainWindow( QWidget *parent, const char *name, WFlags f ) :
connect(settingList, SIGNAL( pressed(QListViewItem*) ),
this, SLOT(setCurrent(QListViewItem*)));
connect( settingList, SIGNAL( clicked( QListViewItem* ) ),
- this, SLOT( stopTimer( QListViewItem* ) ) );
+ this, SLOT( stopTimer( QListViewItem* ) ) );
connect( editor->LineEditGroup, SIGNAL( textChanged(const QString&) ),
SLOT( groupChanged(const QString&) ) );
@@ -170,19 +170,19 @@ void MainWindow::stopTimer( QListViewItem* )
void MainWindow::saveConfFile()
{
- if (!_fileItem) return;
+ if (!_fileItem) return;
_fileItem->save();
}
void MainWindow::revertConfFile()
{
- if (!_item) return;
+ if (!_item) return;
_item->revert();
}
void MainWindow::removeConfFile()
{
- if (!_item) return;
+ if (!_item) return;
_item->remove();
}
diff --git a/noncore/apps/confedit/mainwindow.h b/noncore/apps/confedit/mainwindow.h
index 5be4a86..878558a 100644
--- a/noncore/apps/confedit/mainwindow.h
+++ b/noncore/apps/confedit/mainwindow.h
@@ -24,7 +24,7 @@ class ListViewItemConfFile;
class ListViewConfDir;
class ListViewItemConf;
-class MainWindow : public QDialog//QMainWindow
+class MainWindow : public QMainWindow
{
Q_OBJECT