diff options
Diffstat (limited to 'vcs/cvsservice/diffwidget.h')
-rw-r--r-- | vcs/cvsservice/diffwidget.h | 30 |
1 files changed, 15 insertions, 15 deletions
diff --git a/vcs/cvsservice/diffwidget.h b/vcs/cvsservice/diffwidget.h index d7aaf48c..37bed7ea 100644 --- a/vcs/cvsservice/diffwidget.h +++ b/vcs/cvsservice/diffwidget.h @@ -12,9 +12,9 @@ #ifndef _DIFFWIDGET_H_ #define _DIFFWIDGET_H_ -#include <qwidget.h> -#include <qtextedit.h> -#include <qstringlist.h> +#include <tqwidget.h> +#include <tqtextedit.h> +#include <tqstringlist.h> #include <kurl.h> @@ -33,17 +33,17 @@ class KDiffTextEdit: public QTextEdit { Q_OBJECT public: - KDiffTextEdit( QWidget* parent = 0, const char* name = 0 ); + KDiffTextEdit( TQWidget* parent = 0, const char* name = 0 ); virtual ~KDiffTextEdit(); void applySyntaxHighlight(); void clearSyntaxHighlight(); signals: - void externalPartRequested( const QString& partName ); + void externalPartRequested( const TQString& partName ); protected: - virtual QPopupMenu* createPopupMenu( const QPoint& ); - virtual QPopupMenu* createPopupMenu(); + virtual TQPopupMenu* createPopupMenu( const TQPoint& ); + virtual TQPopupMenu* createPopupMenu(); private slots: void popupActivated( int ); @@ -52,8 +52,8 @@ private slots: private: static void searchExtParts(); - static QStringList extParts; - static QStringList extPartsTranslated; + static TQStringList extParts; + static TQStringList extPartsTranslated; bool _highlight; }; @@ -62,32 +62,32 @@ class DiffWidget : public QWidget Q_OBJECT public: - DiffWidget( QWidget *parent = 0, const char *name = 0, WFlags f = 0 ); + DiffWidget( TQWidget *parent = 0, const char *name = 0, WFlags f = 0 ); virtual ~DiffWidget(); public slots: /** The URL has to point to a diff file */ void openURL( const KURL& url ); /** Pass a diff file in here */ - void setDiff( const QString& diff ); + void setDiff( const TQString& diff ); /** clears the difference viewer */ void slotClear(); private slots: /** appends a piece of "diff" */ - void slotAppend( const QString& str ); + void slotAppend( const TQString& str ); /** overloaded for convenience */ - void slotAppend( KIO::Job*, const QByteArray& ba ); + void slotAppend( KIO::Job*, const TQByteArray& ba ); /** call this when the whole "diff" has been sent. * Don't call slotAppend afterwards! */ void slotFinished(); void showExtPart(); void showTextEdit(); - void loadExtPart( const QString& partName ); + void loadExtPart( const TQString& partName ); protected: - void contextMenuEvent( QContextMenuEvent* e ); + void contextMenuEvent( TQContextMenuEvent* e ); private: void setExtPartVisible( bool visible ); |