summaryrefslogtreecommitdiff
path: root/noncore/apps/confedit/mainwindow.h
Side-by-side diff
Diffstat (limited to 'noncore/apps/confedit/mainwindow.h') (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/apps/confedit/mainwindow.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/noncore/apps/confedit/mainwindow.h b/noncore/apps/confedit/mainwindow.h
index 96331db..23aca52 100644
--- a/noncore/apps/confedit/mainwindow.h
+++ b/noncore/apps/confedit/mainwindow.h
@@ -1,68 +1,68 @@
/***************************************************************************
* *
* 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>
#ifndef MAINWINDOW_H
#define MAINWINDOW_H
#include <qmainwindow.h>
#include <qdialog.h>
#include <qaction.h>
#include <qtimer.h>
#include <qpopupmenu.h>
#include "editwidget.h"
-class QPEToolBar;
+class QToolBar;
class ListViewItemConfFile;
class ListViewConfDir;
class ListViewItemConf;
class MainWindow : public QMainWindow
{
Q_OBJECT
public:
MainWindow( QWidget *parent = 0, const char *name = 0, WFlags f = 0 );
~MainWindow();
static QString appName() { return QString::fromLatin1("confedit"); }
public slots:
void setCurrent(QListViewItem*);
void groupChanged(const QString&);
void keyChanged(const QString&);
void valueChanged(const QString&);
void showPopup();
void stopTimer( QListViewItem* );
void saveConfFile();
void revertConfFile();
void removeConfFile();
private:
ListViewConfDir *settingList;
EditWidget *editor;
QVBoxLayout *mainLayout;
ListViewItemConf *_item;
ListViewItemConfigEntry *_currentItem;
ListViewItemConfFile *_fileItem;
QTimer *popupTimer;
QPopupMenu *popupMenuFile;
QPopupMenu *popupMenuEntry;
QAction *popupActionSave;
QAction *popupActionRevert;
QAction *popupActionDelete;
QAction *popupActionNew;
// QAction *popupAction;
// QAction *popupAction;
void makeMenu();
};
#endif