summaryrefslogtreecommitdiff
path: root/noncore/unsupported/filebrowser/filebrowser.h
Unidiff
Diffstat (limited to 'noncore/unsupported/filebrowser/filebrowser.h') (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/unsupported/filebrowser/filebrowser.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/noncore/unsupported/filebrowser/filebrowser.h b/noncore/unsupported/filebrowser/filebrowser.h
index 2e9e444..c214dbe 100644
--- a/noncore/unsupported/filebrowser/filebrowser.h
+++ b/noncore/unsupported/filebrowser/filebrowser.h
@@ -53,9 +53,9 @@ class FileView : public QListView
53 Q_OBJECT 53 Q_OBJECT
54 54
55public: 55public:
56 FileView( const QString & dir, QWidget * parent = 0, 56 FileView( const QString & dir, QWidget * parent = 0,
57 const char * name = 0 ); 57 const char * name = 0 );
58 void setDir( const QString & dir ); 58 void setDir( const QString & dir );
59 QString cd(){ return currentDir; } 59 QString cd(){ return currentDir; }
60 QStringList history() const { return dirHistory; } 60 QStringList history() const { return dirHistory; }
61 61
@@ -70,9 +70,9 @@ public slots:
70 void del(); 70 void del();
71 void cut(); 71 void cut();
72 void newFolder(); 72 void newFolder();
73 void viewAsText(); 73 void viewAsText();
74 74 void chPerm();
75protected: 75protected:
76 void generateDir( const QString & dir ); 76 void generateDir( const QString & dir );
77 void resizeEvent( QResizeEvent* ); 77 void resizeEvent( QResizeEvent* );
78 void contentsMousePressEvent( QMouseEvent * e ); 78 void contentsMousePressEvent( QMouseEvent * e );
@@ -110,19 +110,19 @@ class FileBrowser : public QMainWindow
110 Q_OBJECT 110 Q_OBJECT
111 111
112public: 112public:
113 FileBrowser( QWidget * parent = 0, 113 FileBrowser( QWidget * parent = 0,
114 const char * name = 0, WFlags f = 0 ); 114 const char * name = 0, WFlags f = 0 );
115 FileBrowser( const QString & dir, QWidget * parent = 0, 115 FileBrowser( const QString & dir, QWidget * parent = 0,
116 const char * name = 0, WFlags f = 0 ); 116 const char * name = 0, WFlags f = 0 );
117private: 117private:
118 void init(const QString & dir); 118 void init(const QString & dir);
119 QString fileToCopy; 119 QString fileToCopy;
120 QPopupMenu * dirMenu, * sortMenu; 120 QPopupMenu * dirMenu, * sortMenu;
121 FileView * fileView; 121 FileView * fileView;
122 QAction * pasteAction; 122 QAction * pasteAction;
123 QAction*lastAction; 123 QAction *lastAction;
124 QAction*upAction; 124 QAction *upAction;
125 125
126 bool copyFile( const QString & dest, const QString & src ); 126 bool copyFile( const QString & dest, const QString & src );
127 127
128private slots: 128private slots: