summaryrefslogtreecommitdiffstats
path: root/cervisia/resolvedlg_p.cpp
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_p.cpp
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_p.cpp')
-rw-r--r--cervisia/resolvedlg_p.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/cervisia/resolvedlg_p.cpp b/cervisia/resolvedlg_p.cpp
index e925677d..1023465a 100644
--- a/cervisia/resolvedlg_p.cpp
+++ b/cervisia/resolvedlg_p.cpp
@@ -22,8 +22,8 @@ using namespace Cervisia;
#include <ktextedit.h>
-ResolveEditorDialog::ResolveEditorDialog(KConfig& cfg, QWidget *parent, const char *name)
- : KDialogBase(parent, name, true, QString::null,
+ResolveEditorDialog::ResolveEditorDialog(KConfig& cfg, TQWidget *parent, const char *name)
+ : KDialogBase(parent, name, true, TQString::null,
Ok | Cancel, Ok, true)
, m_partConfig(cfg)
{
@@ -32,11 +32,11 @@ ResolveEditorDialog::ResolveEditorDialog(KConfig& cfg, QWidget *parent, const ch
setMainWidget(m_edit);
- QFontMetrics const fm(fontMetrics());
+ TQFontMetrics const fm(fontMetrics());
setMinimumSize(fm.width('0') * 120,
fm.lineSpacing() * 40);
- QSize size = configDialogSize(m_partConfig, "ResolveEditDialog");
+ TQSize size = configDialogSize(m_partConfig, "ResolveEditDialog");
resize(size);
}
@@ -47,13 +47,13 @@ ResolveEditorDialog::~ResolveEditorDialog()
}
-void ResolveEditorDialog::setContent(const QString& text)
+void ResolveEditorDialog::setContent(const TQString& text)
{
m_edit->setText(text);
}
-QString ResolveEditorDialog::content() const
+TQString ResolveEditorDialog::content() const
{
return m_edit->text();
}