summaryrefslogtreecommitdiff
path: root/src/gui/widgets
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2017-09-11 18:19:51 +0300
committerAndrei Karas <akaras@inbox.ru>2017-09-11 18:19:51 +0300
commitdbf65ef9c85f1b1b93fc9666bda31c5e5171b8c7 (patch)
tree2b5cb3421804e631321e31b9944edb26fdebeb03 /src/gui/widgets
parent9cf6f58fa6171daff4568963c79a6338e7b54c8c (diff)
downloadplus-dbf65ef9c85f1b1b93fc9666bda31c5e5171b8c7.tar.gz
plus-dbf65ef9c85f1b1b93fc9666bda31c5e5171b8c7.tar.bz2
plus-dbf65ef9c85f1b1b93fc9666bda31c5e5171b8c7.tar.xz
plus-dbf65ef9c85f1b1b93fc9666bda31c5e5171b8c7.zip
Rename setup_other.cpp into setup_misc.cpp
Same with .h files.
Diffstat (limited to 'src/gui/widgets')
-rw-r--r--src/gui/widgets/tabs/setup_misc.cpp (renamed from src/gui/widgets/tabs/setup_other.cpp)10
-rw-r--r--src/gui/widgets/tabs/setup_misc.h (renamed from src/gui/widgets/tabs/setup_other.h)14
2 files changed, 12 insertions, 12 deletions
diff --git a/src/gui/widgets/tabs/setup_other.cpp b/src/gui/widgets/tabs/setup_misc.cpp
index e608d27e1..759f6507e 100644
--- a/src/gui/widgets/tabs/setup_other.cpp
+++ b/src/gui/widgets/tabs/setup_misc.cpp
@@ -20,7 +20,7 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
-#include "gui/widgets/tabs/setup_other.h"
+#include "gui/widgets/tabs/setup_misc.h"
#include "configuration.h"
@@ -91,7 +91,7 @@ static const char *const densityList[] =
N_("xxhigh")
};
-Setup_Other::Setup_Other(const Widget2 *const widget) :
+Setup_Misc::Setup_Misc(const Widget2 *const widget) :
SetupTabScroll(widget),
mProxyTypeList(new NamesModel),
mShortcutsList(new NamesModel),
@@ -449,14 +449,14 @@ Setup_Other::Setup_Other(const Widget2 *const widget) :
setDimension(Rect(0, 0, 550, 350));
}
-Setup_Other::~Setup_Other()
+Setup_Misc::~Setup_Misc()
{
delete2(mProxyTypeList);
delete2(mShortcutsList);
delete2(mDensityList);
}
-void Setup_Other::apply()
+void Setup_Misc::apply()
{
SetupTabScroll::apply();
@@ -465,7 +465,7 @@ void Setup_Other::apply()
Net::loadIgnorePackets();
}
-void Setup_Other::externalUpdated()
+void Setup_Misc::externalUpdated()
{
reread("showJob");
reread("enableGuildBot");
diff --git a/src/gui/widgets/tabs/setup_other.h b/src/gui/widgets/tabs/setup_misc.h
index 4039f3e15..c31026c92 100644
--- a/src/gui/widgets/tabs/setup_other.h
+++ b/src/gui/widgets/tabs/setup_misc.h
@@ -20,21 +20,21 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
-#ifndef GUI_WIDGETS_TABS_SETUP_OTHER_H
-#define GUI_WIDGETS_TABS_SETUP_OTHER_H
+#ifndef GUI_WIDGETS_TABS_SETUP_MISC_H
+#define GUI_WIDGETS_TABS_SETUP_MISC_H
#include "gui/widgets/tabs/setuptabscroll.h"
class NamesModel;
-class Setup_Other final : public SetupTabScroll
+class Setup_Misc final : public SetupTabScroll
{
public:
- explicit Setup_Other(const Widget2 *const widget);
+ explicit Setup_Misc(const Widget2 *const widget);
- A_DELETE_COPY(Setup_Other)
+ A_DELETE_COPY(Setup_Misc)
- ~Setup_Other();
+ ~Setup_Misc();
void apply() override final;
@@ -46,4 +46,4 @@ class Setup_Other final : public SetupTabScroll
NamesModel *mDensityList;
};
-#endif // GUI_WIDGETS_TABS_SETUP_OTHER_H
+#endif // GUI_WIDGETS_TABS_SETUP_MISC_H