summaryrefslogtreecommitdiffstats
path: root/kopete/libkopete/ui
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-02-20 16:27:19 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-02-20 16:27:19 -0600
commitabed891d4e05028ca7fdfa1aecb047d2cc9e3da9 (patch)
tree3886579911eba100500e673e5c994dbcae42a6d2 /kopete/libkopete/ui
parent795ed72fdb980600d4da57fdf9e689cdbbfc9a9a (diff)
downloadtdenetwork-abed891d4e05028ca7fdfa1aecb047d2cc9e3da9.tar.gz
tdenetwork-abed891d4e05028ca7fdfa1aecb047d2cc9e3da9.zip
Rename KABC namespace
Diffstat (limited to 'kopete/libkopete/ui')
-rw-r--r--kopete/libkopete/ui/addressbooklinkwidget.cpp6
-rw-r--r--kopete/libkopete/ui/addressbooklinkwidget.h6
-rw-r--r--kopete/libkopete/ui/addressbookselectordialog.cpp4
-rw-r--r--kopete/libkopete/ui/addressbookselectordialog.h4
-rw-r--r--kopete/libkopete/ui/addressbookselectorwidget.cpp6
-rw-r--r--kopete/libkopete/ui/addressbookselectorwidget.h8
-rw-r--r--kopete/libkopete/ui/addresseeitem.cpp4
-rw-r--r--kopete/libkopete/ui/addresseeitem.h6
-rw-r--r--kopete/libkopete/ui/contactaddednotifydialog.cpp4
-rw-r--r--kopete/libkopete/ui/contactaddednotifydialog.h4
-rw-r--r--kopete/libkopete/ui/kopete.widgets2
-rw-r--r--kopete/libkopete/ui/kopetewidgets.cpp2
12 files changed, 28 insertions, 28 deletions
diff --git a/kopete/libkopete/ui/addressbooklinkwidget.cpp b/kopete/libkopete/ui/addressbooklinkwidget.cpp
index 2aa7df67..80f9fba5 100644
--- a/kopete/libkopete/ui/addressbooklinkwidget.cpp
+++ b/kopete/libkopete/ui/addressbooklinkwidget.cpp
@@ -45,7 +45,7 @@ AddressBookLinkWidget::AddressBookLinkWidget( TQWidget * parent, const char * na
connect( btnSelectAddressee, TQT_SIGNAL( clicked() ), TQT_SLOT( slotSelectAddressee() ) );
}
-void AddressBookLinkWidget::setAddressee( const KABC::Addressee& addr )
+void AddressBookLinkWidget::setAddressee( const TDEABC::Addressee& addr )
{
edtAddressee->setText( addr.realName() );
btnClear->setEnabled( !addr.isEmpty() );
@@ -65,7 +65,7 @@ void AddressBookLinkWidget::slotClearAddressee()
{
edtAddressee->clear();
btnClear->setEnabled( false );
- KABC::Addressee mrEmpty;
+ TDEABC::Addressee mrEmpty;
mSelectedUid = TQString();
emit addresseeChanged( mrEmpty );
}
@@ -81,7 +81,7 @@ void AddressBookLinkWidget::slotSelectAddressee()
Kopete::UI::AddressBookSelectorDialog dialog( i18n("Addressbook Association"), message, ( mMetaContact ? mMetaContact->metaContactId() : TQString() ), this );
int result = dialog.exec();
- KABC::Addressee addr;
+ TDEABC::Addressee addr;
if ( result == TQDialog::Accepted )
{
addr = dialog.addressBookSelectorWidget()->addressee();
diff --git a/kopete/libkopete/ui/addressbooklinkwidget.h b/kopete/libkopete/ui/addressbooklinkwidget.h
index 0ff4a651..a20f021f 100644
--- a/kopete/libkopete/ui/addressbooklinkwidget.h
+++ b/kopete/libkopete/ui/addressbooklinkwidget.h
@@ -50,7 +50,7 @@ public:
/**
* Set the currently selected addressee
*/
- void setAddressee( const KABC::Addressee& addr );
+ void setAddressee( const TDEABC::Addressee& addr );
/**
* Set the current metacontact so that the selector dialog may be preselected
*/
@@ -61,9 +61,9 @@ public:
TQString uid() const;
signals:
/**
- * Emitted when the selected addressee changed. addr is the KABC::Addressee that was selected. If addr.isEmpty() is empty, the clear button was clicked.
+ * Emitted when the selected addressee changed. addr is the TDEABC::Addressee that was selected. If addr.isEmpty() is empty, the clear button was clicked.
*/
- void addresseeChanged( const KABC::Addressee& addr );
+ void addresseeChanged( const TDEABC::Addressee& addr );
/**
* Provided so you can perform your own actions instead of opening the AddressBookSelectorWidget.
diff --git a/kopete/libkopete/ui/addressbookselectordialog.cpp b/kopete/libkopete/ui/addressbookselectordialog.cpp
index e75e7bc9..5ff4292f 100644
--- a/kopete/libkopete/ui/addressbookselectordialog.cpp
+++ b/kopete/libkopete/ui/addressbookselectordialog.cpp
@@ -52,12 +52,12 @@ AddressBookSelectorDialog::~AddressBookSelectorDialog()
{
}
-KABC::Addressee AddressBookSelectorDialog::getAddressee( const TQString &title, const TQString &message, const TQString &preSelectUid, TQWidget *parent)
+TDEABC::Addressee AddressBookSelectorDialog::getAddressee( const TQString &title, const TQString &message, const TQString &preSelectUid, TQWidget *parent)
{
AddressBookSelectorDialog dialog(title, message, preSelectUid, parent);
int result = dialog.exec();
- KABC::Addressee adr;
+ TDEABC::Addressee adr;
if ( result == TQDialog::Accepted )
adr = dialog.addressBookSelectorWidget()->addressee();
diff --git a/kopete/libkopete/ui/addressbookselectordialog.h b/kopete/libkopete/ui/addressbookselectordialog.h
index 5f5f6500..5b64c75c 100644
--- a/kopete/libkopete/ui/addressbookselectordialog.h
+++ b/kopete/libkopete/ui/addressbookselectordialog.h
@@ -23,7 +23,7 @@
#include "kopete_export.h"
#include <kdialogbase.h>
-namespace KABC
+namespace TDEABC
{
class AddressBook;
class Addressee;
@@ -72,7 +72,7 @@ public:
* @returns the selected contact, or a null addressee if the user
* pressed the Cancel button. Optionally
*/
- static KABC::Addressee getAddressee( const TQString &title, const TQString &message, const TQString &preSelectUid, TQWidget *parent = 0L );
+ static TDEABC::Addressee getAddressee( const TQString &title, const TQString &message, const TQString &preSelectUid, TQWidget *parent = 0L );
protected slots:
virtual void accept();
diff --git a/kopete/libkopete/ui/addressbookselectorwidget.cpp b/kopete/libkopete/ui/addressbookselectorwidget.cpp
index 8a0f08b5..2ff65529 100644
--- a/kopete/libkopete/ui/addressbookselectorwidget.cpp
+++ b/kopete/libkopete/ui/addressbookselectorwidget.cpp
@@ -90,7 +90,7 @@ AddressBookSelectorWidget::~AddressBookSelectorWidget()
}
-KABC::Addressee AddressBookSelectorWidget::addressee()
+TDEABC::Addressee AddressBookSelectorWidget::addressee()
{
AddresseeItem *item = 0L;
item = static_cast<AddresseeItem *>( addresseeListView->selectedItem() );
@@ -127,7 +127,7 @@ bool AddressBookSelectorWidget::addresseeSelected()
void AddressBookSelectorWidget::slotLoadAddressees()
{
addresseeListView->clear();
- KABC::AddressBook::Iterator it;
+ TDEABC::AddressBook::Iterator it;
AddresseeItem *addr;
for( it = m_addressBook->begin(); it != m_addressBook->end(); ++it )
{
@@ -148,7 +148,7 @@ void AddressBookSelectorWidget::slotAddAddresseeClicked()
if ( !addresseeName.isEmpty() )
{
- KABC::Addressee addr;
+ TDEABC::Addressee addr;
addr.setNameFromString( addresseeName );
m_addressBook->insertAddressee(addr);
Kopete::KABCPersistence::self()->writeAddressBook( 0 );
diff --git a/kopete/libkopete/ui/addressbookselectorwidget.h b/kopete/libkopete/ui/addressbookselectorwidget.h
index 09eb406d..067af94d 100644
--- a/kopete/libkopete/ui/addressbookselectorwidget.h
+++ b/kopete/libkopete/ui/addressbookselectorwidget.h
@@ -35,7 +35,7 @@
#include "addressbookselectorwidget_base.h"
-namespace KABC {
+namespace TDEABC {
class AddressBook;
class Addressee;
}
@@ -52,7 +52,7 @@ class KOPETE_EXPORT AddressBookSelectorWidget : public AddressBookSelectorWidget
public:
AddressBookSelectorWidget( TQWidget *parent = 0, const char *name = 0 );
~AddressBookSelectorWidget();
- KABC::Addressee addressee();
+ TDEABC::Addressee addressee();
/**
* sets the widget label message
* example: Please select a contact
@@ -69,8 +69,8 @@ public:
bool addresseeSelected();
private:
- KABC::AddressBook * m_addressBook;
- KABC::Addressee m_addressee;
+ TDEABC::AddressBook * m_addressBook;
+ TDEABC::Addressee m_addressee;
protected slots:
void slotAddAddresseeClicked();
diff --git a/kopete/libkopete/ui/addresseeitem.cpp b/kopete/libkopete/ui/addresseeitem.cpp
index 3065abe8..f84dd8d4 100644
--- a/kopete/libkopete/ui/addresseeitem.cpp
+++ b/kopete/libkopete/ui/addresseeitem.cpp
@@ -27,12 +27,12 @@
#include "addresseeitem.h"
-AddresseeItem::AddresseeItem( TQListView *parent, const KABC::Addressee &addressee) :
+AddresseeItem::AddresseeItem( TQListView *parent, const TDEABC::Addressee &addressee) :
TDEListViewItem( parent ),
mAddressee( addressee )
{
//We can't save showphoto because we don't have a d pointer
- KABC::Picture pic = mAddressee.photo();
+ TDEABC::Picture pic = mAddressee.photo();
if(!pic.isIntern())
pic = mAddressee.logo();
if(pic.isIntern())
diff --git a/kopete/libkopete/ui/addresseeitem.h b/kopete/libkopete/ui/addresseeitem.h
index 6962d109..786db604 100644
--- a/kopete/libkopete/ui/addresseeitem.h
+++ b/kopete/libkopete/ui/addresseeitem.h
@@ -49,12 +49,12 @@ class AddresseeItem : public TDEListViewItem
@param parent The parent listview.
@param addressee The associated addressee.
*/
- AddresseeItem( TQListView *parent, const KABC::Addressee &addressee );
+ AddresseeItem( TQListView *parent, const TDEABC::Addressee &addressee );
/**
Returns the addressee.
*/
- KABC::Addressee addressee() const { return mAddressee; }
+ TDEABC::Addressee addressee() const { return mAddressee; }
/**
Method used by TQListView to sort the items.
@@ -62,7 +62,7 @@ class AddresseeItem : public TDEListViewItem
virtual TQString key( int column, bool ascending ) const;
private:
- KABC::Addressee mAddressee;
+ TDEABC::Addressee mAddressee;
};
#endif
diff --git a/kopete/libkopete/ui/contactaddednotifydialog.cpp b/kopete/libkopete/ui/contactaddednotifydialog.cpp
index b0fdd43a..642a8be3 100644
--- a/kopete/libkopete/ui/contactaddednotifydialog.cpp
+++ b/kopete/libkopete/ui/contactaddednotifydialog.cpp
@@ -102,7 +102,7 @@ ContactAddedNotifyDialog::ContactAddedNotifyDialog(const TQString& contactId,
}
d->widget->m_groupList->setCurrentText(TQString()); //default to top-level
- connect( d->widget->widAddresseeLink, TQT_SIGNAL( addresseeChanged( const KABC::Addressee& ) ), this, TQT_SLOT( slotAddresseeSelected( const KABC::Addressee& ) ) );
+ connect( d->widget->widAddresseeLink, TQT_SIGNAL( addresseeChanged( const TDEABC::Addressee& ) ), this, TQT_SLOT( slotAddresseeSelected( const TDEABC::Addressee& ) ) );
connect( d->widget->m_infoButton, TQT_SIGNAL( clicked() ), this, TQT_SLOT( slotInfoClicked() ) );
connect( this, TQT_SIGNAL(okClicked()) , this , TQT_SLOT(slotFinished()));
@@ -153,7 +153,7 @@ MetaContact *ContactAddedNotifyDialog::addContact() const
return metacontact;
}
-void ContactAddedNotifyDialog::slotAddresseeSelected( const KABC::Addressee & addr )
+void ContactAddedNotifyDialog::slotAddresseeSelected( const TDEABC::Addressee & addr )
{
if ( !addr.isEmpty() )
{
diff --git a/kopete/libkopete/ui/contactaddednotifydialog.h b/kopete/libkopete/ui/contactaddednotifydialog.h
index e439ed47..78c39aa2 100644
--- a/kopete/libkopete/ui/contactaddednotifydialog.h
+++ b/kopete/libkopete/ui/contactaddednotifydialog.h
@@ -20,7 +20,7 @@
#include <kdialogbase.h>
#include "kopete_export.h"
-namespace KABC {
+namespace TDEABC {
class Addressee;
}
@@ -160,7 +160,7 @@ signals:
private slots:
- void slotAddresseeSelected( const KABC::Addressee &);
+ void slotAddresseeSelected( const TDEABC::Addressee &);
void slotInfoClicked();
void slotFinished();
diff --git a/kopete/libkopete/ui/kopete.widgets b/kopete/libkopete/ui/kopete.widgets
index bb4ee05f..54435dda 100644
--- a/kopete/libkopete/ui/kopete.widgets
+++ b/kopete/libkopete/ui/kopete.widgets
@@ -18,7 +18,7 @@ Group=Input (Kopete)
[Kopete::UI::AddressBookLinkWidget]
ToolTip=Address Book Link Widget (Kopete)
-WhatsThis=KABC::Addressee display/selector
+WhatsThis=TDEABC::Addressee display/selector
IncludeFile=addressbooklinkwidget.h
ConstructorArgs=(parent, name)
Group=Input (Kopete)
diff --git a/kopete/libkopete/ui/kopetewidgets.cpp b/kopete/libkopete/ui/kopetewidgets.cpp
index b7addd10..f20cef6d 100644
--- a/kopete/libkopete/ui/kopetewidgets.cpp
+++ b/kopete/libkopete/ui/kopetewidgets.cpp
@@ -79,7 +79,7 @@ KopeteWidgets::KopeteWidgets()
#endif
widget.includeFile = TQString::fromLatin1("addressbooklinkwidget.h");
widget.toolTip = TQString::fromLatin1("Address Book Link Widget (Kopete)");
- widget.whatsThis = TQString::fromLatin1("KABC::Addressee display/selector");
+ widget.whatsThis = TQString::fromLatin1("TDEABC::Addressee display/selector");
widget.isContainer = false;
m_widgets.insert(TQString::fromLatin1("Kopete::UI::AddressBookLinkWidget"), widget);