|
ktexteditor_wakatime v1.5.1
Kate plugin to interface with WakaTime.
|
#include <wakatimeconfig.h>
Inherits QObject.
Public Member Functions | |
| QString | apiKey () const |
| void | setApiKey (const QString &key) |
| QString | apiUrl () const |
| void | setApiUrl (const QString &url) |
| bool | hideFilenames () const |
| void | setHideFilenames (bool hide) |
| void | save () const |
| void | configureDialog (QWidget *parent=nullptr, Qt::WindowFlags flags=Qt::WindowFlags()) |
| void | showDialog () |
Basic wrapper around QSettings to use WakaTime settings. Note that the save() method must be called to persist changes.
Definition at line 24 of file wakatimeconfig.h.
|
inline |
Get the API key from the configuration.
Definition at line 45 of file wakatimeconfig.h.
|
inline |
Get the API URL from the configuration.
Definition at line 61 of file wakatimeconfig.h.
| void configureDialog | ( | QWidget * | parent = nullptr, |
| Qt::WindowFlags | flags = Qt::WindowFlags() |
||
| ) |
Configure the dialog. Should be called before showDialog().
| parent | Parent widget. |
| flags | Window flags. |
Definition at line 6 of file wakatimeconfig.cpp.
Here is the caller graph for this function:
|
inline |
Check if filenames should be hidden.
true if filenames should be hidden, false otherwise. Definition at line 78 of file wakatimeconfig.h.
|
inline |
Save the configuration settings to disk.
Definition at line 90 of file wakatimeconfig.h.
Here is the caller graph for this function:
|
inline |
Set the API key.
| key | The API key to set. |
Definition at line 53 of file wakatimeconfig.h.
Here is the caller graph for this function:
|
inline |
Set the API URL.
| url | The API URL to set. |
Definition at line 70 of file wakatimeconfig.h.
Here is the caller graph for this function:
|
inline |
Set whether filenames should be hidden.
| hide | Flag. |
Definition at line 86 of file wakatimeconfig.h.
Here is the caller graph for this function:| void showDialog | ( | ) |
Show configuration dialog.
Definition at line 25 of file wakatimeconfig.cpp.
Here is the call graph for this function: