summaryrefslogtreecommitdiff
authorzecke <zecke>2004-04-06 10:37:23 (UTC)
committer zecke <zecke>2004-04-06 10:37:23 (UTC)
commit8981e35697647315d88cdf95e912b0fe2f9d5375 (patch) (side-by-side diff)
tree4631dc800cb6d45d38d69d43f14e305ce0123d10
parent2a4ec8132bea9c4c8308038d555755eabc1eee46 (diff)
downloadopie-8981e35697647315d88cdf95e912b0fe2f9d5375.zip
opie-8981e35697647315d88cdf95e912b0fe2f9d5375.tar.gz
opie-8981e35697647315d88cdf95e912b0fe2f9d5375.tar.bz2
Add some documentation and remove qWarnings
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/graphics/opie-eye/gui/iconview.cpp45
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() {
slotChangeDir( dir.absPath() );
-
}
@@ -217,2 +216,5 @@ void PIconView::slotChangeDir(const QString& path) {
+ /*
+ * Say what we want and take what we get
+ */
lister->setStartPath( path );
@@ -222,2 +224,6 @@ void PIconView::slotChangeDir(const QString& path) {
m_view->clear();
+
+ /*
+ * add files and folders
+ */
addFolders( lister->folders() );
@@ -234,2 +240,6 @@ void PIconView::slotChangeDir(const QString& path) {
+/**
+ * get the current file name
+ * @param isDir see if this is a dir or real file
+ */
QString PIconView::currentFileName(bool &isDir)const {
@@ -260,2 +270,6 @@ void PIconView::slotTrash() {
}
+
+/*
+ * see what views are available
+ */
void PIconView::loadViews() {
@@ -271,2 +285,5 @@ void PIconView::resetView() {
+/*
+ *swicth view reloadDir and connect signals
+ */
void PIconView::slotViewChanged( int i) {
@@ -305,2 +322,5 @@ void PIconView::slotReloadDir() {
+/*
+ * add files and folders
+ */
void PIconView::addFolders( const QStringList& lst) {
@@ -321,2 +341,5 @@ void PIconView::addFiles( const QStringList& lst) {
+/*
+ * user clicked on the item. Change dir or view
+ */
void PIconView::slotClicked(QIconViewItem* _it) {
@@ -332,2 +355,6 @@ void PIconView::slotClicked(QIconViewItem* _it) {
+/*
+ * got thumb info add to the cache if items is visible
+ * we later need update after processing of slave is done
+ */
void PIconView::slotThumbInfo( const QString& _path, const QString& str ) {
@@ -344,2 +371,6 @@ void PIconView::slotThumbInfo( const QString& _path, const QString& str ) {
}
+
+/*
+ * got thumbnail and see if it is visible so we need to update later
+ */
void PIconView::slotThumbNail(const QString& _path, const QPixmap &pix) {
@@ -361,2 +392,5 @@ void PIconView::slotThumbNail(const QString& _path, const QPixmap &pix) {
+/*
+ * FIXME rename
+ */
void PIconView::slotRename() {
@@ -365,2 +399,6 @@ void PIconView::slotRename() {
+
+/*
+ * BEAM the current file
+ */
void PIconView::slotBeam() {
@@ -378,2 +416,5 @@ void PIconView::slotBeam() {
+/*
+ * BEAM done clean up
+ */
void PIconView::slotBeamDone( Ir* ir) {
@@ -395,3 +436,2 @@ void PIconView::slotShowImage()
{
- qWarning( "SLotShowImage" );
bool isDir = false;
@@ -406,3 +446,2 @@ void PIconView::slotShowImage( const QString& name) {
void PIconView::slotImageInfo() {
- qWarning( "SlotImageInfo" );
bool isDir = false;