|
|
@ -17,7 +17,7 @@
|
|
|
|
***************************************************************************/
|
|
|
|
***************************************************************************/
|
|
|
|
=end
|
|
|
|
=end
|
|
|
|
|
|
|
|
|
|
|
|
module Qt
|
|
|
|
module TQt
|
|
|
|
module DebugLevel
|
|
|
|
module DebugLevel
|
|
|
|
Off, Minimal, High, Extensive = 0, 1, 2, 3
|
|
|
|
Off, Minimal, High, Extensive = 0, 1, 2, 3
|
|
|
|
end
|
|
|
|
end
|
|
|
@ -34,12 +34,12 @@ module Qt
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
|
|
@@debug_level = DebugLevel::Off
|
|
|
|
@@debug_level = DebugLevel::Off
|
|
|
|
def Qt.debug_level=(level)
|
|
|
|
def TQt.debug_level=(level)
|
|
|
|
@@debug_level = level
|
|
|
|
@@debug_level = level
|
|
|
|
Internal::setDebug TQt::QtDebugChannel::TQTDB_ALL if level >= DebugLevel::Extensive
|
|
|
|
Internal::setDebug TQt::QtDebugChannel::TQTDB_ALL if level >= DebugLevel::Extensive
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
|
|
def Qt.debug_level
|
|
|
|
def TQt.debug_level
|
|
|
|
@@debug_level
|
|
|
|
@@debug_level
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
|
|