summaryrefslogtreecommitdiffstats
path: root/cervisia/resolvedlg.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:51:49 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:51:49 +0000
commit4ae0c208b66e0f7954e194384464fe2d0a2c56dd (patch)
treeb0a7cd1c184f0003c0292eb416ed27f674f9cc43 /cervisia/resolvedlg.h
parent1964ea0fb4ab57493ca2ebb709c8d3b5395fd653 (diff)
downloadtdesdk-4ae0c208b66e0f7954e194384464fe2d0a2c56dd.tar.gz
tdesdk-4ae0c208b66e0f7954e194384464fe2d0a2c56dd.zip
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdesdk@1157652 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'cervisia/resolvedlg.h')
-rw-r--r--cervisia/resolvedlg.h34
1 files changed, 17 insertions, 17 deletions
diff --git a/cervisia/resolvedlg.h b/cervisia/resolvedlg.h
index 1cee22b7..334622d9 100644
--- a/cervisia/resolvedlg.h
+++ b/cervisia/resolvedlg.h
@@ -25,7 +25,7 @@
#include <kdialogbase.h>
-#include <qptrlist.h>
+#include <tqptrlist.h>
#include "diffview.h"
@@ -42,13 +42,13 @@ class ResolveDialog : public KDialogBase
public:
enum ChooseType { ChA, ChB, ChAB, ChBA, ChEdit };
- explicit ResolveDialog( KConfig& cfg, QWidget *parent=0, const char *name=0 );
+ explicit ResolveDialog( KConfig& cfg, TQWidget *parent=0, const char *name=0 );
virtual ~ResolveDialog();
- bool parseFile(const QString &name);
+ bool parseFile(const TQString &name);
protected:
- virtual void keyPressEvent(QKeyEvent *e);
+ virtual void keyPressEvent(TQKeyEvent *e);
private slots:
void backClicked();
@@ -66,27 +66,27 @@ private:
void updateHighlight(int newitem);
void choose(ChooseType ch);
void chooseEdit();
- void saveFile(const QString &name);
- QString readFile();
- void addToMergeAndVersionA(const QString& line, DiffView::DiffType type,
+ void saveFile(const TQString &name);
+ TQString readFile();
+ void addToMergeAndVersionA(const TQString& line, DiffView::DiffType type,
int& lineNo);
- void addToVersionB(const QString& line, DiffView::DiffType type, int& lineNo);
+ void addToVersionB(const TQString& line, DiffView::DiffType type, int& lineNo);
void updateMergedVersion(ResolveItem* item, ChooseType chosen);
- QString contentVersionA(const ResolveItem *item);
- QString contentVersionB(const ResolveItem *item);
+ TQString contentVersionA(const ResolveItem *item);
+ TQString contentVersionB(const ResolveItem *item);
- QLabel *nofnlabel;
- QPushButton *backbutton, *forwbutton;
- QPushButton *abutton, *bbutton, *abbutton, *babutton, *editbutton;
+ TQLabel *nofnlabel;
+ TQPushButton *backbutton, *forwbutton;
+ TQPushButton *abutton, *bbutton, *abbutton, *babutton, *editbutton;
DiffView *diff1, *diff2, *merge;
- QPtrList<ResolveItem> items;
- QString fname;
- QTextCodec *fcodec;
+ TQPtrList<ResolveItem> items;
+ TQString fname;
+ TQTextCodec *fcodec;
int markeditem;
KConfig& partConfig;
- QString m_contentMergedVersion;
+ TQString m_contentMergedVersion;
};