summaryrefslogtreecommitdiffstats
path: root/kab
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2012-02-14 21:18:11 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2012-02-14 21:18:11 -0600
commitfc3c9d3c5ff6ed64cdaeaf2e9c050aa3037fe335 (patch)
treef1e7de165d9a038aed66481b047cd32b4e1091df /kab
parent00894908e7b9359d8432a615380bf3db1d4745a0 (diff)
downloadtdelibs-fc3c9d3c5ff6ed64cdaeaf2e9c050aa3037fe335.tar.gz
tdelibs-fc3c9d3c5ff6ed64cdaeaf2e9c050aa3037fe335.zip
Update various qt function definitions and static methods for tqt3
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)
{