summaryrefslogtreecommitdiff
path: root/core/apps/textedit/fileSaver.h
Unidiff
Diffstat (limited to 'core/apps/textedit/fileSaver.h') (more/less context) (ignore whitespace changes)
-rw-r--r--core/apps/textedit/fileSaver.h75
1 files changed, 0 insertions, 75 deletions
diff --git a/core/apps/textedit/fileSaver.h b/core/apps/textedit/fileSaver.h
deleted file mode 100644
index 195a775..0000000
--- a/core/apps/textedit/fileSaver.h
+++ b/dev/null
@@ -1,75 +0,0 @@
1/****************************************************************************
2**
3** Created: Fri Dec 14 08:16:02 2001 fileSaver.h
4**
5copyright Sun 02-17-2002 22:28:48 L. J. Potter ljp@llornkcor.com
6
7** This file may be distributed and/or modified under the terms of the
8** GNU General Public License version 2 as published by the Free Software
9** Foundation and appearing in the file LICENSE.GPL included in the
10** packaging of this file.
11**
12** This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE
13** WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
14**
15****************************************************************************/
16#ifndef FILESAVER_H
17#define FILESAVER_H
18
19//#include <qvariant.h>
20#include <qdialog.h>
21#include <qfile.h>
22#include <qdir.h>
23#include <qstringlist.h>
24#include <qlabel.h>
25#include <qstring.h>
26
27class QVBoxLayout;
28class QHBoxLayout;
29class QGridLayout;
30class QListView;
31class QListViewItem;
32class QPushButton;
33class QLineEdit;
34class QCheckBox;
35
36class fileSaver : public QDialog
37{
38 Q_OBJECT
39
40public:
41 void populateList();
42 fileSaver( QWidget* parent = 0, const char* name = 0, bool modal = FALSE, WFlags fl = 0 ,const QString filter=0);
43 ~fileSaver();
44 QLineEdit *fileEdit;
45
46 QPushButton *buttonOk, *buttonCancel, *homeButton, *docButton, *hideButton;
47 QListView* ListView;
48 QLabel *dirLabel;
49 QString selectedFileName, filterStr;
50 QDir currentDir;
51 QFile file;
52 QStringList fileList;
53 QCheckBox *filePermCheck;
54
55QListViewItem * item;
56public slots:
57 void homeButtonPushed();
58 void docButtonPushed();
59 void hideButtonPushed(bool);
60private:
61
62private slots:
63 void accept();
64 void upDir();
65 void listDoubleClicked(QListViewItem *);
66 void listClicked(QListViewItem *);
67 void closeEvent( QCloseEvent * );
68
69protected slots:
70
71protected:
72
73};
74
75#endif // FILESAVER_H