Class: RosettAi::Ui::Kde
Overview
KDE skeleton adapter.
Registers as :kde in the UI registry but raises on any method call. KDE integration requires Qt6 bindings which do not exist for Ruby. This adapter serves as a placeholder for the rosett-ai-kde package concept.
Constant Summary collapse
- UNAVAILABLE_MESSAGE =
'KDE adapter not available — Ruby Qt6/KDE bindings do not exist. Use GTK4 or TUI.'
Constants inherited from Base
Instance Method Summary collapse
- #announce(_message) ⇒ Object
- #display_table(_headers, _rows) ⇒ Object
-
#prompt_user(_question, choices: nil) ⇒ Object
rubocop:disable Lint/UnusedMethodArgument -- skeleton raises unconditionally.
- #render(_content) ⇒ Object
- #show_spinner(_message) ⇒ Object
Methods inherited from Base
Instance Method Details
#announce(_message) ⇒ Object
33 34 35 |
# File 'lib/rosett_ai/ui/kde.rb', line 33 def announce() raise RosettAi::Error, UNAVAILABLE_MESSAGE end |
#display_table(_headers, _rows) ⇒ Object
21 22 23 |
# File 'lib/rosett_ai/ui/kde.rb', line 21 def display_table(_headers, _rows) raise RosettAi::Error, UNAVAILABLE_MESSAGE end |
#prompt_user(_question, choices: nil) ⇒ Object
rubocop:disable Lint/UnusedMethodArgument -- skeleton raises unconditionally
25 26 27 |
# File 'lib/rosett_ai/ui/kde.rb', line 25 def prompt_user(_question, choices: nil) # rubocop:disable Lint/UnusedMethodArgument -- skeleton raises unconditionally raise RosettAi::Error, UNAVAILABLE_MESSAGE end |
#render(_content) ⇒ Object
17 18 19 |
# File 'lib/rosett_ai/ui/kde.rb', line 17 def render(_content) raise RosettAi::Error, UNAVAILABLE_MESSAGE end |
#show_spinner(_message) ⇒ Object
29 30 31 |
# File 'lib/rosett_ai/ui/kde.rb', line 29 def show_spinner() raise RosettAi::Error, UNAVAILABLE_MESSAGE end |