summaryrefslogtreecommitdiffstats
path: root/kopete/libkopete/ui/addressbookselectorwidget.cpp
diff options
context:
space:
mode:
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 );