summaryrefslogtreecommitdiffstats
path: root/vcs/cvsservice/diffwidget.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:56:07 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:56:07 +0000
commitd6f8bbb45b267065a6907e71ff9c98bb6d161241 (patch)
treed109539636691d7b03036ca1c0ed29dbae6577cf /vcs/cvsservice/diffwidget.h
parent3331a47a9cad24795c7440ee8107143ce444ef34 (diff)
downloadtdevelop-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/cvsservice/diffwidget.h')
-rw-r--r--vcs/cvsservice/diffwidget.h30
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 );