diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-05 15:55:57 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-05 15:55:57 -0600 |
commit | 9ba04742771370f59740e32e11c5f3a1e6a1b70a (patch) | |
tree | c81c34dae2b3b1ea73801bf18a960265dc4207f7 /qtruby/ChangeLog | |
parent | 1a96c45b22d01378202d9dc7ed9c47acd30f966e (diff) | |
download | tdebindings-9ba04742771370f59740e32e11c5f3a1e6a1b70a.tar.gz tdebindings-9ba04742771370f59740e32e11c5f3a1e6a1b70a.zip |
Initial TQt conversion
Diffstat (limited to 'qtruby/ChangeLog')
-rw-r--r-- | qtruby/ChangeLog | 434 |
1 files changed, 217 insertions, 217 deletions
diff --git a/qtruby/ChangeLog b/qtruby/ChangeLog index 8582b043..cc380600 100644 --- a/qtruby/ChangeLog +++ b/qtruby/ChangeLog @@ -1,36 +1,36 @@ 2007-02-19 Richard Dale <rdale@foton.es> - * Fixed a bug where the sort method of Qt::ListView and Qt::ListViewItem + * Fixed a bug where the sort method of TQt::ListView and TQt::ListViewItem was no longer working, as the classes are 'Enumerable' and ruby was calling the ruby sort method instead. Thanks to kelko for reporting it on #kde-ruby. 2006-12-05 Richard Dale <rdale@foton.es> - * Backported some improvements to Qt::Variants from Qt4 QtRuby - * When marhalling QMap types with QVariant values, if the Ruby value isn't - a Qt::Variant then one is created - * Qt::Variants can now be constructed with Hash's of String/Qt::Variant - pairs, and from Arrays of Qt::Variants - * When marshalling QValueList<QVariant> types from Ruby to C++, if any elements - aren't Ruby Qt::Variants, they are automatically converted. Hence, the + * Backported some improvements to TQt::Variants from Qt4 QtRuby + * When marhalling TQMap types with TQVariant values, if the Ruby value isn't + a TQt::Variant then one is created + * TQt::Variants can now be constructed with Hash's of String/TQt::Variant + pairs, and from Arrays of TQt::Variants + * When marshalling TQValueList<TQVariant> types from Ruby to C++, if any elements + aren't Ruby TQt::Variants, they are automatically converted. Hence, the following will work: - v = Qt::Variant.new([1, 2, 3]) + v = TQt::Variant.new([1, 2, 3]) - The Qt::Variant v will contain a list of 3 QVariants with typeName 'int' + The TQt::Variant v will contain a list of 3 TQVariants with typeName 'int' * Change all instances of strcmp() to qstrcmp() 2006-11-20 Richard Dale <rdale@foton.es> - * Made Qt::ListView, Qt::ListViewItem, Qt::BoxLayout, Qt::HBoxLayout, - Qt::VBoxLayout and Qt::GridLayout Enumerable with implementations + * Made TQt::ListView, TQt::ListViewItem, TQt::BoxLayout, TQt::HBoxLayout, + TQt::VBoxLayout and TQt::GridLayout Enumerable with implementations of each() so they don't need to use the Qt External iterators like - Qt::LayoutIterator anymore. For instance: + TQt::LayoutIterator anymore. For instance: - lv = Qt::ListView.new do + lv = TQt::ListView.new do ["one", "two", "three", "four"].each do |label| - Qt::ListViewItem.new(self, label, "zzz") + TQt::ListViewItem.new(self, label, "zzz") end end @@ -39,7 +39,7 @@ pp item.inspect end - * Add inspect() and pretty_print() methods to Qt::ListViewItem so that + * Add inspect() and pretty_print() methods to TQt::ListViewItem so that they show the text of their columns 2006-09-19 Richard Dale <rdale@foton.es> @@ -51,7 +51,7 @@ 2006-09-17 Richard Dale <rdale@foton.es> - * Fixed bug reported by Caleb Tennis where temporary QString const arguments + * Fixed bug reported by Caleb Tennis where temporary TQString const arguments were only being deleting after marshalling if they weren't const types. 2006-09-14 Richard Dale <rdale@foton.es> @@ -62,26 +62,26 @@ quit.connect(SIGNAL(:clicked)) { puts 'quit pressed' } The block is called in the context of where the connect call was made, and 'self' - needn't be a Qt::Object. It is similar to the signal_connect() method in + needn't be a TQt::Object. It is similar to the signal_connect() method in ruby-gnome. This was suggested by rickdangerous on the #qtruby irc channel. 2006-09-13 Richard Dale <rdale@foton.es> - * Blocks can now be used as slots in Qt::Object.connect() calls. There are two + * Blocks can now be used as slots in TQt::Object.connect() calls. There are two versions, a singleton method and an instance method. * Here is an example of the class method connect() call with a block as a target: - app = Qt::Application.new(ARGV) - quit = Qt::PushButton.new('Quit') - Qt::Object.connect(quit, SIGNAL('clicked()'), app) { puts 'quit clicked' } + app = TQt::Application.new(ARGV) + quit = TQt::PushButton.new('Quit') + TQt::Object.connect(quit, SIGNAL('clicked()'), app) { puts 'quit clicked' } The block is executed in the context of the target instance, 'app' in this case. * And the instance method form: - class MyButton < Qt::Button + class MyButton < TQt::Button def initialize(text) super(text) connect(self, SIGNAL('clicked()')) { puts 'button clicked' } @@ -115,24 +115,24 @@ 2006-06-05 Richard Dale <rdale@foton.es> * The metaObject methods for slots and signals are no longer added when - a Qt::Object is constructed, but when slots or signals are added to + a TQt::Object is constructed, but when slots or signals are added to a class. This means that signals as well as slots can be added to an existing instance. 2006-06-04 Richard Dale <rdale@foton.es> - * For Qt::QObject classes which are immediate subclasses of Qt::Base, + * For TQt::TQObject classes which are immediate subclasses of TQt::Base, don't add C metaObject() and qt_invoke() methods as they aren't - needed. This means that a QMetaObject is no longer constructed for + needed. This means that a TQMetaObject is no longer constructed for these classes, and the one that the corresponding C++ class has is returned instead. 2006-05-20 Richard Dale <rdale@foton.es> - * Fix regression for dynamic class creation via QMetaObject info causing + * Fix regression for dynamic class creation via TQMetaObject info causing a crash. - * A list of properties is now returned via Qt::MetaObject.propertyNames - for a Qt::Object with properties for the inspect and pretty_print + * A list of properties is now returned via TQt::MetaObject.propertyNames + for a TQt::Object with properties for the inspect and pretty_print methods. 2006-05-15 Richard Dale <rdale@foton.es> @@ -146,16 +146,16 @@ created. For instance, if a KPresenter KPart is loaded, a KDE::PresenterDoc class is created. * It is now possible to set and get properties without needing to use - Qt::Object.property() and Qt::Object.setProperty(). For instance: + TQt::Object.property() and TQt::Object.setProperty(). For instance: factory = KDE::LibLoader.self().factory("libkpresenterpart") @kpresenter = factory.create(self) p @kpresenter.presentationDuration @kpresenter.presentationDuration = true - * A Qt::Variant.to_ruby method has been added which returns a Ruby value - corresponding to the current value of a Qt::Variant - * A boolean Qt::Variant can now be constructed with a Qt::Variant.new(true) + * A TQt::Variant.to_ruby method has been added which returns a Ruby value + corresponding to the current value of a TQt::Variant + * A boolean TQt::Variant can now be constructed with a TQt::Variant.new(true) call, and a dummy second arg (as for C++) is no longer needed. 2006-05-07 Richard Dale <rdale@foton.es> @@ -175,7 +175,7 @@ 2006-04-17 Richard Dale <rdale@foton.es> * Made :foobar a synonym for 'foobar()' for slots and signals - * Added some calls for Qt::Event.type methods to force them + * Added some calls for TQt::Event.type methods to force them to go via method_missing() 2006-03-29 Richard Dale <rdale@foton.es> @@ -207,7 +207,7 @@ 2006-02-09 Richard Dale <Richard_Dale@tipitina.demon.co.uk> * The Kernel#select method was being redefined as it clashed with - Qt::SqlCursor#select and Qt::SqlSelectCursor#select methods. This + TQt::SqlCursor#select and TQt::SqlSelectCursor#select methods. This caused a problem when QtRuby was used with Rails ActiveRecord which also has a select method. So the methods are now defined in the Sql classes, and use method_missing() to explictly invoke the methods in @@ -235,9 +235,9 @@ * The ruby display() method was clashing with a display() method in some QtRuby classes, and so it was aliased to _display(). However, this caused problems with the ruby RMagick extension. The display methods are now - special cased in Qt::LCDNumber, Qt::WhatsThis and Qt::TimeEdit. Fixes + special cased in TQt::LCDNumber, TQt::WhatsThis and TQt::TimeEdit. Fixes problem reported by David Corbin. - * The slots and signals methods are now module methods of Qt::Base, + * The slots and signals methods are now module methods of TQt::Base, rather than defined as ordinary methods in class Module, reducing name space pollution. Thanks to Esteban Manchado for pointing this out. @@ -263,7 +263,7 @@ 2005-11-02 Richard Dale <Richard_Dale@tipitina.demon.co.uk> - * A Qt::Canvas owned by a Qt::CanvasItem is marked as in use + * A TQt::Canvas owned by a TQt::CanvasItem is marked as in use and not needing garbage collection 2005-10-21 Richard Dale <Richard_Dale@tipitina.demon.co.uk> @@ -274,13 +274,13 @@ 2005-10-05 Richard Dale <Richard_Dale@tipitina.demon.co.uk> * More fixes from the Qt4 version - * The Qt::ByteArray class is now a normal Smoke class, + * The TQt::ByteArray class is now a normal Smoke class, rather than a special case, as it's easier to make a - Qt::ByteArray look like a ruby String, than the other way + TQt::ByteArray look like a ruby String, than the other way round. * The overloaded method resolution for enum arg types has been improved - * Added missing relational operators to Qt::Integer + * Added missing relational operators to TQt::Integer 2005-09-26 Richard Dale <Richard_Dale@tipitina.demon.co.uk> @@ -288,7 +288,7 @@ * Added some fixes from the Qt4 version of QtRuby * There was a clash between operator methods in Kernel for '>', '>=', '<' and '<=' and the ones in the Smoke lib. - * Fixed a Qt::ByteArray marshalling problem + * Fixed a TQt::ByteArray marshalling problem 2005-09-12 Richard Dale <Richard_Dale@tipitina.demon.co.uk> @@ -297,30 +297,30 @@ 2005-09-11 Richard Dale <Richard_Dale@tipitina.demon.co.uk> - * Fixed problem with Qt::SqlCursor.select() reported by Daniel Morris + * Fixed problem with TQt::SqlCursor.select() reported by Daniel Morris 2005-09-02 Richard Dale <Richard_Dale@tipitina.demon.co.uk> - * Added a Qt::Char.to_s method for converting a Qt::Char to a ruby + * Added a TQt::Char.to_s method for converting a TQt::Char to a ruby string 2005-08-09 Richard Dale <Richard_Dale@tipitina.demon.co.uk> * Caleb Tennis wrote: - One nice feature would be to allow Qt::Object::inherits() to use the QtRuby + One nice feature would be to allow TQt::Object::inherits() to use the QtRuby naming scheme for valid lookups. For example, right now: - irb(main):001:0> w = Qt::Widget.new(nil) - irb(main):002:0> w.inherits("Qt::Widget") + irb(main):001:0> w = TQt::Widget.new(nil) + irb(main):002:0> w.inherits("TQt::Widget") => true - irb(main):003:0> w.inherits("Qt::Object") + irb(main):003:0> w.inherits("TQt::Object") => false - irb(main):004:0> w.inherits("QWidget") + irb(main):004:0> w.inherits("TQWidget") => true - irb(main):005:0> w.inherits("QObject") + irb(main):005:0> w.inherits("TQObject") => true - * Inherits now works for "QObject", and for "Qt::Object" as well. + * Inherits now works for "TQObject", and for "TQt::Object" as well. 2005-08-04 Richard Dale <Richard_Dale@tipitina.demon.co.uk> @@ -330,36 +330,36 @@ 2005-07-30 Richard Dale <Richard_Dale@tipitina.demon.co.uk> - * Qt::version and Qt::ruby_version are now module methods + * TQt::version and TQt::ruby_version are now module methods 2005-07-15 Richard Dale <Richard_Dale@tipitina.demon.co.uk> - * Qt::Socket started working correctly when I and regenerated and rebuilt + * TQt::Socket started working correctly when I and regenerated and rebuilt my Smoke library. Before then it was calling the wrong version of - QSocket::at() for some reason, and wasn't discarding bytes that had + TQSocket::at() for some reason, and wasn't discarding bytes that had already been read. - * Removed comment from the client.rb example about Qt::Socket.canReadLine + * Removed comment from the client.rb example about TQt::Socket.canReadLine always returning true now it works. 2005-07-14 Richard Dale <Richard_Dale@tipitina.demon.co.uk> - * Added example programs for client/server programming with Qt::Socket + * Added example programs for client/server programming with TQt::Socket and associated classes. client.rb illustrates current bugs in QtRuby - * Qt::Socket.canReadLine() always returns true - * Qt::readLine() seg faults when called a second time + * TQt::Socket.canReadLine() always returns true + * TQt::readLine() seg faults when called a second time * A memory leak and seg faulting problems like the above were reported by Caleb Tennis 2005-07-09 Richard Dale <Richard_Dale@tipitina.demon.co.uk> - * When a Qt method returned a QString value type, such as: - QString QSocket::readLine() - A temporary QString was being created that wasn't deleted and caused a + * When a Qt method returned a TQString value type, such as: + TQString TQSocket::readLine() + A temporary TQString was being created that wasn't deleted and caused a memory leak. Fixes problem reported by Caleb Tennis. 2005-06-28 Richard Dale <Richard_Dale@tipitina.demon.co.uk> - * Improved display of Qt::Enums in the KDevelop debugger. With a p + * Improved display of TQt::Enums in the KDevelop debugger. With a p command it just looks like a constant, but a pretty print pp command shows the type of the underlying C++ enum: @@ -367,7 +367,7 @@ 16 (rdb:1) pp AlignTop - #<Qt::Enum:0x1825db68 @type=Qt::AlignmentFlags, @value=16> + #<TQt::Enum:0x1825db68 @type=TQt::AlignmentFlags, @value=16> 2005-06-04 Richard Dale <Richard_Dale@tipitina.demon.co.uk> @@ -375,7 +375,7 @@ 2005-06-04 Richard Dale <Richard_Dale@tipitina.demon.co.uk> - * The Object.id method was clashing with the one in Qt::WidgetStack. + * The Object.id method was clashing with the one in TQt::WidgetStack. Both methods now work correctly. Fixes problem reported by Dave M. 2005-05-29 Richard Dale <Richard_Dale@tipitina.demon.co.uk> @@ -394,12 +394,12 @@ 2005-05-28 Richard Dale <Richard_Dale@tipitina.demon.co.uk> - * Added support for the QScintilla text editing widget, including an optional - '--enable-qscintilla=yes' configure option. The QScintilla classes are included in a + * Added support for the TQScintilla text editing widget, including an optional + '--enable-qscintilla=yes' configure option. The TQScintilla classes are included in a Qext:: namespace. Thanks to Blackshack for the idea and configure code. * The KDE namespace modules are only created if the Korundum extension is used. Otherwise the Object namespace was being polluted with unused constants. - * Some enums in the QScintilla headers had a spurious comma after + * Some enums in the TQScintilla headers had a spurious comma after the last enum value, and kalyptus was failing with a parse error. The comma is now ignored. @@ -421,7 +421,7 @@ 2005-05-20 Richard Dale <Richard_Dale@tipitina.demon.co.uk> - * Removed unused Qt::Internal functions + * Removed unused TQt::Internal functions * Added KNS:: to the namespaces expected by the rbkdeapi tool * Introspection via Object#methods, public_methods, protected_methods and singleton_methods or Module#constants, instance_methods, protected_instance_methods and public_instance_methods @@ -430,13 +430,13 @@ 2005-05-16 Richard Dale <Richard_Dale@tipitina.demon.co.uk> - * The Kernel.format() method was clashing with the Qt::MimeSource.format() method. + * The Kernel.format() method was clashing with the TQt::MimeSource.format() method. The correct method is now called according to the type of the first argument. Fixes problem reported by Armin Joellenbeck 2005-04-29 Richard Dale <Richard_Dale@tipitina.demon.co.uk> - * Removed superfluous "require 'pp'" statement + * Removed superfluous "retquire 'pp'" statement 2005-04-25 Richard Dale <Richard_Dale@tipitina.demon.co.uk> @@ -444,9 +444,9 @@ 2005-04-09 Richard Dale <Richard_Dale@tipitina.demon.co.uk> - * Fixed regressions in the rbqtapi and rbkdeapi utilities caused by the Qt::Internal namespace + * Fixed regressions in the rbqtapi and rbkdeapi utilities caused by the TQt::Internal namespace tidy up - * Qt::version and Qt::ruby_version had wrongly been moved to the Qt::Internal module + * TQt::version and TQt::ruby_version had wrongly been moved to the TQt::Internal module 2005-04-03 Richard Dale <Richard_Dale@tipitina.demon.co.uk> @@ -456,19 +456,19 @@ * An 'include Qt' statement in qtruby.rb where a couple of methods were being added to class Module was causing all the Qt methods to be added to Module. Oops, this a really - serious bug. Various methods in qtruby.rb are now module methods in the Qt::Internal + serious bug. Various methods in qtruby.rb are now module methods in the TQt::Internal module. Big thanks to Eric Veensta and Samir Patel for pointing out this can of worms. - * It also fixes a problem reported by David Crosby where a "require 'time'" statement was - incompatible with a "require 'Qt'" statement. As the cause was unknown, a hacky workround + * It also fixes a problem reported by David Crosby where a "retquire 'time'" statement was + incompatible with a "retquire 'Qt'" statement. As the cause was unknown, a hacky workround had to be added, which is no longer needed. 2005-03-24 Richard Dale <Richard_Dale@tipitina.demon.co.uk> - * When a subclass of QObject is instantiated in the C++ world, and the exact class doesn't - exist in ruby, then scan up the inheritance heirarchy via QObject::metaObject() until a + * When a subclass of TQObject is instantiated in the C++ world, and the exact class doesn't + exist in ruby, then scan up the inheritance heirarchy via TQObject::metaObject() until a class is found which does have a ruby equivalent. Fixes problem reported by Dmitry Morozhnikor - where a KViewPart was being returned as a Qt::Object, rather than a KParts::ReadOnlyPart. + where a KViewPart was being returned as a TQt::Object, rather than a KParts::ReadOnlyPart. * The internal method 'cast_object_to()' now takes a class literal as a second parameter, rather than the class name as a string @@ -495,16 +495,16 @@ * Made some changes to get code generated by the rbkconfig_compiler to work. When an argument is a non-const reference to a primitive - type, or a QString or QStringList, then don't delete it after the + type, or a TQString or TQStringList, then don't delete it after the method call. This is because a class like KConfigSkeleton takes - references, and then 'squirrels them away' - before the references + references, and then 'stquirrels them away' - before the references were just pointing to junk on the stack. * The method 'isImmutable' is added to KDE::ConfigSkeletonItems 2005-01-26 Richard Dale <Richard_Dale@tipitina.demon.co.uk> * If a ruby Array is passed as an argument to an overloaded method, give - priority to QStringList args. + priority to TQStringList args. 2005-01-21 Richard Dale <Richard_Dale@tipitina.demon.co.uk> @@ -525,7 +525,7 @@ 2005-01-16 Richard Dale <Richard_Dale@tipitina.demon.co.uk> - * Added a Qt::Integer.coerce method so that Qt::Integers and Qt::Enums can be + * Added a TQt::Integer.coerce method so that TQt::Integers and TQt::Enums can be combined in arithmetic expressions with ruby Integers. 2005-01-04 Richard Dale <Richard_Dale@tipitina.demon.co.uk> @@ -534,7 +534,7 @@ 2005-01-02 Richard Dale <Richard_Dale@tipitina.demon.co.uk> - * The Qt::Object pretty_print method now shows the class name of enum properties + * The TQt::Object pretty_print method now shows the class name of enum properties 2004-12-30 Richard Dale <Richard_Dale@tipitina.demon.co.uk> @@ -551,10 +551,10 @@ 2004-12-28 Richard Dale <Richard_Dale@tipitina.demon.co.uk> - * Added a parent attribute to the Qt::Object pretty_print() method - * Removed all the properties from the Qt::Object inspect() method except name, - x, y, width, height (the last four for for Qt::Widgets only). This speeds up fetching - the details of Qt::Objects that have more than just a handful of children. + * Added a parent attribute to the TQt::Object pretty_print() method + * Removed all the properties from the TQt::Object inspect() method except name, + x, y, width, height (the last four for for TQt::Widgets only). This speeds up fetching + the details of TQt::Objects that have more than just a handful of children. The full details can still be fetched with a pretty_print() call via a debugger 'pp' command. @@ -570,21 +570,21 @@ 2004-12-20 Richard Dale <Richard_Dale@tipitina.demon.co.uk> * Added a work round for a bug caused by an incompatibility between QtRuby - the 'require time' statement, reported by David Crosby + the 'retquire time' statement, reported by David Crosby CCMAIL: dcrosby42@gmail.com 2004-12-18 Richard Dale <Richard_Dale@tipitina.demon.co.uk> - * Added a 'receivers' property to the Qt::Object inspector. This allows the active signal - connections for a Qt::Object instance to be viewed in the KDevelop debugger as a + * Added a 'receivers' property to the TQt::Object inspector. This allows the active signal + connections for a TQt::Object instance to be viewed in the KDevelop debugger as a Hash. The hash keys are the signal names, and the hash values are arrays of the target - signals/slots as Qt::Connection instances. + signals/slots as TQt::Connection instances. 2004-12-17 Richard Dale <Richard_Dale@tipitina.demon.co.uk> - * Added 'metaObject' as an expandable property for Qt::Objects. This allows the - Qt::MetaClass class heirarchy to be browsed, and signals/slots declarations inspected. + * Added 'metaObject' as an expandable property for TQt::Objects. This allows the + TQt::MetaClass class heirarchy to be browsed, and signals/slots declarations inspected. 2004-12-17 Richard Dale <Richard_Dale@tipitina.demon.co.uk> @@ -592,21 +592,21 @@ 2004-12-15 Richard Dale <Richard_Dale@tipitina.demon.co.uk> - * Added an attribute of 'children' to the Qt::Object inspect method, which is an array - of the Qt::Object's children - * The QObjects in a QObjectList were not being created with the exact ruby class - if they hadn't been allocated from within the ruby code, and just left as Qt::Objects + * Added an attribute of 'children' to the TQt::Object inspect method, which is an array + of the TQt::Object's children + * The TQObjects in a TQObjectList were not being created with the exact ruby class + if they hadn't been allocated from within the ruby code, and just left as TQt::Objects 2004-12-14 Richard Dale <Richard_Dale@tipitina.demon.co.uk> - * Qt::Object properities of type enum are shown by name in the KDevelop debugger, + * TQt::Object properities of type enum are shown by name in the KDevelop debugger, and not as numeric literals 2004-12-14 Richard Dale <Richard_Dale@tipitina.demon.co.uk> - * Changed the format of the Qt::Color inspect string to #<Qt::Color:0x0 #ffffff> - * Added some more attributes to the Qt::Font inspector - * Added a Qt::Cursor inspector + * Changed the format of the TQt::Color inspect string to #<TQt::Color:0x0 #ffffff> + * Added some more attributes to the TQt::Font inspector + * Added a TQt::Cursor inspector 2004-12-12 Richard Dale <Richard_Dale@tipitina.demon.co.uk> @@ -615,20 +615,20 @@ 2004-12-10 Richard Dale <Richard_Dale@tipitina.demon.co.uk> - * Added inspect() and pretty_print() methods for Qt::SizePolicy - * Greatly improved the Qt::Object Qt property based inspect() and pretty_print() - methods. Property types such as Qt::Point, Qt::Font and Qt::Rect can be + * Added inspect() and pretty_print() methods for TQt::SizePolicy + * Greatly improved the TQt::Object Qt property based inspect() and pretty_print() + methods. Property types such as TQt::Point, TQt::Font and TQt::Rect can be viewed as expandable items in the KDevelop debugger variable tree. 2004-12-09 Richard Dale <Richard_Dale@tipitina.demon.co.uk> * More inspect() and pretty_print() methods for common classes to improve debugging - - Qt::Color, Qt::Font, Qt::Point, Qt::Rect, Qt::Size, Qt::Date, Qt::DateTime and Qt::Time + TQt::Color, TQt::Font, TQt::Point, TQt::Rect, TQt::Size, TQt::Date, TQt::DateTime and TQt::Time 2004-12-08 Richard Dale <Richard_Dale@tipitina.demon.co.uk> - * Added inspect() and pretty_print() methods for Qt::Objects that get the QObject properties and - show them as 'name=value' pairs. This means the KDevelop debugger can make Qt::Object + * Added inspect() and pretty_print() methods for TQt::Objects that get the TQObject properties and + show them as 'name=value' pairs. This means the KDevelop debugger can make TQt::Object variables expandable and show their properties. 2004-11-29 Richard Dale <Richard_Dale@tipitina.demon.co.uk> @@ -657,7 +657,7 @@ it. An exception is now thrown 'Instance not initialized', instead of it causing a seg fault. * For instance: - class MyWidget < Qt::ComboBox + class MyWidget < TQt::ComboBox def initialize # Must call super first insertItem('abc') @@ -675,8 +675,8 @@ 2004-10-14 Richard Dale <Richard_Dale@tipitina.demon.co.uk> - * If the smokeruby_mark() function was called for an instance of a QObject, it should - mark all the instances below it in the QObject tree, as not needing garbage collection. + * If the smokeruby_mark() function was called for an instance of a TQObject, it should + mark all the instances below it in the TQObject tree, as not needing garbage collection. However, if a node in the tree didn't have a mapping onto a ruby instance the marking process stopped there, even though the grandchildren and their descendants might have a valid mapping onto ruby instances. @@ -686,9 +686,9 @@ 2004-10-13 Richard Dale <Richard_Dale@tipitina.demon.co.uk> - * All the Qt::CanvasItems owned by a Qt::Canvas are marked with rb_gc_mark() to + * All the TQt::CanvasItems owned by a TQt::Canvas are marked with rb_gc_mark() to prevent them being garbage collected - * The top level widgets are no longer disposed() on Qt::Application exit + * The top level widgets are no longer disposed() on TQt::Application exit * Fixed some bugs in the chart example. 2004-10-13 Richard Dale <Richard_Dale@tipitina.demon.co.uk> @@ -699,13 +699,13 @@ 2004-10-13 Richard Dale <Richard_Dale@tipitina.demon.co.uk> - * Added greater than and less than operators to Qt::Enum, so that enums can be compared with + * Added greater than and less than operators to TQt::Enum, so that enums can be compared with Integers * Added the chart example for Qt Tutorial #2 2004-10-12 Richard Dale <Richard_Dale@tipitina.demon.co.uk> - * Added Qt::Application.ARGV. It returns the original ruby ARGV array with Qt command line + * Added TQt::Application.ARGV. It returns the original ruby ARGV array with Qt command line options removed. 2004-10-11 Richard Dale <Richard_Dale@tipitina.demon.co.uk> @@ -722,7 +722,7 @@ 2004-10-10 Richard Dale <Richard_Dale@tipitina.demon.co.uk> - * A QRgb[] color table was being wrongly deleted after marshalling + * A TQRgb[] color table was being wrongly deleted after marshalling 2004-10-10 Richard Dale <Richard_Dale@tipitina.demon.co.uk> @@ -731,16 +731,16 @@ Han Holl. * For instance, - class ContainerGrid < Qt::Widget + class ContainerGrid < TQt::Widget def sizeHint - # next line should return a Qt::Size, not an integer + # next line should return a TQt::Size, not an integer 100 end end Now gives the following error: - qsize.rb:12:in `method_missing': Invalid type, expecting QSize (ArgumentError) + qsize.rb:12:in `method_missing': Invalid type, expecting TQSize (ArgumentError) from qsize.rb:12 CCMAIL: kde-bindings@kde.org @@ -748,7 +748,7 @@ 2004-10-10 Richard Dale <Richard_Dale@tipitina.demon.co.uk> * The smokeruby_mark() function was only marking the immediate children of a - Qt::Object for not being garbage collected. It now marks all the Qt::Objects + TQt::Object for not being garbage collected. It now marks all the TQt::Objects in the object tree below it. 2004-10-07 Richard Dale <Richard_Dale@tipitina.demon.co.uk> @@ -765,13 +765,13 @@ 2004-10-06 Richard Dale <Richard_Dale@tipitina.demon.co.uk> * Fixed rbuic '-embed' option which had been broken after adding DCOP suppot - to Korundum, after changes in the Qt::ByteArray class. - * Fixed QRgb* marshalling problem where the ruby value was overflowing a signed int. + to Korundum, after changes in the TQt::ByteArray class. + * Fixed TQRgb* marshalling problem where the ruby value was overflowing a signed int. The target for marshalling is now an array of unsigned ints. - * When a Qt::Application exits after returning for an Qt::Application.exec() call, the top - level widgets are deleted as well as the Qt::Application itself. This fixes a problem where + * When a TQt::Application exits after returning for an TQt::Application.exec() call, the top + level widgets are deleted as well as the TQt::Application itself. This fixes a problem where ruby does garbage collection in an arbitrary order after the ruby app has exited. It destroys - a ruby Hash of QMetaData info that the Qt::Application or Qt::MainWindow need to clean up. + a ruby Hash of TQMetaData info that the TQt::Application or TQt::MainWindow need to clean up. * The layout of the ruby code generated by rbuic has been improved with better indenting. * attr_reader attribute accessors have been added for the most important instance variables in an rbuic generated class to make them more easily accessed from another class. @@ -779,12 +779,12 @@ 2004-10-05 Richard Dale <Richard_Dale@tipitina.demon.co.uk> * Given a C++ instance and an approximate classname, the QtRuby runtime uses the - various Qt rtti mechanisms such as QObject::className() to improve the resolution + various Qt rtti mechanisms such as TQObject::className() to improve the resolution of the name. However, the numeric classId into the array of classnames in the Smoke runtime was not being updated in line with the more accurate name. * This caused problems with method argument matching which uses the numeric classId rather than the ruby object's classname, and so QtRuby wrongly assumed that a an - instance of a Qt::Widget was a Qt::Object. + instance of a TQt::Widget was a TQt::Object. * Fixes problem reported by Han Holl CCMAIL: kde-bindings@kde.org @@ -798,8 +798,8 @@ * When a ruby app exits, rb_gc_call_finalizer_at_exit() is called and all the ruby instances are garbage collected. The problem is that this is done in an arbitrary - order, and Qt::Application was occasionally crashing in its destructor because - QMetaObject info it still needed was being deleted before then. + order, and TQt::Application was occasionally crashing in its destructor because + TQMetaObject info it still needed was being deleted before then. * Fixes problem reported by Thibauld Favre @@ -807,7 +807,7 @@ 2004-10-04 Richard Dale <Richard_Dale@tipitina.demon.co.uk> - * When a QMetaData object was contructed the class name was a pointer from a ruby + * When a TQMetaData object was contructed the class name was a pointer from a ruby string, and was being corrupted when the string was freed. The string is now copied. 2004-10-03 Richard Dale <Richard_Dale@tipitina.demon.co.uk> @@ -831,8 +831,8 @@ * For example: - lay = Qt::HBoxLayout.new(self) - ed = Qt::LineEdit.new('blah',self) + lay = TQt::HBoxLayout.new(self) + ed = TQt::LineEdit.new('blah',self) # The next line should be: lay.addWidget(ed) lay.addLayout(ed) @@ -849,9 +849,9 @@ * For example: - # The next line should be: lay = Qt::HBoxLayout.new(self) - lay = Qt::HBoxLayout - ed = Qt::LineEdit.new('blah',self) + # The next line should be: lay = TQt::HBoxLayout.new(self) + lay = TQt::HBoxLayout + ed = TQt::LineEdit.new('blah',self) lay.addWidget(ed) * Fixes problem reported by Han Holl @@ -864,7 +864,7 @@ 2004-10-02 Richard Dale <Richard_Dale@tipitina.demon.co.uk> - * Added Ruby Array to QPair<int,int>& marshaller + * Added Ruby Array to TQPair<int,int>& marshaller 2004-09-30 Richard Dale <Richard_Dale@tipitina.demon.co.uk> @@ -876,7 +876,7 @@ 2004-09-29 Richard Dale <Richard_Dale@tipitina.demon.co.uk> - * Added Jim Menard's ruboids as an OpenGL/Qt::GL* Widgets example + * Added Jim Menard's ruboids as an OpenGL/TQt::GL* Widgets example * Improved instructions and exconf.rb for building the gui extension from Michal 'hramrach' Suchanek 2004-09-13 Richard Dale <Richard_Dale@tipitina.demon.co.uk> @@ -885,20 +885,20 @@ 2004-09-12 Richard Dale <Richard_Dale@tipitina.demon.co.uk> - * Added a 'qui' extension for reading in .ui Qt Designer files at runtime + * Added a 'tqui' extension for reading in .ui Qt Designer files at runtime * For example: - require 'Qt' - require 'qui' + retquire 'Qt' + retquire 'tqui' - a = Qt::Application.new(ARGV) + a = TQt::Application.new(ARGV) if ARGV.length == 0 exit end if ARGV.length == 2 - QUI::WidgetFactory.loadImages( ARGV[ 0 ] ) - w = QUI::WidgetFactory.create( ARGV[ 1 ] ) + TQUI::WidgetFactory.loadImages( ARGV[ 0 ] ) + w = TQUI::WidgetFactory.create( ARGV[ 1 ] ) if w.nil? exit end @@ -955,14 +955,14 @@ 2004-07-29 Richard Dale <Richard_Dale@tipitina.demon.co.uk> - * The smokeruby_mark() gc marking f'n now marks the QTableItems owned - by a QTable so they don't get garbage collected, even if there are no + * The smokeruby_mark() gc marking f'n now marks the TQTableItems owned + by a TQTable so they don't get garbage collected, even if there are no remaining references in the user code. 2004-07-29 Richard Dale <Richard_Dale@tipitina.demon.co.uk> - * Added a template based method for QValueList marshallers, and several - QValueList types. + * Added a template based method for TQValueList marshallers, and several + TQValueList types. 2004-07-28 Richard Dale <Richard_Dale@tipitina.demon.co.uk> @@ -976,28 +976,28 @@ had virtual method callbacks, this meant that the ruby instance couldn't be found, and the callback couldn't be made. - * Hence, the Qt::ToolTip callback in examples/qt-examples/tooltip didn't + * Hence, the TQt::ToolTip callback in examples/qt-examples/tooltip didn't work, as that class doesn't have a virtual destructor. * Added an 'isEnum()' function to use when matching args in overloaded method resolution. - * QCString arg types are chosen in preference to QByteArray ones, matching + * TQCString arg types are chosen in preference to TQByteArray ones, matching against ruby strings, when resolving an overloaded method call. - * Qt::Enums and Qt::Integers can be marshalled to uints, longs and ulongs as + * TQt::Enums and TQt::Integers can be marshalled to uints, longs and ulongs as well as ints. - * Added a '==' operator to Qt::Enums so they can be compared with ruby Integers + * Added a '==' operator to TQt::Enums so they can be compared with ruby Integers 2004-07-27 Richard Dale <Richard_Dale@tipitina.demon.co.uk> - * Qt::Integer arithmetic and bit operations return Qt::Integers, rather - than ruby Integers so that ops can be nested as for Qt::Enums. + * TQt::Integer arithmetic and bit operations return TQt::Integers, rather + than ruby Integers so that ops can be nested as for TQt::Enums. 2004-07-27 Richard Dale <Richard_Dale@tipitina.demon.co.uk> - * The recently added Qt::Integer bit operators were returning a ruby Integer + * The recently added TQt::Integer bit operators were returning a ruby Integer type. When they were nested, the Integer didn't know how to convert the Enum it was being or'd with to an Integer. @@ -1008,17 +1008,17 @@ def initialize(message) super(nil, "passivedlg", - Qt::WStyle_Customize | Qt::WX11BypassWM | Qt::WStyle_StaysOnTop | - Qt::WStyle_Tool | Qt::WStyle_NoBorder) + TQt::WStyle_Customize | TQt::WX11BypassWM | TQt::WStyle_StaysOnTop | + TQt::WStyle_Tool | TQt::WStyle_NoBorder) 2004-07-27 Richard Dale <Richard_Dale@tipitina.demon.co.uk> - * Replaced QString casts to 'const char *' with latin1() calls + * Replaced TQString casts to 'const char *' with latin1() calls 2004-07-27 Richard Dale <Richard_Dale@tipitina.demon.co.uk> - * The Qt::Enum class was missing bit operations, so various bit methods - were added to Qt::Enum's superclass, Qt::Integer. + * The TQt::Enum class was missing bit operations, so various bit methods + were added to TQt::Enum's superclass, TQt::Integer. * This was causing this line from examples/uimodules/uidialogs.rb to fail: @@ -1046,13 +1046,13 @@ 2004-07-26 Richard Dale <Richard_Dale@tipitina.demon.co.uk> * The parsing of types passed to slots, (or returned from dcop slots) didn't - work with template types containing commas such as 'QMap<QString,QString>'. - * Added 'QMap<QString,QString>&' and 'QMap<QString,QVariant>&' to the + work with template types containing commas such as 'TQMap<TQString,TQString>'. + * Added 'TQMap<TQString,TQString>&' and 'TQMap<TQString,TQVariant>&' to the handlers.cpp string to marshaller lookup table. 2004-07-26 Richard Dale <Richard_Dale@tipitina.demon.co.uk> - * Added marshallers for QMap<QString,QString> and QMap<QString,QVariant> to and from ruby hashes + * Added marshallers for TQMap<TQString,TQString> and TQMap<TQString,TQVariant> to and from ruby hashes 2004-07-26 Richard Dale <Richard_Dale@tipitina.demon.co.uk> @@ -1073,23 +1073,23 @@ 2004-07-19 Richard Dale <Richard_Dale@tipitina.demon.co.uk> - * Added Qt::Enum type. Before a C++ enum was being marshalled to a ruby - Integer, and the type name of the enum was lost. A Qt::Enum is a subclass + * Added TQt::Enum type. Before a C++ enum was being marshalled to a ruby + Integer, and the type name of the enum was lost. A TQt::Enum is a subclass of Integer with an extra type name. * This fixes a problem with overloaded method resolution where two methods differ only be an enum type such as this: - # KPasswordEdit(EchoMode echoMode, QWidget *parent, const char *name); - # KPasswordEdit(EchoModes echoMode, QWidget *parent, const char *name); + # KPasswordEdit(EchoMode echoMode, TQWidget *parent, const char *name); + # KPasswordEdit(EchoModes echoMode, TQWidget *parent, const char *name); pw2 = KDE::PasswordEdit.new(KDE::PasswordEdit::ThreeStars, page, "") 2004-07-17 Richard Dale <Richard_Dale@tipitina.demon.co.uk> - * After a non-const string arg was passed to a method, the value of the QString + * After a non-const string arg was passed to a method, the value of the TQString is copied into the ruby value. But it wasn't being correctly converted to the correct string format according to $KCODE. - * QString to ruby string conversions in QStringLists were not localised either. + * TQString to ruby string conversions in TQStringLists were not localised either. 2004-07-14 Richard Dale <Richard_Dale@tipitina.demon.co.uk> @@ -1107,22 +1107,22 @@ * Added support for strings in QtRuby programs being written in UTF-8. Use the '-Ku' command line option or '$KCODE=u' in the program. - * Removed recently added QChar marshalling as it wasn't very i18n friendly + * Removed recently added TQChar marshalling as it wasn't very i18n friendly 2004-07-07 Richard Dale <Richard_Dale@tipitina.demon.co.uk> - * Added QChar marshalling + * Added TQChar marshalling 2004-07-06 Richard Dale <Richard_Dale@tipitina.demon.co.uk> * Fix for passing C++ 'bool*' and 'bool&' argument types There is a similar problem for bool arg types as with ints, and the mutable - Qt::Boolean class can be used like this: + TQt::Boolean class can be used like this: - # QFont getFont(bool * ok, const QFont&initial, QWidget* parent = 0); + # TQFont getFont(bool * ok, const TQFont&initial, TQWidget* parent = 0); - ok = Qt::Boolean.new - font = Qt::FontDialog.getFont(ok, Qt::Font.new("Helvetica [Cronyx]", 10), self) + ok = TQt::Boolean.new + font = TQt::FontDialog.getFont(ok, TQt::Font.new("Helvetica [Cronyx]", 10), self) if !ok.nil? # font is set to the font the user selected else @@ -1132,18 +1132,18 @@ Use 'nil?' to test the value returned in the Boolean * Signal and slot type signatures are 'normalized' and any unwanted white space removed - * Fixed problem with QByteArray arg type matching in overloaded method resolution + * Fixed problem with TQByteArray arg type matching in overloaded method resolution 2004-07-04 Richard Dale <Richard_Dale@tipitina.demon.co.uk> * Fix for passing C++ 'int*' and 'int&' argument types Ruby passes numeric values by value, and so they can't be changed when passed to a - method. The Qt::Integer class provides a mutable numeric type which does get updated + method. The TQt::Integer class provides a mutable numeric type which does get updated when passed as an argument. For example, this C++ method 'findByFileContent()': - # static Ptr findByFileContent( const QString &fileName, int *accuracy=0 ); + # static Ptr findByFileContent( const TQString &fileName, int *accuracy=0 ); - acc = Qt::Integer.new(0) + acc = TQt::Integer.new(0) fc = KDE::MimeType.findByFileContent("mimetype.rb", acc) It supports the arithmetic operators, and so expressions such as 'acc + 3' @@ -1162,7 +1162,7 @@ 2004-06-29 Richard Dale <Richard_Dale@tipitina.demon.co.uk> - * Added QStrList marshalling + * Added TQStrList marshalling 2004-06-29 Richard Dale <Richard_Dale@tipitina.demon.co.uk> @@ -1186,7 +1186,7 @@ 2004-06-26 Richard Dale <Richard_Dale@tipitina.demon.co.uk> * The marshalling TypeHandler function pointers are now looked up in a - QAsciiDict, rather than a ruby Hash. + TQAsciiDict, rather than a ruby Hash. * Some unused functions removed * QtRuby version upped to 0.9.8 @@ -1199,20 +1199,20 @@ 2004-05-12 Richard Dale <Richard_Dale@tipitina.demon.co.uk> - * When ARGV was passed to the Qt::Application constructor, it was being + * When ARGV was passed to the TQt::Application constructor, it was being altered, and the name of the ruby program added as a first entry. The constructor now uses a copy of the array, and ARGV is left unchanged. 2004-05-03 Richard Dale <Richard_Dale@tipitina.demon.co.uk> - * Added a '-kde' option to the rbuic tool to generate require 'Korundum' - instead of require 'Qt' statements, and use KDE widgets. + * Added a '-kde' option to the rbuic tool to generate retquire 'Korundum' + instead of retquire 'Qt' statements, and use KDE widgets. 2004-04-30 Richard Dale <Richard_Dale@tipitina.demon.co.uk> * Applied patch from Marek Janukowicz. * The patch fixes some perlisms, that caused errors on loading a Ruby file - generated from .ui file for Qt::MainWindow subclass + generated from .ui file for TQt::MainWindow subclass 2004-04-20 Richard Dale <Richard_Dale@tipitina.demon.co.uk> @@ -1226,7 +1226,7 @@ 2004-04-05 Richard Dale <Richard_Dale@tipitina.demon.co.uk> - * Improved classname resolution for QListViewItem and QTableItem subclasses using rtti() calls + * Improved classname resolution for TQListViewItem and TQTableItem subclasses using rtti() calls 2004-03-26 Richard Dale <Richard_Dale@tipitina.demon.co.uk> @@ -1236,7 +1236,7 @@ 2004-03-10 Richard Dale <Richard_Dale@tipitina.demon.co.uk> - * When a mutable, non-const QString, int*, int&, bool* or bool& is passed + * When a mutable, non-const TQString, int*, int&, bool* or bool& is passed to a method, the corresponding ruby value is now updated after the method call. * Some f'ns are no longer static, so that the korundum extension can link @@ -1248,18 +1248,18 @@ 2004-03-01 Richard Dale <Richard_Dale@tipitina.demon.co.uk> - * Fixed bugs in QCString, QString and QByteArray marshalling. - - When a C++ method with a mutable, non-const QCString arg type + * Fixed bugs in TQCString, TQString and TQByteArray marshalling. + - When a C++ method with a mutable, non-const TQCString arg type is called from ruby, the C++ arg value is copied back into the corresponding ruby arg VALUE after the call. - - A pointer to a locally allocated QString was being returned, + - A pointer to a locally allocated TQString was being returned, giving memory corruption problems. * The default debug level in qtruby.rb is DebugLevel::OFF, otherwise very verbose error messages are produced. 2004-01-28 Richard Dale <Richard_Dale@tipitina.demon.co.uk> - * Fixed bug where a QCString was being ranked equally with a QString, + * Fixed bug where a TQCString was being ranked equally with a TQString, when resolving ambiguous method overloading. Caused the KDE::URL constructor to fail with a string arg. @@ -1274,17 +1274,17 @@ * Added the KillerFilter event filtering example from chapter 16 of 'Programming with Qt' * Improved classname resolution via the Qt rtti mechanisms in - QObject, QEvent and QCanvasItem. This fixed a problem in the - KillerFilter example when a QMouseEvent was passed to the ruby - event handler, it was being instantiated as a ruby Qt::Event, - rather than a Qt::MouseEvent. + TQObject, TQEvent and TQCanvasItem. This fixed a problem in the + KillerFilter example when a TQMouseEvent was passed to the ruby + event handler, it was being instantiated as a ruby TQt::Event, + rather than a TQt::MouseEvent. 2003-11-11 Richard Dale <Richard_Dale@tipitina.demon.co.uk> * Improved nil argument matching, and nil can match any type now not just classes. Translated the code from the Qt.pm in PerlQt, after discussion on the kde-perl list. - * Fixed bug in rbuic where a C++ 'QString::null' was "" in ruby, and + * Fixed bug in rbuic where a C++ 'TQString::null' was "" in ruby, and should have been a nil. 2003-11-08 Richard Dale <Richard_Dale@tipitina.demon.co.uk> @@ -1320,15 +1320,15 @@ 2003-10-29 Richard Dale <Richard_Dale@tipitina.demon.co.uk> - * The smokeruby_mark() f'n now marks the QListViewItems in a QListView - * Fixed a QLayoutItem crash in smokeruby_free() + * The smokeruby_mark() f'n now marks the TQListViewItems in a TQListView + * Fixed a TQLayoutItem crash in smokeruby_free() 2003-10-27 Richard Dale <Richard_Dale@tipitina.demon.co.uk> * The smokeruby_mark() f'n was completely wrong, as it is only called if the current object is already marked. So marking the current object doesn't make a lot of sense. Instead, if the instance is a kind of - QObject then its childeren are marked. + TQObject then its childeren are marked. * The smokeruby_delete() object doesn't delete instances which have parents of one sort or another. * Made some fixes to the tutorial examples @@ -1356,8 +1356,8 @@ - qt_invoke() and qt_emit() were not calling super if a ruby signal or slot hadn't been found, which stopped C++ signals from working. - This prevented destroy() signals from invoking event filter list clean - up when a QObject was deleted, leaving deleted instances in the list. - - 'QUObject*' args are now marshalled as a ruby list with a single + up when a TQObject was deleted, leaving deleted instances in the list. + - 'TQUObject*' args are now marshalled as a ruby list with a single entry of a VALUE wrapping the pointer. * The ruby ALLOCA_N macro is no longer used as it is based on alloca(), which doesn't seem a good idea. malloc(), calloc() and free() are used @@ -1383,7 +1383,7 @@ As per Germain Garand's suggestion on the kde-bindings list: ..actually, I used the same scheme as for Qt when possible, that is: - $class =~ s/^Q/Qt::/ or + $class =~ s/^Q/TQt::/ or $class =~ s/^K/KDE::/ or $class = "KDE::" . $class unless $class eq "Qt"; @@ -1404,7 +1404,7 @@ 2003-09-14 Richard Dale <Richard_Dale@tipitina.demon.co.uk> - * The rbuic -embed option finally works. Fixed QByteArray marshalling. + * The rbuic -embed option finally works. Fixed TQByteArray marshalling. 2003-09-13 Richard Dale <Richard_Dale@tipitina.demon.co.uk> @@ -1440,7 +1440,7 @@ 2003-09-10 Richard Dale <Richard_Dale@tipitina.demon.co.uk> - * Added QByteArray <-> Ruby string marshaller + * Added TQByteArray <-> Ruby string marshaller 2003-09-09 Richard Dale <Richard_Dale@tipitina.demon.co.uk> @@ -1462,7 +1462,7 @@ 2003-09-08 Richard Dale <Richard_Dale@tipitina.demon.co.uk> - * The pointer_map is now a QPtrDict rather than a ruby Hash, and + * The pointer_map is now a TQPtrDict rather than a ruby Hash, and the entries are weak references. An implementation was tried using the ruby WeakRef class, but it didn't work because rb_gc_mark() didn't prevent them being garbage collected. @@ -1497,7 +1497,7 @@ 2003-08-30 Richard Dale <Richard_Dale@tipitina.demon.co.uk> - * Operator methods are now called 'operator..' in QGlobalSpace and not renamed + * Operator methods are now called 'operator..' in TQGlobalSpace and not renamed * Added unary minus, and a test in opoverloading.rb 2003-08-29 Richard Dale <Richard_Dale@tipitina.demon.co.uk> @@ -1506,7 +1506,7 @@ 2003-08-28 Richard Dale <Richard_Dale@tipitina.demon.co.uk> - * Improved operator overloading to work with operators not in QGlobalSpace + * Improved operator overloading to work with operators not in TQGlobalSpace 2003-08-27 Richard Dale <Richard_Dale@tipitina.demon.co.uk> @@ -1525,7 +1525,7 @@ 2003-08-26 Richard Dale <Richard_Dale@tipitina.demon.co.uk> - * findMethod() now looks in the QGlobalSpace pseudo class as well as the normal target class. + * findMethod() now looks in the TQGlobalSpace pseudo class as well as the normal target class. * The bitBlt() code in the scribble example works correctly 2003-08-25 Richard Dale <Richard_Dale@tipitina.demon.co.uk> @@ -1538,7 +1538,7 @@ * Removed obsolete rb_enable_super() calls * Removed test for _current_object in class_method_missing() * Fixed missing index in signalInfo() method - * Added Qt scribble example - TODO add Qt::PaintDevice.bitBlt() calls to SMOKE runtime + * Added Qt scribble example - TODO add TQt::PaintDevice.bitBlt() calls to SMOKE runtime 2003-08-23 Richard Dale <Richard_Dale@tipitina.demon.co.uk> @@ -1546,15 +1546,15 @@ 2003-08-12 Alexander Kellett <lypanov@kde.org> - * Add debug level setting via Qt::debug_level + * Add debug level setting via TQt::debug_level * When calling .new on a Qt object with a incorrect prototype the list of appropriate constructors is printed * Fix a number of cases in which imperfect code would cause a crash 2003-08-11 Alex Zepeda <zipzippy@sonic.net> - * Various fixes to get QStringList marshalling working - * Treat Ruby strings as UTF-8 strings in order to fix the QFont examples + * Various fixes to get TQStringList marshalling working + * Treat Ruby strings as UTF-8 strings in order to fix the TQFont examples 2003-08-09 Alexander Kellett <lypanov@kde.org> @@ -1574,7 +1574,7 @@ 2003-08-12 Alexander Kellett <lypanov@kde.org> - * Add several new marshalling types - QCanvasItemList for example, + * Add several new marshalling types - TQCanvasItemList for example, unfortuantely due to several improvements in Qt 3.2 these improvements will not be seen when compiling against Qt 3.1.2 @@ -1588,16 +1588,16 @@ 2003-08-05 Richard Dale <Richard_Dale@tipitina.demon.co.uk> - * Qt::Application constructor safer, but program name still not appearing in the window title + * TQt::Application constructor safer, but program name still not appearing in the window title 2003-08-05 Richard Dale <Richard_Dale@tipitina.demon.co.uk> - * Fixed bug in resolution of overloaded Qt::Popup.insertItem() methods + * Fixed bug in resolution of overloaded TQt::Popup.insertItem() methods 2003-08-05 Richard Dale <Richard_Dale@tipitina.demon.co.uk> - * Use new const_missing from ruby 1.8.x to allow for constant access from base class, for example "Qt::RichText" - * QString::null now maps onto Qnil, rather than a zero length ruby string + * Use new const_missing from ruby 1.8.x to allow for constant access from base class, for example "TQt::RichText" + * TQString::null now maps onto Qnil, rather than a zero length ruby string 2003-08-04 Alexander Kellett <lypanov@kde.org> @@ -1623,11 +1623,11 @@ 2003-07-31 Richard Dale <Richard_Dale@tipitina.demon.co.uk> - * Fixed bug in marshalling QString::null to a ruby VALUE + * Fixed bug in marshalling TQString::null to a ruby VALUE 2003-07-31 Richard Dale <Richard_Dale@tipitina.demon.co.uk> - * Changed require in Qt.cpp to 'Qt/Qt.rb' instead of 'lib/Qt/Qt.rb' + * Changed retquire in Qt.cpp to 'Qt/Qt.rb' instead of 'lib/Qt/Qt.rb' 2003-07-31 Richard Dale <Richard_Dale@tipitina.demon.co.uk> |