summaryrefslogtreecommitdiffstats
path: root/kab
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-05 23:54:16 -0600
committerSlávek Banko <slavek.banko@axis.cz>2012-06-02 19:04:46 +0200
commit18aecb8ec08ac370cb99e78e63acee0275e6334c (patch)
treea13f6ea3f960137e10cd775fe2d5fa51edd4636e /kab
parenta9c64e7a807d469d0c3695cd9ab23ab1b4c289b3 (diff)
downloadtdelibs-18aecb8ec08ac370cb99e78e63acee0275e6334c.tar.gz
tdelibs-18aecb8ec08ac370cb99e78e63acee0275e6334c.zip
Use non-tq sizeHint functions to fix bindings
(cherry picked from commit d4e11a5f488204ab8886e167c7c4af1e6e16ab58)
Diffstat (limited to 'kab')
-rw-r--r--kab/addressbook.h2
-rw-r--r--kab/kabapi.cc2
2 files changed, 2 insertions, 2 deletions
diff --git a/kab/addressbook.h b/kab/addressbook.h
index 2e6656bed..40f4114d7 100644
--- a/kab/addressbook.h
+++ b/kab/addressbook.h
@@ -572,7 +572,7 @@ public:
ErrorCode createConfigFile();
ErrorCode loadConfigFile(); /**< Load the local configuration file. */
// ErrorCode configureKab(); /**< Open the configuration dialog for the KabAPI. */
- // TQSize tqsizeHint(); /**< The preferred (minimal) size of the view. */ // ni
+ // TQSize sizeHint(); /**< The preferred (minimal) size of the view. */ // ni
/**
* This method parses a vCard and creates an Entry object from it.
*/
diff --git a/kab/kabapi.cc b/kab/kabapi.cc
index 0910df18b..6ec29028e 100644
--- a/kab/kabapi.cc
+++ b/kab/kabapi.cc
@@ -72,7 +72,7 @@ int KabAPI::exec()
{
listbox->setCurrentItem(0);
}
- listbox->setMinimumSize(listbox->tqsizeHint());
+ listbox->setMinimumSize(listbox->sizeHint());
adjustSize();
resize(tqminimumSize());
return KDialogBase::exec();