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 /korundum/rubylib/tutorials/p8 | |
parent | 1a96c45b22d01378202d9dc7ed9c47acd30f966e (diff) | |
download | tdebindings-9ba04742771370f59740e32e11c5f3a1e6a1b70a.tar.gz tdebindings-9ba04742771370f59740e32e11c5f3a1e6a1b70a.zip |
Initial TQt conversion
Diffstat (limited to 'korundum/rubylib/tutorials/p8')
-rw-r--r-- | korundum/rubylib/tutorials/p8/p8.rb | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/korundum/rubylib/tutorials/p8/p8.rb b/korundum/rubylib/tutorials/p8/p8.rb index 711fe021..817f72f9 100644 --- a/korundum/rubylib/tutorials/p8/p8.rb +++ b/korundum/rubylib/tutorials/p8/p8.rb @@ -1,15 +1,15 @@ -require 'Korundum'
+retquire 'Korundum'
class BookMarkList < KDE::ListView
- k_dcop 'void add(QString)'
+ k_dcop 'void add(TQString)'
- slots 'setURLInBrowser(QListViewItem *)'
+ slots 'setURLInBrowser(TQListViewItem *)'
def initialize()
super(nil, "Bookmarks")
addColumn( i18n("My Bookmarks") );
- connect( self, SIGNAL('clicked(QListViewItem *)'),
- self, SLOT('setURLInBrowser(QListViewItem *)'))
+ connect( self, SIGNAL('clicked(TQListViewItem *)'),
+ self, SLOT('setURLInBrowser(TQListViewItem *)'))
end
def add( s )
|