Represents a generic Resource for a text input object.
 
 More...
#include <textinput_v3.h>
Represents a generic Resource for a text input object.
- See also
- TextInputManagerV3Interface 
- 
SeatInterface 
Definition at line 54 of file textinput_v3.h.
◆ ~TextInputV3Interface()
  
  | 
        
          | KWin::TextInputV3Interface::~TextInputV3Interface | ( |  | ) |  |  | overridedefault | 
 
 
◆ clientSupportsTextInput()
      
        
          | bool KWin::TextInputV3Interface::clientSupportsTextInput | ( | ClientConnection * | client | ) | const | 
      
 
 
◆ commitString()
      
        
          | void KWin::TextInputV3Interface::commitString | ( | const QString & | text | ) |  | 
      
 
Notify when text should be inserted into the editor widget. The text to commit could be either just a single character after a key press or the result of some composing (preEdit). It could be also an empty text when some text should be removed (see deleteSurroundingText) or when the input cursor should be moved (see cursorPosition).
Any previously set composing text should be removed. 
- Parameters
- 
  
    | text | The utf8-encoded text to be inserted into the editor widget |  
 
- See also
- preEdit 
- 
deleteSurroundingText 
Definition at line 456 of file textinput_v3.cpp.
 
 
◆ contentHints()
      
        
          | TextInputContentHints KWin::TextInputV3Interface::contentHints | ( |  | ) | const | 
      
 
 
◆ contentPurpose()
◆ contentTypeChanged
  
  | 
        
          | void KWin::TextInputV3Interface::contentTypeChanged | ( |  | ) |  |  | signal | 
 
 
◆ cursorRectangle()
      
        
          | QRect KWin::TextInputV3Interface::cursorRectangle | ( |  | ) | const | 
      
 
 
◆ cursorRectangleChanged
  
  | 
        
          | void KWin::TextInputV3Interface::cursorRectangleChanged | ( | const QRect & | rect | ) |  |  | signal | 
 
 
◆ deleteSurroundingText()
      
        
          | void KWin::TextInputV3Interface::deleteSurroundingText | ( | quint32 | beforeLength, | 
        
          |  |  | quint32 | afterLength ) | 
      
 
Notify when the text around the current cursor position should be deleted.
The Client processes this event together with the commit string
- Parameters
- 
  
    | beforeLength | length of text before current cursor position. |  | afterLength | length of text after current cursor position. |  
 
- See also
- commit 
Definition at line 446 of file textinput_v3.cpp.
 
 
◆ done()
      
        
          | void KWin::TextInputV3Interface::done | ( |  | ) |  | 
      
 
Notify when changes and state requested by sendPreEditString, commitString and deleteSurroundingText should be applied. 
Definition at line 461 of file textinput_v3.cpp.
 
 
◆ enabledChanged
  
  | 
        
          | void KWin::TextInputV3Interface::enabledChanged | ( |  | ) |  |  | signal | 
 
 
◆ enableRequested
  
  | 
        
          | void KWin::TextInputV3Interface::enableRequested | ( |  | ) |  |  | signal | 
 
 
◆ isEnabled()
      
        
          | bool KWin::TextInputV3Interface::isEnabled | ( |  | ) | const | 
      
 
 
◆ sendPreEditString()
      
        
          | void KWin::TextInputV3Interface::sendPreEditString | ( | const QString & | text, | 
        
          |  |  | quint32 | cursorBegin, | 
        
          |  |  | quint32 | cursorEnd ) | 
      
 
Send preEditString to the client
- Parameters
- 
  
    | text | pre-edit string |  | cursorBegin |  |  | cursorEnd |  |  
 
Definition at line 451 of file textinput_v3.cpp.
 
 
◆ stateCommitted
  
  | 
        
          | void KWin::TextInputV3Interface::stateCommitted | ( | quint32 | serial | ) |  |  | signal | 
 
Emitted when state should be committed 
 
 
◆ surface()
◆ surroundingText()
      
        
          | QString KWin::TextInputV3Interface::surroundingText | ( |  | ) | const | 
      
 
 
◆ surroundingTextChanged
  
  | 
        
          | void KWin::TextInputV3Interface::surroundingTextChanged | ( |  | ) |  |  | signal | 
 
 
◆ surroundingTextCursorPosition()
      
        
          | qint32 KWin::TextInputV3Interface::surroundingTextCursorPosition | ( |  | ) | const | 
      
 
 
◆ surroundingTextSelectionAnchor()
      
        
          | qint32 KWin::TextInputV3Interface::surroundingTextSelectionAnchor | ( |  | ) | const | 
      
 
 
◆ SeatInterface
◆ SeatInterfacePrivate
◆ TextInputManagerV3InterfacePrivate
◆ TextInputV3InterfacePrivate
The documentation for this class was generated from the following files: