Miscellaneous functions that do not fit elsewhere. More...
Go to the source code of this file.
Functions | |
| bool | isXTerm () |
| Indicates whether or not the terminal is an X Terminal. | |
| void | setTerminalTitle (const std::string &title) |
| Set the title on a terminal. | |
Miscellaneous functions that do not fit elsewhere
Definition in file misc.h.
| bool isXTerm | ( | ) |
Indicates whether or not the terminal is an X Terminal. It uses the termname() function to determine the type of terminal. It compares the return value of termname() with the values stored in xterms.
The function is always available, but always returns false if termname is not supported
| \c | true if the terminal is an X Terminal, false otherwise. |
| void setTerminalTitle | ( | const std::string & | title | ) |
If supported, set the title on a terminal. The function is always available, but might not have an effect.
| title | the title to set |
Definition at line 128 of file misc.cc.
Referenced by MainWindow::lockScreen(), MainWindow::printTitle(), and MainWindow::run().

1.7.1