diff options
Diffstat (limited to 'vcs/subversion/subversion_widget.cpp')
-rw-r--r-- | vcs/subversion/subversion_widget.cpp | 30 |
1 files changed, 15 insertions, 15 deletions
diff --git a/vcs/subversion/subversion_widget.cpp b/vcs/subversion/subversion_widget.cpp index acc2db0c..c27f845e 100644 --- a/vcs/subversion/subversion_widget.cpp +++ b/vcs/subversion/subversion_widget.cpp @@ -26,26 +26,26 @@ #include "subversion_widget.h" #include <ktextedit.h> #include <klocale.h> -#include <qtoolbutton.h> -#include <qpushbutton.h> +#include <tqtoolbutton.h> +#include <tqpushbutton.h> -subversionWidget::subversionWidget( subversionPart *part, QWidget *parent, const char* name ) +subversionWidget::subversionWidget( subversionPart *part, TQWidget *parent, const char* name ) : KTabWidget(parent) { m_part = part; m_edit = new KTextEdit( this ); m_edit->setReadOnly( TRUE ); tab()->addTab( m_edit, i18n("Notification") ); - m_closeButton = new QPushButton( tab() ); + m_closeButton = new TQPushButton( tab() ); m_closeButton->setText( i18n("Close") ); tab()->setCornerWidget(m_closeButton); - connect( m_closeButton, SIGNAL(clicked()), this, SLOT(closeCurrentTab()) ); + connect( m_closeButton, TQT_SIGNAL(clicked()), this, TQT_SLOT(closeCurrentTab()) ); } subversionWidget::~subversionWidget() {} -void subversionWidget::append( QString notifications ) +void subversionWidget::append( TQString notifications ) { if( !m_edit ){ // should not happen @@ -55,7 +55,7 @@ void subversionWidget::append( QString notifications ) showPage( m_edit ); } -void subversionWidget::showLogResult( QValueList<SvnLogHolder> *holderList, QString reqUrl ) +void subversionWidget::showLogResult( TQValueList<SvnLogHolder> *holderList, TQString reqUrl ) { SvnLogViewWidget *widget = new SvnLogViewWidget( m_part, this ); widget->setLogResult( holderList ); @@ -65,7 +65,7 @@ void subversionWidget::showLogResult( QValueList<SvnLogHolder> *holderList, QStr tab()->showPage( widget ); } -void subversionWidget::showBlameResult( QValueList<SvnBlameHolder> *blamelist ) +void subversionWidget::showBlameResult( TQValueList<SvnBlameHolder> *blamelist ) { SvnBlameWidget *widget = new SvnBlameWidget( this ); widget->copyBlameData( blamelist ); @@ -75,7 +75,7 @@ void subversionWidget::showBlameResult( QValueList<SvnBlameHolder> *blamelist ) } void subversionWidget::closeCurrentTab() { - QWidget *current = tab()->currentPage(); + TQWidget *current = tab()->currentPage(); KTextEdit *edit = static_cast<KTextEdit*>(current); if( edit ){ if( edit == m_edit ) // main notification output should not be deleted @@ -87,13 +87,13 @@ void subversionWidget::closeCurrentTab() //////////////////////////////////////////////////////////////////////// -SvnIntSortListItem::SvnIntSortListItem( QListView* parent ) - :QListViewItem(parent) +SvnIntSortListItem::SvnIntSortListItem( TQListView* parent ) + :TQListViewItem(parent) {} SvnIntSortListItem::~SvnIntSortListItem() {} -int SvnIntSortListItem::compare( QListViewItem *item, int col, bool ascending ) const +int SvnIntSortListItem::compare( TQListViewItem *item, int col, bool ascending ) const { unsigned int myVal = this->text(col).toUInt(); @@ -103,7 +103,7 @@ int SvnIntSortListItem::compare( QListViewItem *item, int col, bool ascending ) return 0; } -SvnLogViewItem::SvnLogViewItem( QListView * parent ) +SvnLogViewItem::SvnLogViewItem( TQListView * parent ) :SvnIntSortListItem( parent ) { m_pathList = ""; @@ -124,11 +124,11 @@ SvnProgressDlg::SvnProgressDlg( bool showNow ) SvnProgressDlg::~SvnProgressDlg() {} -void SvnProgressDlg::setSourceUrl( const QString &src ) +void SvnProgressDlg::setSourceUrl( const TQString &src ) { sourceEdit->setText( src ); } -void SvnProgressDlg::setDestUrl( const QString &dest ) +void SvnProgressDlg::setDestUrl( const TQString &dest ) { destEdit->setText( dest ); } |