summaryrefslogtreecommitdiffstats
path: root/kfilereplace/kaddstringdlg.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-16 19:02:47 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-16 19:02:47 +0000
commite985f7e545f4739493965aad69bbecb136dc9346 (patch)
tree54afd409d8acd6202dd8ab611d24e78c28e4c0a0 /kfilereplace/kaddstringdlg.cpp
parentf7670c198945adc3b95ad69a959fe5f8ae55b493 (diff)
downloadtdewebdev-e985f7e545f4739493965aad69bbecb136dc9346.tar.gz
tdewebdev-e985f7e545f4739493965aad69bbecb136dc9346.zip
TQt4 port kdewebdev
This enables compilation under both Qt3 and Qt4 git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdewebdev@1237029 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kfilereplace/kaddstringdlg.cpp')
-rw-r--r--kfilereplace/kaddstringdlg.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/kfilereplace/kaddstringdlg.cpp b/kfilereplace/kaddstringdlg.cpp
index 18f8895d..87750a9b 100644
--- a/kfilereplace/kaddstringdlg.cpp
+++ b/kfilereplace/kaddstringdlg.cpp
@@ -2,7 +2,7 @@
KAddStringDlg.cpp - description
-------------------
begin : Sat Oct 16 1999
- copyright : (C) 1999 by François Dupoux
+ copyright : (C) 1999 by Fran�ois Dupoux
(C) 2004 Emiliano Gulmini <emi_barbarossa@yahoo.it>
email : dupoux@dupoux.com
***************************************************************************/
@@ -37,7 +37,7 @@
using namespace whatthisNameSpace;
-KAddStringDlg::KAddStringDlg(RCOptions* info, bool wantEdit, TQWidget *parent, const char *name) : KAddStringDlgS(parent,name,true)
+KAddStringDlg::KAddStringDlg(RCOptions* info, bool wantEdit, TQWidget *tqparent, const char *name) : KAddStringDlgS(tqparent,name,true)
{
m_option = info;
m_wantEdit = wantEdit;
@@ -58,8 +58,8 @@ KAddStringDlg::KAddStringDlg(RCOptions* info, bool wantEdit, TQWidget *parent, c
//PRIVATE
void KAddStringDlg::initGUI()
{
- m_pbAdd->setIconSet(SmallIconSet(TQString::fromLatin1("forward")));
- m_pbDel->setIconSet(SmallIconSet(TQString::fromLatin1("back")));
+ m_pbAdd->setIconSet(SmallIconSet(TQString::tqfromLatin1("forward")));
+ m_pbDel->setIconSet(SmallIconSet(TQString::tqfromLatin1("back")));
m_stack->addWidget(m_stringView);
m_stack->addWidget(m_stringView_2);
@@ -136,7 +136,7 @@ void KAddStringDlg::saveViewContentIntoMap()
while(i != 0)
{
if(m_option->m_searchingOnlyMode)
- m_currentMap[i->text(0)] = TQString::null;
+ m_currentMap[i->text(0)] = TQString();
else
m_currentMap[i->text(0)] = i->text(1);
i = i->nextSibling();
@@ -214,7 +214,7 @@ void KAddStringDlg::slotAddStringToView()
TQListViewItem* lvi = new TQListViewItem(m_sv);
lvi->setMultiLinesEnabled(true);
lvi->setText(0,text);
- m_currentMap[text] = TQString::null;
+ m_currentMap[text] = TQString();
m_edSearch->clear();
}
}
@@ -266,7 +266,7 @@ void KAddStringDlg::slotDeleteStringFromView()
void KAddStringDlg::slotHelp()
{
- kapp->invokeHelp(TQString::null, "kfilereplace");
+ kapp->invokeHelp(TQString(), "kfilereplace");
}
#include "kaddstringdlg.moc"