summaryrefslogtreecommitdiff
path: root/glib
diff options
context:
space:
mode:
authorMurray Cumming <murrayc@murrayc.com>2016-03-31 12:38:17 +0200
committerMurray Cumming <murrayc@murrayc.com>2016-03-31 12:38:17 +0200
commit48f03ef26ff57a96b305c06cfa0b19fd873cb971 (patch)
tree3297398b9ecda857f708963dafb2e9796c619887 /glib
parenta1740f7fe821c0a376005aa512fc8bbca4a6b1c3 (diff)
downloadglibmm-48f03ef26ff57a96b305c06cfa0b19fd873cb971.tar.gz
C++11: .hg\.ccg files: Replace more typedefs with using.
Diffstat (limited to 'glib')
-rw-r--r--glib/src/bytearray.hg2
-rw-r--r--glib/src/optioncontext.hg2
-rw-r--r--glib/src/optiongroup.hg6
3 files changed, 5 insertions, 5 deletions
diff --git a/glib/src/bytearray.hg b/glib/src/bytearray.hg
index 1db85d84..a921a656 100644
--- a/glib/src/bytearray.hg
+++ b/glib/src/bytearray.hg
@@ -58,7 +58,7 @@ public:
* int compare(const guint8* first, const guint8* second);
* </code>
*/
- typedef sigc::slot<int, const guint8*, const guint8*> SlotCompare;
+ using SlotCompare = sigc::slot<int, const guint8*, const guint8*>;
_WRAP_METHOD(static Glib::RefPtr<ByteArray> create(), g_byte_array_new)
diff --git a/glib/src/optioncontext.hg b/glib/src/optioncontext.hg
index f20ec36d..9d0eb6c7 100644
--- a/glib/src/optioncontext.hg
+++ b/glib/src/optioncontext.hg
@@ -178,7 +178,7 @@ public:
* This function is used to translate user-visible strings, for --help output.
* The function takes an untranslated string and returns a translated string
*/
- typedef sigc::slot<Glib::ustring, const Glib::ustring&> SlotTranslate;
+ using SlotTranslate = sigc::slot<Glib::ustring, const Glib::ustring&>;
/**
* Sets the function which is used to translate user-visible
diff --git a/glib/src/optiongroup.hg b/glib/src/optiongroup.hg
index b4e08464..9995d5f8 100644
--- a/glib/src/optiongroup.hg
+++ b/glib/src/optiongroup.hg
@@ -49,17 +49,17 @@ class OptionGroup
public:
/** For example Glib::ustring on_translate(const Glib::ustring& original);.
*/
- typedef sigc::slot<Glib::ustring, const Glib::ustring&> SlotTranslate;
+ using SlotTranslate = sigc::slot<Glib::ustring, const Glib::ustring&>;
/** For example bool on_option_arg_string(const Glib::ustring& option_name,
* const Glib::ustring& value, bool has_value);.
*/
- typedef sigc::slot<bool, const Glib::ustring&, const Glib::ustring&, bool> SlotOptionArgString;
+ using SlotOptionArgString = sigc::slot<bool, const Glib::ustring&, const Glib::ustring&, bool>;
/** For example bool on_option_arg_filename(const Glib::ustring& option_name,
* const std::string& value, bool has_value);.
*/
- typedef sigc::slot<bool, const Glib::ustring&, const std::string&, bool> SlotOptionArgFilename;
+ using SlotOptionArgFilename = sigc::slot<bool, const Glib::ustring&, const std::string&, bool>;
OptionGroup(const Glib::ustring& name, const Glib::ustring& description, const Glib::ustring& help_description = Glib::ustring());