summaryrefslogtreecommitdiffstats
path: root/kopete/libkopete/ui/addressbookselectorwidget.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-22 00:30:31 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-22 00:30:31 +0000
commit69cac65817d949cda2672ec4f0aa73d5e66a0ba1 (patch)
tree073fde0496ea90eb5bf5cffe66a8da43a9f55fbc /kopete/libkopete/ui/addressbookselectorwidget.cpp
parent3467e6464beac3a162839bf7078e22e3a74d73e7 (diff)
downloadtdenetwork-69cac65817d949cda2672ec4f0aa73d5e66a0ba1.tar.gz
tdenetwork-69cac65817d949cda2672ec4f0aa73d5e66a0ba1.zip
TQt4 port kdenetwork
This enables compilation under both Qt3 and Qt4 git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdenetwork@1237912 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kopete/libkopete/ui/addressbookselectorwidget.cpp')
-rw-r--r--kopete/libkopete/ui/addressbookselectorwidget.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/kopete/libkopete/ui/addressbookselectorwidget.cpp b/kopete/libkopete/ui/addressbookselectorwidget.cpp
index 4b106315..d67c3671 100644
--- a/kopete/libkopete/ui/addressbookselectorwidget.cpp
+++ b/kopete/libkopete/ui/addressbookselectorwidget.cpp
@@ -54,8 +54,8 @@ namespace Kopete
namespace UI
{
-AddressBookSelectorWidget::AddressBookSelectorWidget( TQWidget *parent, const char *name )
- : AddressBookSelectorWidget_Base( parent, name )
+AddressBookSelectorWidget::AddressBookSelectorWidget( TQWidget *tqparent, const char *name )
+ : AddressBookSelectorWidget_Base( tqparent, name )
{
m_addressBook = Kopete::KABCPersistence::self()->addressBook();
@@ -74,7 +74,7 @@ AddressBookSelectorWidget::AddressBookSelectorWidget( TQWidget *parent, const ch
//We should add a clear KAction here. But we can't really do that with a designer file :\ this sucks
- addresseeListView->setColumnText(2, SmallIconSet(TQString::fromLatin1("email")), i18n("Email"));
+ addresseeListView->setColumnText(2, SmallIconSet(TQString::tqfromLatin1("email")), i18n("Email"));
kListViewSearchLine->setListView(addresseeListView);
slotLoadAddressees();
@@ -144,7 +144,7 @@ void AddressBookSelectorWidget::setLabelMessage( const TQString &msg )
void AddressBookSelectorWidget::slotAddAddresseeClicked()
{
// Pop up add addressee dialog
- TQString addresseeName = KInputDialog::getText( i18n( "New Address Book Entry" ), i18n( "Name the new entry:" ), TQString::null, 0, this );
+ TQString addresseeName = KInputDialog::getText( i18n( "New Address Book Entry" ), i18n( "Name the new entry:" ), TQString(), 0, this );
if ( !addresseeName.isEmpty() )
{
@@ -154,7 +154,7 @@ void AddressBookSelectorWidget::slotAddAddresseeClicked()
Kopete::KABCPersistence::self()->writeAddressBook( 0 );
slotLoadAddressees();
// select the addressee we just added
- TQListViewItem * added = addresseeListView->findItem( addresseeName, 1 );
+ TQListViewItem * added = addresseeListView->tqfindItem( addresseeName, 1 );
kListViewSearchLine->clear();
kListViewSearchLine->updateSearch();
addresseeListView->setSelected( added, true );