aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/aoapplication.h3
-rw-r--r--include/aooptionsdialog.h2
2 files changed, 5 insertions, 0 deletions
diff --git a/include/aoapplication.h b/include/aoapplication.h
index 16bbb9f2..77154750 100644
--- a/include/aoapplication.h
+++ b/include/aoapplication.h
@@ -278,6 +278,9 @@ public:
// Returns whether the user would like to have custom shownames on by default.
bool get_showname_enabled_by_default();
+ //Returns the showname the user may have set in config.ini.
+ QString get_default_showname();
+
// Returns the list of words in callwords.ini
QStringList get_call_words();
diff --git a/include/aooptionsdialog.h b/include/aooptionsdialog.h
index 45fc86ca..a6c8b8e9 100644
--- a/include/aooptionsdialog.h
+++ b/include/aooptionsdialog.h
@@ -78,6 +78,8 @@ private:
QLabel *ui_username_lbl;
QLabel *ui_showname_lbl;
QCheckBox *ui_showname_cb;
+ QLabel *ui_default_showname_lbl;
+ QLineEdit *ui_default_showname_textbox;
QFrame *ui_net_divider;
QLabel *ui_ms_lbl;
QLineEdit *ui_ms_textbox;