summaryrefslogtreecommitdiffstats
path: root/korundum/rubylib/korundum/lib/KDE/korundum.rb
diff options
context:
space:
mode:
Diffstat (limited to 'korundum/rubylib/korundum/lib/KDE/korundum.rb')
-rw-r--r--korundum/rubylib/korundum/lib/KDE/korundum.rb34
1 files changed, 17 insertions, 17 deletions
diff --git a/korundum/rubylib/korundum/lib/KDE/korundum.rb b/korundum/rubylib/korundum/lib/KDE/korundum.rb
index 40c87260..3e4d9a8c 100644
--- a/korundum/rubylib/korundum/lib/KDE/korundum.rb
+++ b/korundum/rubylib/korundum/lib/KDE/korundum.rb
@@ -22,10 +22,10 @@ module KDE
# An entry for each dcop signal or slot
# Example
- # int foobar(QString,bool)
+ # int foobar(TQString,bool)
# :name is 'foobar'
- # :full_name is 'foobar(QString,bool)'
- # :arg_types is 'QString,bool'
+ # :full_name is 'foobar(TQString,bool)'
+ # :arg_types is 'TQString,bool'
# :reply_type is 'int'
DCOPMember = Struct.new :name, :full_name, :arg_types, :reply_type
@@ -114,10 +114,10 @@ module KDE
replyType << dcop_slot.reply_type
KDE::dcop_process( @client,
dcop_slot.name,
- Qt::Internal::getMocArguments(fun),
+ TQt::Internal::getMocArguments(fun),
data,
replyType,
- (replyType == 'void' or replyType == 'ASYNC') ? nil : Qt::Internal::getMocArguments(replyType),
+ (replyType == 'void' or replyType == 'ASYNC') ? nil : TQt::Internal::getMocArguments(replyType),
replyData )
end
@@ -187,7 +187,7 @@ module KDE
return meta.dcop_object
end
- class DCOPRef < Qt::Base
+ class DCOPRef < TQt::Base
def method_missing(*k)
# Enables DCOPRef calls to be made like this:
#
@@ -266,17 +266,17 @@ module KDE
elsif arg.kind_of? Float
typeNames << "double,"
elsif arg.kind_of? Array
- typeNames << "QStringList,"
+ typeNames << "TQStringList,"
elsif arg.kind_of? String
- typeNames << "QString,"
- elsif arg.kind_of? Qt::Base
+ typeNames << "TQString,"
+ elsif arg.kind_of? TQt::Base
typeNames << arg.class.name + ","
elsif arg.instance_of? FalseClass or arg.instance_of? TrueClass
typeNames << "bool,"
end
end
typeNames.sub!(/,$/, '')
- typeNames.gsub!(/Qt::/, 'Q')
+ typeNames.gsub!(/TQt::/, 'Q')
typeNames.gsub!(/KDE::/, 'K')
typeNames << ")"
return typeNames
@@ -309,7 +309,7 @@ module KDE
end
return KDE::dcop_call( self,
full_name,
- Qt::Internal::getMocArguments(full_name),
+ TQt::Internal::getMocArguments(full_name),
*k )
end
@@ -332,7 +332,7 @@ module KDE
end
return KDE::dcop_send( self,
fun,
- Qt::Internal::getMocArguments(sig),
+ TQt::Internal::getMocArguments(sig),
*k )
end
@@ -498,7 +498,7 @@ module KDE
def exec
method_missing(:exec)
self.dispose
- Qt::Internal.application_terminated = true
+ TQt::Internal.application_terminated = true
end
end
@@ -602,7 +602,7 @@ module KDE
include Enumerable
def each
- it = Qt::ListViewItemIterator.new(self)
+ it = TQt::ListViewItemIterator.new(self)
while it.current
yield it.current
it += 1
@@ -618,7 +618,7 @@ module KDE
include Enumerable
def each
- it = Qt::ListViewItemIterator.new(self)
+ it = TQt::ListViewItemIterator.new(self)
while it.current
yield it.current
it += 1
@@ -979,7 +979,7 @@ module KDE
def exec
method_missing(:exec)
self.dispose
- Qt::Internal.application_terminated = true
+ TQt::Internal.application_terminated = true
end
end
@@ -1376,7 +1376,7 @@ class Object
def I18N_NOOP2(comment, x) x end
end
-class Qt::Base
+class TQt::Base
def self.k_dcop_signals(*signal_list)
meta = KDE::DCOPMeta[self.name] || KDE::DCOPMetaInfo.new(self)
meta.add_signals(signal_list)