diff options
Diffstat (limited to 'vcs/subversion')
-rw-r--r-- | vcs/subversion/subversion_widget.cpp | 2 | ||||
-rw-r--r-- | vcs/subversion/svn_blamewidget.cpp | 2 | ||||
-rw-r--r-- | vcs/subversion/svn_blamewidget.h | 2 | ||||
-rw-r--r-- | vcs/subversion/svn_fileselectdlg_commit.cpp | 2 | ||||
-rw-r--r-- | vcs/subversion/svn_logviewwidget.cpp | 6 | ||||
-rw-r--r-- | vcs/subversion/svn_logviewwidget.h | 2 | ||||
-rw-r--r-- | vcs/subversion/svn_tdeio.cpp | 28 |
7 files changed, 22 insertions, 22 deletions
diff --git a/vcs/subversion/subversion_widget.cpp b/vcs/subversion/subversion_widget.cpp index 8cedf78f..f0438082 100644 --- a/vcs/subversion/subversion_widget.cpp +++ b/vcs/subversion/subversion_widget.cpp @@ -34,7 +34,7 @@ subversionWidget::subversionWidget( subversionPart *part, TQWidget *parent, cons { m_part = part; m_edit = new KTextEdit( this ); - m_edit->setReadOnly( TRUE ); + m_edit->setReadOnly( true ); tab()->addTab( m_edit, i18n("Notification") ); m_closeButton = new TQPushButton( tab() ); m_closeButton->setText( i18n("Close") ); diff --git a/vcs/subversion/svn_blamewidget.cpp b/vcs/subversion/svn_blamewidget.cpp index 78f09102..d48edc43 100644 --- a/vcs/subversion/svn_blamewidget.cpp +++ b/vcs/subversion/svn_blamewidget.cpp @@ -31,7 +31,7 @@ SvnBlameWidget::SvnBlameWidget( TQWidget *parent, const char* name, bool modal, m_layout->setMargin(1); m_listView = new TQListView( this ); - outView()->setAllColumnsShowFocus( TRUE ); + outView()->setAllColumnsShowFocus( true ); outView()->addColumn( i18n("Line") ); outView()->addColumn( i18n("Rev") ); outView()->addColumn( i18n("Date") ); diff --git a/vcs/subversion/svn_blamewidget.h b/vcs/subversion/svn_blamewidget.h index 19f14238..50301cf9 100644 --- a/vcs/subversion/svn_blamewidget.h +++ b/vcs/subversion/svn_blamewidget.h @@ -42,7 +42,7 @@ class SvnBlameWidget : public TQWidget { TQ_OBJECT public: - SvnBlameWidget( TQWidget * parent = 0, const char * name = 0, bool modal = FALSE, WFlags f = 0 ); + SvnBlameWidget( TQWidget * parent = 0, const char * name = 0, bool modal = false, WFlags f = 0 ); virtual ~SvnBlameWidget(); void copyBlameData( TQValueList<SvnBlameHolder> *blamelist ); void show(); diff --git a/vcs/subversion/svn_fileselectdlg_commit.cpp b/vcs/subversion/svn_fileselectdlg_commit.cpp index e042df84..b12fdee4 100644 --- a/vcs/subversion/svn_fileselectdlg_commit.cpp +++ b/vcs/subversion/svn_fileselectdlg_commit.cpp @@ -60,7 +60,7 @@ SVNFileSelectDlgCommit::SVNFileSelectDlgCommit( KURL::List &urls, subversionPart if (fileInfo.isFile()){ KURL base_url( part->project()->projectDirectory()+"/" ); - TQString dirPath = KURL::relativeURL( base_url, fileInfo.dirPath(TRUE) ); + TQString dirPath = KURL::relativeURL( base_url, fileInfo.dirPath(true) ); vcsMap = ((SVNFileInfoProvider*)part->fileInfoProvider()) -> statusExt(dirPath, false/*repository access*/, true/*recurse*/, false/*getall*/, true/*noIgnore*/); vcsInfo = (*vcsMap)[fileInfo.fileName()]; diff --git a/vcs/subversion/svn_logviewwidget.cpp b/vcs/subversion/svn_logviewwidget.cpp index ac9b982b..5aa1aa40 100644 --- a/vcs/subversion/svn_logviewwidget.cpp +++ b/vcs/subversion/svn_logviewwidget.cpp @@ -56,8 +56,8 @@ SvnLogViewWidget::SvnLogViewWidget(subversionPart *part, TQWidget *parent) TQFont listView1_font( listView1->font() ); listView1_font.setPointSize( 9 ); listView1->setFont( listView1_font ); - listView1->setAllColumnsShowFocus( TRUE ); - listView1->setShowSortIndicator( TRUE ); + listView1->setAllColumnsShowFocus( true ); + listView1->setShowSortIndicator( true ); textEdit1 = new KTextEdit( splitter1, "textEdit1" ); textEdit1->resize( TQSize(1, 1).expandedTo(minimumSizeHint()) ); @@ -65,7 +65,7 @@ SvnLogViewWidget::SvnLogViewWidget(subversionPart *part, TQWidget *parent) textEdit1_font.setPointSize( 9 ); textEdit1->setFont( textEdit1_font ); textEdit1->setFocusPolicy( TQWidget::WheelFocus ); - textEdit1->setReadOnly( TRUE ); + textEdit1->setReadOnly( true ); m_layout->addWidget( splitter1, 0, 0 ); m_layout->setMargin(1); diff --git a/vcs/subversion/svn_logviewwidget.h b/vcs/subversion/svn_logviewwidget.h index c3f94bec..c5bd77d6 100644 --- a/vcs/subversion/svn_logviewwidget.h +++ b/vcs/subversion/svn_logviewwidget.h @@ -76,7 +76,7 @@ class SvnLogViewOptionDlg : public SvnLogViewOptionDlgBase { TQ_OBJECT public: - SvnLogViewOptionDlg(TQWidget *parent=0, const char* name=0, bool modal=TRUE, WFlags f=0); + SvnLogViewOptionDlg(TQWidget *parent=0, const char* name=0, bool modal=true, WFlags f=0); ~SvnLogViewOptionDlg(); int revstart(); TQString revKindStart(); diff --git a/vcs/subversion/svn_tdeio.cpp b/vcs/subversion/svn_tdeio.cpp index 24959c37..22bc3486 100644 --- a/vcs/subversion/svn_tdeio.cpp +++ b/vcs/subversion/svn_tdeio.cpp @@ -100,7 +100,7 @@ open_tmp_file (apr_file_t **fp, /* Open a unique file; use APR_DELONCLOSE. */ SVN_ERR (svn_io_open_unique_file (fp, &ignored_filename, - truepath, ".tmp", TRUE, pool)); + truepath, ".tmp", true, pool)); return SVN_NO_ERROR; } @@ -135,7 +135,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)) { @@ -251,13 +251,13 @@ void tdeio_svnProtocol::initNotifier(bool is_checkout, bool is_export, bool supp ctx->notify_func = tdeio_svnProtocol::notify; struct notify_baton *nb = ( struct notify_baton* )apr_palloc(spool, sizeof( struct notify_baton ) ); nb->master = this; - nb->received_some_change = FALSE; - nb->sent_first_txdelta = FALSE; + nb->received_some_change = false; + nb->sent_first_txdelta = false; nb->is_checkout = is_checkout; nb->is_export = is_export; nb->suppress_final_line = suppress_final_line; - nb->in_external = FALSE; - nb->had_print_error = FALSE; + nb->in_external = false; + nb->had_print_error = false; nb->pool = svn_pool_create (spool); ctx->notify_baton = nb; @@ -1185,7 +1185,7 @@ void tdeio_svnProtocol::svn_diff(const KURL & url1, const KURL& url2,int rev1, i << endl ; apr_pool_t *subpool = svn_pool_create (pool); - apr_array_header_t *options = svn_cstring_split( "", "\t\r\n", TRUE, subpool ); + apr_array_header_t *options = svn_cstring_split( "", "\t\r\n", true, subpool ); // KURL nurl1 = url1; // KURL nurl2 = url2; @@ -1959,7 +1959,7 @@ void tdeio_svnProtocol::notify(void *baton, const char *path, svn_wc_notify_acti userstring = i18n( "Copied %1 " ).arg( path ); break; case svn_wc_notify_delete: //delete - nb->received_some_change = TRUE; + nb->received_some_change = true; userstring = i18n( "D %1" ).arg( path ); break; case svn_wc_notify_restore : //restore @@ -1981,11 +1981,11 @@ void tdeio_svnProtocol::notify(void *baton, const char *path, svn_wc_notify_acti userstring=i18n("Skipped %1.").arg( path ); break; case svn_wc_notify_update_delete: //update_delete - nb->received_some_change = TRUE; + nb->received_some_change = true; userstring=i18n( "D %1" ).arg( path ); break; case svn_wc_notify_update_add: //update_add - nb->received_some_change = TRUE; + nb->received_some_change = true; userstring=i18n( "A %1" ).arg( path ); break; case svn_wc_notify_update_update: //update_update @@ -1997,7 +1997,7 @@ void tdeio_svnProtocol::notify(void *baton, const char *path, svn_wc_notify_acti && ((prop_state == svn_wc_notify_state_inapplicable) || (prop_state == svn_wc_notify_state_unknown) || (prop_state == svn_wc_notify_state_unchanged)))) { - nb->received_some_change = TRUE; + nb->received_some_change = true; if (kind == svn_node_file) { if (content_state == svn_wc_notify_state_conflicted) @@ -2073,10 +2073,10 @@ void tdeio_svnProtocol::notify(void *baton, const char *path, svn_wc_notify_acti } } if (nb->in_external) - nb->in_external = FALSE; + nb->in_external = false; break; case svn_wc_notify_update_external: //update_external - nb->in_external = TRUE; + nb->in_external = true; userstring = i18n("Fetching external item into %1." ).arg( path ); break; case svn_wc_notify_status_completed: //status_completed @@ -2104,7 +2104,7 @@ void tdeio_svnProtocol::notify(void *baton, const char *path, svn_wc_notify_acti break; case svn_wc_notify_commit_postfix_txdelta: //commit_postfix_txdelta if (! nb->sent_first_txdelta) { - nb->sent_first_txdelta = TRUE; + nb->sent_first_txdelta = true; userstring=i18n("Transmitting file data "); } else { userstring="."; |