diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:56:07 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:56:07 +0000 |
commit | d6f8bbb45b267065a6907e71ff9c98bb6d161241 (patch) | |
tree | d109539636691d7b03036ca1c0ed29dbae6577cf /vcs/subversion/subversion_widget.h | |
parent | 3331a47a9cad24795c7440ee8107143ce444ef34 (diff) | |
download | tdevelop-d6f8bbb45b267065a6907e71ff9c98bb6d161241.tar.gz tdevelop-d6f8bbb45b267065a6907e71ff9c98bb6d161241.zip |
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdevelop@1157658 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'vcs/subversion/subversion_widget.h')
-rw-r--r-- | vcs/subversion/subversion_widget.h | 34 |
1 files changed, 17 insertions, 17 deletions
diff --git a/vcs/subversion/subversion_widget.h b/vcs/subversion/subversion_widget.h index 53d806d7..c2ff7e62 100644 --- a/vcs/subversion/subversion_widget.h +++ b/vcs/subversion/subversion_widget.h @@ -20,15 +20,15 @@ #ifndef __SUBVERSION_WIDGET_H__ #define __SUBVERSION_WIDGET_H__ -#include <qlistview.h> +#include <tqlistview.h> #include "svn_blamewidget.h" #include "svn_logviewwidget.h" -#include <qvaluelist.h> +#include <tqvaluelist.h> class subversionPart; #include <ktabwidget.h> #include <kio/defaultprogress.h> -#include <qguardedptr.h> +#include <tqguardedptr.h> class KTextEdit; class SvnLogHolder; class SvnBlameHolder; @@ -42,13 +42,13 @@ class subversionWidget : public KTabWidget { Q_OBJECT public: - subversionWidget(subversionPart *part, QWidget *parent, const char* name); + subversionWidget(subversionPart *part, TQWidget *parent, const char* name); ~subversionWidget(); // append what?. Append any text status outputs - void append( QString notifications ); - void showLogResult( QValueList<SvnLogHolder> *holderList, QString reqUrl ); - void showBlameResult( QValueList<SvnBlameHolder> *blamelist ); + void append( TQString notifications ); + void showLogResult( TQValueList<SvnLogHolder> *holderList, TQString reqUrl ); + void showBlameResult( TQValueList<SvnBlameHolder> *blamelist ); protected slots: void closeCurrentTab(); @@ -57,29 +57,29 @@ private: KTabWidget* tab(){ return this; } subversionPart *m_part; - QGuardedPtr<KTextEdit> m_edit; - QPushButton *m_closeButton; + TQGuardedPtr<KTextEdit> m_edit; + TQPushButton *m_closeButton; }; /** * reimplement compare(), to be able to sort any item by integer */ -class SvnIntSortListItem : public QListViewItem { +class SvnIntSortListItem : public TQListViewItem { public: - SvnIntSortListItem ( QListView* parent=0 ); + SvnIntSortListItem ( TQListView* parent=0 ); ~SvnIntSortListItem (); /** Returns < 0 if this item is less than i, 0 if they are equal and > 0 if this item is greater than i. */ - virtual int compare( QListViewItem* i, int col, bool ascending ) const; + virtual int compare( TQListViewItem* i, int col, bool ascending ) const; }; class SvnLogViewItem : public SvnIntSortListItem { public: - SvnLogViewItem( QListView* parent ); + SvnLogViewItem( TQListView* parent ); ~SvnLogViewItem(); - QString m_pathList; - QString m_message; + TQString m_pathList; + TQString m_message; }; ///////////////////////////////////////////////////////////// @@ -88,8 +88,8 @@ class SvnProgressDlg : public KIO::DefaultProgress { public: SvnProgressDlg( bool showNow = true ); ~SvnProgressDlg(); - void setSourceUrl( const QString & ); - void setDestUrl( const QString & ); + void setSourceUrl( const TQString & ); + void setDestUrl( const TQString & ); }; #endif |