diff options
Diffstat (limited to 'src/svnqt')
-rw-r--r-- | src/svnqt/cache/sqlite3/qsql_sqlite3.cpp | 10 | ||||
-rw-r--r-- | src/svnqt/client.h | 2 | ||||
-rw-r--r-- | src/svnqt/client_impl.cpp | 2 | ||||
-rw-r--r-- | src/svnqt/client_impl.h | 2 | ||||
-rw-r--r-- | src/svnqt/diff_data.cpp | 4 | ||||
-rw-r--r-- | src/svnqt/entry.h | 2 | ||||
-rw-r--r-- | src/svnqt/status.h | 12 | ||||
-rw-r--r-- | src/svnqt/wc.cpp | 4 |
8 files changed, 19 insertions, 19 deletions
diff --git a/src/svnqt/cache/sqlite3/qsql_sqlite3.cpp b/src/svnqt/cache/sqlite3/qsql_sqlite3.cpp index 6160eae..69c3163 100644 --- a/src/svnqt/cache/sqlite3/qsql_sqlite3.cpp +++ b/src/svnqt/cache/sqlite3/qsql_sqlite3.cpp @@ -323,12 +323,12 @@ void TQSQLite3Driver::close() bool TQSQLite3Driver::ping() { if ( !isOpen() ) { - return FALSE; + return false; } // FIXME // Implement ping if available - return TRUE; + return true; } TQSqlQuery TQSQLite3Driver::createQuery() const @@ -389,7 +389,7 @@ TQStringList TQSQLite3Driver::tables(const TQString &typeName) const int type = typeName.toInt(); TQSqlQuery q = createQuery(); - q.setForwardOnly(TRUE); + q.setForwardOnly(true); if ((type & (int)TQSql::Tables) && (type & (int)TQSql::Views)) q.exec("SELECT name FROM sqlite_master WHERE type='table' OR type='view'"); else if (typeName.isEmpty() || (type & (int)TQSql::Tables)) @@ -419,7 +419,7 @@ TQSqlIndex TQSQLite3Driver::primaryIndex(const TQString &tblname) const return TQSqlIndex(); TQSqlQuery q = createQuery(); - q.setForwardOnly(TRUE); + q.setForwardOnly(true); // finrst find a UNIQUE INDEX q.exec("PRAGMA index_list('" + tblname + "');"); TQString indexname; @@ -451,7 +451,7 @@ TQSqlRecordInfo TQSQLite3Driver::recordInfo(const TQString &tbl) const return TQSqlRecordInfo(); TQSqlQuery q = createQuery(); - q.setForwardOnly(TRUE); + q.setForwardOnly(true); q.exec("SELECT * FROM " + tbl + " LIMIT 1"); return recordInfo(q); } diff --git a/src/svnqt/client.h b/src/svnqt/client.h index cdd6410..724507c 100644 --- a/src/svnqt/client.h +++ b/src/svnqt/client.h @@ -146,7 +146,7 @@ namespace svn * @param path File to gather status. * @param update if check against repository if new updates are there (for WC only) * @param revision list specific revision when browsing remote, on working copies parameter will ignored - * @return a Status with Statis.isVersioned = FALSE + * @return a Status with Statis.isVersioned = false */ virtual StatusPtr singleStatus (const Path& path,bool update=false,const Revision revision = svn::Revision::HEAD)=0; diff --git a/src/svnqt/client_impl.cpp b/src/svnqt/client_impl.cpp index 431ca63..ced414c 100644 --- a/src/svnqt/client_impl.cpp +++ b/src/svnqt/client_impl.cpp @@ -52,7 +52,7 @@ apr_array_header_t* svn_sort__hash(apr_hash_t *ht, ary = apr_array_make(pool, apr_hash_count(ht), sizeof(svn_sort_item_type)); /* loop over hash table and push all keys into the array */ - sorted = TRUE; + sorted = true; prev_item = NULL; for (hi = apr_hash_first(pool, ht); hi; hi = apr_hash_next(hi)) { diff --git a/src/svnqt/client_impl.h b/src/svnqt/client_impl.h index 4aa5fc8..b7baadf 100644 --- a/src/svnqt/client_impl.h +++ b/src/svnqt/client_impl.h @@ -136,7 +136,7 @@ namespace svn * @param path File to gather status. * @param update if check against repository if new updates are there (for WC only) * @param revision list specific revision when browsing remote, on working copies parameter will ignored - * @return a Status with Statis.isVersioned = FALSE + * @return a Status with Statis.isVersioned = false */ virtual StatusPtr singleStatus (const Path& path,bool update=false,const Revision revision = svn::Revision::HEAD); diff --git a/src/svnqt/diff_data.cpp b/src/svnqt/diff_data.cpp index 0559a8e..f9f21d8 100644 --- a/src/svnqt/diff_data.cpp +++ b/src/svnqt/diff_data.cpp @@ -50,7 +50,7 @@ namespace svn error = svn_io_open_unique_file (&m_outFile, &m_outFileName, m_tmpPath.path().TOUTF8(), ".tmp", - FALSE, m_Pool); + false, m_Pool); #endif if (error!=0) { clean(); @@ -65,7 +65,7 @@ namespace svn error = svn_io_open_unique_file (&m_errFile, &m_errFileName, m_tmpPath.path().TOUTF8(), ".tmp", - FALSE, m_Pool); + false, m_Pool); #endif if (error!=0) { clean(); diff --git a/src/svnqt/entry.h b/src/svnqt/entry.h index ac0be46..8e8da87 100644 --- a/src/svnqt/entry.h +++ b/src/svnqt/entry.h @@ -131,7 +131,7 @@ namespace svn svn_wc_schedule_t schedule () const; /** - * @return TRUE if copied + * @return true if copied */ bool isCopied () const; diff --git a/src/svnqt/status.h b/src/svnqt/status.h index 1111284..9f285ac 100644 --- a/src/svnqt/status.h +++ b/src/svnqt/status.h @@ -114,37 +114,37 @@ namespace svn propStatus () const; /** - * @retval TRUE if under version control + * @retval true if under version control */ bool isVersioned () const; /** - * @retval TRUE if under version control and not ignored + * @retval true if under version control and not ignored */ bool isRealVersioned()const; /** - * @retval TRUE if under version control and local modified + * @retval true if under version control and local modified */ bool isModified()const; /** - * @retval TRUE if locked + * @retval true if locked */ bool isLocked () const; /** - * @retval TRUE if copied + * @retval true if copied */ bool isCopied () const; /** - * @retval TRUE if switched + * @retval true if switched */ bool isSwitched () const; diff --git a/src/svnqt/wc.cpp b/src/svnqt/wc.cpp index 0dccb14..413fb10 100644 --- a/src/svnqt/wc.cpp +++ b/src/svnqt/wc.cpp @@ -86,11 +86,11 @@ namespace svn svn_error_t * error = 0; svn_wc_adm_access_t *adm_access; const svn_wc_entry_t *entry; - error = svn_wc_adm_probe_open2(&adm_access,0,itemPath.path().TOUTF8(),FALSE,0,pool); + error = svn_wc_adm_probe_open2(&adm_access,0,itemPath.path().TOUTF8(),false,0,pool); if (error!=0) { throw ClientException(error); } - error = svn_wc_entry(&entry,itemPath.path().TOUTF8(),adm_access,FALSE,pool); + error = svn_wc_entry(&entry,itemPath.path().TOUTF8(),adm_access,false,pool); if (error!=0) { throw ClientException(error); } |