author | llornkcor <llornkcor> | 2002-03-10 03:22:06 (UTC) |
---|---|---|
committer | llornkcor <llornkcor> | 2002-03-10 03:22:06 (UTC) |
commit | 115b05c0aa6e11d8a0265f2e6806bdf9d03a404a (patch) (side-by-side diff) | |
tree | 2d1648da4632fa2d248159a26abf2da30dff379e /core/apps/textedit/fileSaver.h | |
parent | 637cea2664defb5414a3897f70b616deba926ffe (diff) | |
download | opie-115b05c0aa6e11d8a0265f2e6806bdf9d03a404a.zip opie-115b05c0aa6e11d8a0265f2e6806bdf9d03a404a.tar.gz opie-115b05c0aa6e11d8a0265f2e6806bdf9d03a404a.tar.bz2 |
added a documents and hidden file buttons to fileSaver and fileBrowser
Diffstat (limited to 'core/apps/textedit/fileSaver.h') (more/less context) (ignore whitespace changes)
-rw-r--r-- | core/apps/textedit/fileSaver.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/core/apps/textedit/fileSaver.h b/core/apps/textedit/fileSaver.h index 526085d..195a775 100644 --- a/core/apps/textedit/fileSaver.h +++ b/core/apps/textedit/fileSaver.h @@ -22,53 +22,54 @@ copyright Sun 02-17-2002 22:28:48 L. J. Potter ljp@llornkcor.com #include <qdir.h> #include <qstringlist.h> #include <qlabel.h> #include <qstring.h> class QVBoxLayout; class QHBoxLayout; class QGridLayout; class QListView; class QListViewItem; class QPushButton; class QLineEdit; class QCheckBox; class fileSaver : public QDialog { Q_OBJECT public: void populateList(); fileSaver( QWidget* parent = 0, const char* name = 0, bool modal = FALSE, WFlags fl = 0 ,const QString filter=0); ~fileSaver(); QLineEdit *fileEdit; - QPushButton* buttonOk; + QPushButton *buttonOk, *buttonCancel, *homeButton, *docButton, *hideButton; QListView* ListView; - QPushButton* buttonCancel; QLabel *dirLabel; QString selectedFileName, filterStr; QDir currentDir; QFile file; QStringList fileList; QCheckBox *filePermCheck; QListViewItem * item; public slots: -void homeButtonPushed(); + void homeButtonPushed(); + void docButtonPushed(); + void hideButtonPushed(bool); private: private slots: void accept(); void upDir(); void listDoubleClicked(QListViewItem *); void listClicked(QListViewItem *); void closeEvent( QCloseEvent * ); protected slots: protected: }; #endif // FILESAVER_H |