Mercurial > projects > qtd
changeset 321:d458ed66e871 signals
minor stuff
author | eldar_ins@eldar-laptop |
---|---|
date | Sat, 26 Dec 2009 05:10:16 +0500 |
parents | 5c6455c4889b |
children | 7c2cf27391c4 |
files | examples/dialogs/classwizard/classwizard.d generator/dgenerator.cpp qt/d2/qt/Signal.d |
diffstat | 3 files changed, 3 insertions(+), 5 deletions(-) [+] |
line wrap: on
line diff
--- a/examples/dialogs/classwizard/classwizard.d Fri Dec 25 22:08:25 2009 +0500 +++ b/examples/dialogs/classwizard/classwizard.d Sat Dec 26 05:10:16 2009 +0500 @@ -54,7 +54,7 @@ import qt.core.QDir; import qt.core.QRegExp; -import std.string; +import std.string : format; class ClassWizard : public QWizard @@ -332,9 +332,7 @@ baseIncludeLabel.setBuddy(baseIncludeLineEdit); connect!("toggled")(protectCheckBox, ¯oNameLabel.setEnabled); -// ? connect!("toggled")(protectCheckBox, ¯oNameLabel.setEnabled); connect!("toggled")(includeBaseCheckBox, ¯oNameLabel.setEnabled); -// ? connect!("toggled")(includeBaseCheckBox, ¯oNameLabel.setEnabled); registerField("comment", commentCheckBox); registerField("protect", protectCheckBox);
--- a/generator/dgenerator.cpp Fri Dec 25 22:08:25 2009 +0500 +++ b/generator/dgenerator.cpp Sat Dec 26 05:10:16 2009 +0500 @@ -1993,7 +1993,7 @@ if (dPhobos) { s << "import std.stdio;" << endl - << "import std.string;" << endl + << "import std.string : toStringz;" << endl << "import std.utf;" << endl << "import core.memory;" << endl; }
--- a/qt/d2/qt/Signal.d Fri Dec 25 22:08:25 2009 +0500 +++ b/qt/d2/qt/Signal.d Sat Dec 26 05:10:16 2009 +0500 @@ -26,9 +26,9 @@ std.typetuple, std.traits, std.conv, - std.string, std.metastrings; +public import std.string : strip, toStringz; /** The beast that takes string representation of function arguments * and returns an array of default values it doesn't check if arguments