summaryrefslogtreecommitdiffstats
path: root/kab
diff options
context:
space:
mode:
Diffstat (limited to 'kab')
-rw-r--r--kab/addressbook.cc6
-rw-r--r--kab/kabapi.cc4
2 files changed, 5 insertions, 5 deletions
diff --git a/kab/addressbook.cc b/kab/addressbook.cc
index 9795c42a7..ec5f97244 100644
--- a/kab/addressbook.cc
+++ b/kab/addressbook.cc
@@ -162,7 +162,7 @@ bool AddressBook::Entry::Address::nameOfField(const char* key, TQString& value)
// as fields is static
int counter=0;
fields=new KeyNameMap;
- Q_CHECK_PTR(fields);
+ TQ_CHECK_PTR(fields);
if(!fields->insert
(map<const char*, TQString, less<const char*> >::value_type
(Fields[counter++], i18n("Headline"))).second
@@ -257,7 +257,7 @@ bool AddressBook::Entry::nameOfField(const char* key, TQString& value)
// as fields is static
int counter=0;
fields=new KeyNameMap;
- Q_CHECK_PTR(fields);
+ TQ_CHECK_PTR(fields);
if(!fields->insert
(map<const char*, TQString, less<const char*> >::value_type
(Fields[counter++], i18n("person","Title"))).second
@@ -2003,7 +2003,7 @@ AddressBook::ErrorCode AddressBook::categories(CategoriesMap& cat)
StringStringMap::iterator pos;
// ----- query categories section:
section=categoriesSection();
- Q_CHECK_PTR(section);
+ TQ_CHECK_PTR(section);
// -----
if(!section->find(KAB_CATEGORY_KEY, categories))
{
diff --git a/kab/kabapi.cc b/kab/kabapi.cc
index 0cf97905c..a6b6da682 100644
--- a/kab/kabapi.cc
+++ b/kab/kabapi.cc
@@ -39,7 +39,7 @@ KabAPI::KabAPI(TQWidget* parent, const char* name)
listbox(new KListBox(this)),
selection(-1)
{
- Q_CHECK_PTR(listbox);
+ TQ_CHECK_PTR(listbox);
setMainWidget(listbox);
showButtonApply(false);
enableButtonSeparator(true);
@@ -141,7 +141,7 @@ AddressBook::ErrorCode KabAPI::add(const AddressBook::Entry& entry, KabKey& key,
AddressBook::ErrorCode KabAPI::remove(const KabKey& key)
{
- Q_CHECK_PTR(book);
+ TQ_CHECK_PTR(book);
// ############################################################################
if(book->AddressBook::remove(key)==AddressBook::NoError)
{