summaryrefslogtreecommitdiffstats
path: root/kab
diff options
context:
space:
mode:
Diffstat (limited to 'kab')
-rw-r--r--kab/addressbook.cpp2
-rw-r--r--kab/qconfigDB.h3
2 files changed, 3 insertions, 2 deletions
diff --git a/kab/addressbook.cpp b/kab/addressbook.cpp
index 1a6655266..0cf8b9307 100644
--- a/kab/addressbook.cpp
+++ b/kab/addressbook.cpp
@@ -100,7 +100,7 @@ const int AddressBook::Entry::NoOfFields
=sizeof(AddressBook::Entry::Fields)/sizeof(AddressBook::Entry::Fields[0]);
struct QStringLess
- : public binary_function<const TQString&, const TQString&, bool>
+ : public std::function<bool(const TQString&, const TQString&)>
{
/** The function operator, inline. */
bool operator()(const TQString& x, const TQString& y) const
diff --git a/kab/qconfigDB.h b/kab/qconfigDB.h
index 94a211527..f74e5886c 100644
--- a/kab/qconfigDB.h
+++ b/kab/qconfigDB.h
@@ -19,6 +19,7 @@
namespace std { }
using namespace std;
+#include <functional>
#include <list>
#include <map>
#include <tqwidget.h>
@@ -43,7 +44,7 @@ class TQTextStream;
* it is called with.
*/
struct QCStringLess
- : public binary_function<const TQCString&, const TQCString&, bool>
+ : public std::function<bool(const TQCString&, const TQCString&)>
{
/**
* The function operator, inline.