author | zecke <zecke> | 2004-04-06 10:37:23 (UTC) |
---|---|---|
committer | zecke <zecke> | 2004-04-06 10:37:23 (UTC) |
commit | 8981e35697647315d88cdf95e912b0fe2f9d5375 (patch) (unidiff) | |
tree | 4631dc800cb6d45d38d69d43f14e305ce0123d10 /noncore/graphics/opie-eye | |
parent | 2a4ec8132bea9c4c8308038d555755eabc1eee46 (diff) | |
download | opie-8981e35697647315d88cdf95e912b0fe2f9d5375.zip opie-8981e35697647315d88cdf95e912b0fe2f9d5375.tar.gz opie-8981e35697647315d88cdf95e912b0fe2f9d5375.tar.bz2 |
Add some documentation and remove qWarnings
-rw-r--r-- | noncore/graphics/opie-eye/gui/iconview.cpp | 45 |
1 files changed, 42 insertions, 3 deletions
diff --git a/noncore/graphics/opie-eye/gui/iconview.cpp b/noncore/graphics/opie-eye/gui/iconview.cpp index 4ced52d..c07a1e5 100644 --- a/noncore/graphics/opie-eye/gui/iconview.cpp +++ b/noncore/graphics/opie-eye/gui/iconview.cpp | |||
@@ -203,3 +203,2 @@ void PIconView::slotDirUp() { | |||
203 | slotChangeDir( dir.absPath() ); | 203 | slotChangeDir( dir.absPath() ); |
204 | |||
205 | } | 204 | } |
@@ -217,2 +216,5 @@ void PIconView::slotChangeDir(const QString& path) { | |||
217 | 216 | ||
217 | /* | ||
218 | * Say what we want and take what we get | ||
219 | */ | ||
218 | lister->setStartPath( path ); | 220 | lister->setStartPath( path ); |
@@ -222,2 +224,6 @@ void PIconView::slotChangeDir(const QString& path) { | |||
222 | m_view->clear(); | 224 | m_view->clear(); |
225 | |||
226 | /* | ||
227 | * add files and folders | ||
228 | */ | ||
223 | addFolders( lister->folders() ); | 229 | addFolders( lister->folders() ); |
@@ -234,2 +240,6 @@ void PIconView::slotChangeDir(const QString& path) { | |||
234 | 240 | ||
241 | /** | ||
242 | * get the current file name | ||
243 | * @param isDir see if this is a dir or real file | ||
244 | */ | ||
235 | QString PIconView::currentFileName(bool &isDir)const { | 245 | QString PIconView::currentFileName(bool &isDir)const { |
@@ -260,2 +270,6 @@ void PIconView::slotTrash() { | |||
260 | } | 270 | } |
271 | |||
272 | /* | ||
273 | * see what views are available | ||
274 | */ | ||
261 | void PIconView::loadViews() { | 275 | void PIconView::loadViews() { |
@@ -271,2 +285,5 @@ void PIconView::resetView() { | |||
271 | 285 | ||
286 | /* | ||
287 | *swicth view reloadDir and connect signals | ||
288 | */ | ||
272 | void PIconView::slotViewChanged( int i) { | 289 | void PIconView::slotViewChanged( int i) { |
@@ -305,2 +322,5 @@ void PIconView::slotReloadDir() { | |||
305 | 322 | ||
323 | /* | ||
324 | * add files and folders | ||
325 | */ | ||
306 | void PIconView::addFolders( const QStringList& lst) { | 326 | void PIconView::addFolders( const QStringList& lst) { |
@@ -321,2 +341,5 @@ void PIconView::addFiles( const QStringList& lst) { | |||
321 | 341 | ||
342 | /* | ||
343 | * user clicked on the item. Change dir or view | ||
344 | */ | ||
322 | void PIconView::slotClicked(QIconViewItem* _it) { | 345 | void PIconView::slotClicked(QIconViewItem* _it) { |
@@ -332,2 +355,6 @@ void PIconView::slotClicked(QIconViewItem* _it) { | |||
332 | 355 | ||
356 | /* | ||
357 | * got thumb info add to the cache if items is visible | ||
358 | * we later need update after processing of slave is done | ||
359 | */ | ||
333 | void PIconView::slotThumbInfo( const QString& _path, const QString& str ) { | 360 | void PIconView::slotThumbInfo( const QString& _path, const QString& str ) { |
@@ -344,2 +371,6 @@ void PIconView::slotThumbInfo( const QString& _path, const QString& str ) { | |||
344 | } | 371 | } |
372 | |||
373 | /* | ||
374 | * got thumbnail and see if it is visible so we need to update later | ||
375 | */ | ||
345 | void PIconView::slotThumbNail(const QString& _path, const QPixmap &pix) { | 376 | void PIconView::slotThumbNail(const QString& _path, const QPixmap &pix) { |
@@ -361,2 +392,5 @@ void PIconView::slotThumbNail(const QString& _path, const QPixmap &pix) { | |||
361 | 392 | ||
393 | /* | ||
394 | * FIXME rename | ||
395 | */ | ||
362 | void PIconView::slotRename() { | 396 | void PIconView::slotRename() { |
@@ -365,2 +399,6 @@ void PIconView::slotRename() { | |||
365 | 399 | ||
400 | |||
401 | /* | ||
402 | * BEAM the current file | ||
403 | */ | ||
366 | void PIconView::slotBeam() { | 404 | void PIconView::slotBeam() { |
@@ -378,2 +416,5 @@ void PIconView::slotBeam() { | |||
378 | 416 | ||
417 | /* | ||
418 | * BEAM done clean up | ||
419 | */ | ||
379 | void PIconView::slotBeamDone( Ir* ir) { | 420 | void PIconView::slotBeamDone( Ir* ir) { |
@@ -395,3 +436,2 @@ void PIconView::slotShowImage() | |||
395 | { | 436 | { |
396 | qWarning( "SLotShowImage" ); | ||
397 | bool isDir = false; | 437 | bool isDir = false; |
@@ -406,3 +446,2 @@ void PIconView::slotShowImage( const QString& name) { | |||
406 | void PIconView::slotImageInfo() { | 446 | void PIconView::slotImageInfo() { |
407 | qWarning( "SlotImageInfo" ); | ||
408 | bool isDir = false; | 447 | bool isDir = false; |