summaryrefslogtreecommitdiffstats
path: root/kalarm
diff options
context:
space:
mode:
Diffstat (limited to 'kalarm')
-rw-r--r--kalarm/birthdaydlg.cpp12
-rw-r--r--kalarm/birthdaydlg.h4
-rw-r--r--kalarm/editdlg.cpp2
-rw-r--r--kalarm/lib/lineedit.cpp4
4 files changed, 11 insertions, 11 deletions
diff --git a/kalarm/birthdaydlg.cpp b/kalarm/birthdaydlg.cpp
index e50723ff0..c98a9987f 100644
--- a/kalarm/birthdaydlg.cpp
+++ b/kalarm/birthdaydlg.cpp
@@ -67,7 +67,7 @@ class AddresseeItem : public TQListViewItem
};
-const KABC::AddressBook* BirthdayDlg::mAddressBook = 0;
+const TDEABC::AddressBook* BirthdayDlg::mAddressBook = 0;
BirthdayDlg::BirthdayDlg(TQWidget* parent)
@@ -196,11 +196,11 @@ void BirthdayDlg::loadAddressBook()
if (!mAddressBook)
{
#if KDE_IS_VERSION(3,1,90)
- mAddressBook = KABC::StdAddressBook::self(true);
+ mAddressBook = TDEABC::StdAddressBook::self(true);
if (mAddressBook)
connect(mAddressBook, TQT_SIGNAL(addressBookChanged(AddressBook*)), TQT_SLOT(updateSelectionList()));
#else
- mAddressBook = KABC::StdAddressBook::self();
+ mAddressBook = TDEABC::StdAddressBook::self();
if (mAddressBook)
updateSelectionList();
#endif
@@ -218,7 +218,7 @@ void BirthdayDlg::close()
{
if (mAddressBook)
{
- KABC::StdAddressBook::close();
+ TDEABC::StdAddressBook::close();
mAddressBook = 0;
}
}
@@ -244,9 +244,9 @@ void BirthdayDlg::updateSelectionList()
}
// Fetch all birthdays from the address book
- for (KABC::AddressBook::ConstIterator abit = mAddressBook->begin(); abit != mAddressBook->end(); ++abit)
+ for (TDEABC::AddressBook::ConstIterator abit = mAddressBook->begin(); abit != mAddressBook->end(); ++abit)
{
- const KABC::Addressee& addressee = *abit;
+ const TDEABC::Addressee& addressee = *abit;
if (addressee.birthday().isValid())
{
// Create a list entry for this birthday
diff --git a/kalarm/birthdaydlg.h b/kalarm/birthdaydlg.h
index ccddbd656..ee5511466 100644
--- a/kalarm/birthdaydlg.h
+++ b/kalarm/birthdaydlg.h
@@ -35,7 +35,7 @@ class SpecialActionsButton;
class RepetitionButton;
class LateCancelSelector;
class Reminder;
-namespace KABC { class AddressBook; }
+namespace TDEABC { class AddressBook; }
class BLineEdit;
class BListView;
@@ -60,7 +60,7 @@ class BirthdayDlg : public KDialogBase
private:
void loadAddressBook();
- static const KABC::AddressBook* mAddressBook;
+ static const TDEABC::AddressBook* mAddressBook;
BListView* mAddresseeList;
BLineEdit* mPrefix;
BLineEdit* mSuffix;
diff --git a/kalarm/editdlg.cpp b/kalarm/editdlg.cpp
index 091a648a3..0a7b3d587 100644
--- a/kalarm/editdlg.cpp
+++ b/kalarm/editdlg.cpp
@@ -1879,7 +1879,7 @@ void EditAlarmDlg::slotAnyTimeToggled(bool anyTime)
*/
void EditAlarmDlg::openAddressBook()
{
- KABC::Addressee a = KABC::AddresseeDialog::getAddressee(this);
+ TDEABC::Addressee a = TDEABC::AddresseeDialog::getAddressee(this);
if (a.isEmpty())
return;
Person person(a.realName(), a.preferredEmail());
diff --git a/kalarm/lib/lineedit.cpp b/kalarm/lib/lineedit.cpp
index 1db384d3c..4e40e2c7d 100644
--- a/kalarm/lib/lineedit.cpp
+++ b/kalarm/lib/lineedit.cpp
@@ -110,7 +110,7 @@ void LineEdit::dropEvent(TQDropEvent* e)
TQString txt;
KPIM::MailList mailList;
KURL::List files;
- KABC::Addressee::List addrList;
+ TDEABC::Addressee::List addrList;
if (mType != Url
&& e->provides(KPIM::MailListDrag::format())
@@ -130,7 +130,7 @@ void LineEdit::dropEvent(TQDropEvent* e)
&& KVCardDrag::canDecode(e) && KVCardDrag::decode(e, addrList))
{
// KAddressBook entries
- for (KABC::Addressee::List::Iterator it = addrList.begin(); it != addrList.end(); ++it)
+ for (TDEABC::Addressee::List::Iterator it = addrList.begin(); it != addrList.end(); ++it)
{
TQString em((*it).fullEmail());
if (!em.isEmpty())