summaryrefslogtreecommitdiff
path: root/libopie/ofileselector.h
authorzecke <zecke>2002-03-30 23:26:49 (UTC)
committer zecke <zecke>2002-03-30 23:26:49 (UTC)
commit5d12c8fb75458262f6414073759b4c610f615525 (patch) (unidiff)
tree45a3158271b748c6e5ff98afcf7014a25cd447d8 /libopie/ofileselector.h
parentf3376cde32aa6a03070fb8f2d1428cedcbe49425 (diff)
downloadopie-5d12c8fb75458262f6414073759b4c610f615525.zip
opie-5d12c8fb75458262f6414073759b4c610f615525.tar.gz
opie-5d12c8fb75458262f6414073759b4c610f615525.tar.bz2
This time thanks to tronical (Simon Hausmann) for reviewing the interface
the selector is almost done so better start porting to it A dialog will come when beeing done with the real widget
Diffstat (limited to 'libopie/ofileselector.h') (more/less context) (show whitespace changes)
-rw-r--r--libopie/ofileselector.h11
1 files changed, 8 insertions, 3 deletions
diff --git a/libopie/ofileselector.h b/libopie/ofileselector.h
index 73674e2..6936773 100644
--- a/libopie/ofileselector.h
+++ b/libopie/ofileselector.h
@@ -69,5 +69,5 @@ class OFileSelectorItem : public QListViewItem {
69 OFileSelectorItem(QListView *view, const QPixmap &pixmap, const QString &path, 69 OFileSelectorItem(QListView *view, const QPixmap &pixmap, const QString &path,
70 const QString &date, const QString &size, const QString &mDir, 70 const QString &date, const QString &size, const QString &mDir,
71 bool isDir=false ): QListViewItem(view) { 71 bool isLocked=false, bool isDir=false ): QListViewItem(view) {
72 setPixmap(0, pixmap ); 72 setPixmap(0, pixmap );
73 setText(1, path ); 73 setText(1, path );
@@ -77,4 +77,8 @@ class OFileSelectorItem : public QListViewItem {
77 m_dir = mDir; 77 m_dir = mDir;
78 dir = isDir; 78 dir = isDir;
79 mLocked = isLocked;
80 }
81 bool locked() const{
82 return mLocked;
79 } 83 }
80 QString directory()const{ 84 QString directory()const{
@@ -105,4 +109,5 @@ class OFileSelectorItem : public QListViewItem {
105 }; 109 };
106 private: 110 private:
111 bool mLocked:1;
107 bool dir:1; 112 bool dir:1;
108 QString m_dir; 113 QString m_dir;
@@ -137,5 +142,5 @@ class OFileSelector : public QWidget {
137 void setShowDirs(bool ); 142 void setShowDirs(bool );
138 143
139 const QListView* listview() { return m_View; }; 144 const QListView* listView() { return m_View; };
140 145
141 bool isCaseSensetive()const { return m_case; } 146 bool isCaseSensetive()const { return m_case; }
@@ -170,5 +175,5 @@ class OFileSelector : public QWidget {
170 DocLnk selectedDocument()const; 175 DocLnk selectedDocument()const;
171 /* the user needs to delete it */ 176 /* the user needs to delete it */
172 QValueList<DocLnk> selectedDocuments(); 177 QValueList<DocLnk> selectedDocuments()const;
173 178
174 signals: 179 signals: