From 3d8714d797ce5b09cea2e3b36edee2fc231f28a1 Mon Sep 17 00:00:00 2001 From: Fabio Bas Date: Sun, 8 May 2011 22:25:35 +0000 Subject: Objects module: fixed indentation (2nd part) git-svn-id: https://svn.kvirc.de/svn/trunk/kvirc@5837 17fca916-40b9-46aa-a4ea-0a15b648b75c --- src/modules/objects/KvsObject_file.cpp | 23 +++++++++++------------ 1 file changed, 11 insertions(+), 12 deletions(-) (limited to 'src/modules/objects/KvsObject_file.cpp') diff --git a/src/modules/objects/KvsObject_file.cpp b/src/modules/objects/KvsObject_file.cpp index f8b5c8870..bfc827588 100644 --- a/src/modules/objects/KvsObject_file.cpp +++ b/src/modules/objects/KvsObject_file.cpp @@ -90,7 +90,7 @@ const QIODevice::OpenMode mod_cod[] = { Attempts to open the file in specified mode or modes "sum". Valid modes are:[br] [pre] - Raw - raw, non-buffered access[br] + Raw - raw, non-buffered access[br] ReadOnly - opens the file read-only[br] WriteOnly - opens the file write-only[br] ReadWrite - opens the file in read-write mode[br] @@ -235,24 +235,23 @@ KVSO_CLASS_FUNCTION(file,open) { for ( int idx=0;idxwarning(__tr2qs_ctx("No such open mode '%Q'","objects"),&modes.at(idx)); } } - c->returnValue()->setBoolean(m_pFile->open(sum)); + c->returnValue()->setBoolean(m_pFile->open(sum)); return true; } @@ -560,9 +559,9 @@ KVSO_CLASS_FUNCTION(file,readLine) CHECK_INTERNAL_POINTER(m_pFile) CHECK_FILE_IS_OPEN QString buffer; - //bool ok=KviFileUtils::readLine(m_pFile,buffer); - buffer=m_pFile->readLine(); - c->returnValue()->setString(buffer); + //bool ok=KviFileUtils::readLine(m_pFile,buffer); + buffer=m_pFile->readLine(); + c->returnValue()->setString(buffer); return true; } -- cgit v1.3.1-10-gc9f91