From fc3c9d3c5ff6ed64cdaeaf2e9c050aa3037fe335 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Tue, 14 Feb 2012 21:18:11 -0600 Subject: Update various qt function definitions and static methods for tqt3 --- kab/addressbook.cc | 6 +++--- kab/kabapi.cc | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) (limited to 'kab') 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 >::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 >::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) { -- cgit v1.2.1