diff options
author | Michele Calgaro <[email protected]> | 2023-10-31 00:01:59 +0900 |
---|---|---|
committer | Michele Calgaro <[email protected]> | 2023-10-31 00:01:59 +0900 |
commit | 6b2298c21d21f5b2724ba6ec4b2b8c6ba2e76f21 (patch) | |
tree | 8543d26024c43cc9de7ec06b9e2a6c478fde546a /src/UiGuiSettings.h | |
parent | 95f2a9c8979cb2606027efd7e1a831676860a8b6 (diff) | |
download | universal-indent-gui-tqt-6b2298c21d21f5b2724ba6ec4b2b8c6ba2e76f21.tar.gz universal-indent-gui-tqt-6b2298c21d21f5b2724ba6ec4b2b8c6ba2e76f21.zip |
Clean up UiSettings class
Signed-off-by: Michele Calgaro <[email protected]>
Diffstat (limited to 'src/UiGuiSettings.h')
-rw-r--r-- | src/UiGuiSettings.h | 35 |
1 files changed, 0 insertions, 35 deletions
diff --git a/src/UiGuiSettings.h b/src/UiGuiSettings.h index 99137b5..6bda4e6 100644 --- a/src/UiGuiSettings.h +++ b/src/UiGuiSettings.h @@ -43,59 +43,24 @@ class UiGuiSettings : public TQObject ~UiGuiSettings(); -// [--] bool registerObjectProperty(TQObject *obj, const TQString &propertyName, -// [--] const TQString &settingName); -// [--] bool setObjectPropertyToSettingValue(TQObject *obj, const TQString &propertyName, -// [--] const TQString &settingName); -// [--] bool setObjectPropertyToSettingValueRecursive(TQObject *obj); -// [--] bool setSettingToObjectPropertyValue(TQObject *obj, const TQString &propertyName, -// [--] const TQString &settingName); -// [--] bool setSettingToObjectPropertyValueRecursive(TQObject *obj); -// [--] bool registerObjectSlot(TQObject *obj, const TQString &slotName, -// [--] const TQString &settingName); void loadSettings(); void saveSettings(); bool setValueByName(const TQString &settingName, TQVariant value); TQVariant getValueByName(const TQString &settingName) const; TQStringList& getAvailableTranslations(); - public slots: -// [--] void unregisterObjectProperty(TQObject *obj); -// [--] void unregisterObjectSlot(TQObject *obj, const TQString &slotName = TQString::null, -// [--] const TQString &settingName = TQString::null); -// [--] -// [--] protected: -// [--]//---- bool invokeMethodWithValue(TQObject *obj, TQMetaMethod mMethod, TQVariant value); -// [--] -// [--] bool checkCustomPropertiesAndCallFunction(TQObject * obj, -// [--] bool (UiGuiSettings::*callBackFunc)(TQObject *obj, const TQString &propertyName, -// [--] const TQString &settingName)); -// [--] private slots: -// [--] void handleObjectPropertyChange(); void handleValueChangeFromExtern(bool value); -// [++] void handleValueChangeFromExtern(TQDate value); -// [++] void handleValueChangeFromExtern(TQByteArray value); - // Each possible setting needs an own signal. signals: -// [++] void versionInSettingsFile(TQString value); -// [++] void windowIsMaximized(bool value); -// [++] void windowPosition(TQPoint value); -// [++] void windowSize(TQSize value); -// [++] void fileEncoding(TQString value); void recentlyOpenedListSize(int value); void loadLastOpenedFileOnStartup(bool value); -// [++] void lastOpenedFiles(TQString value); -// [++] void selectedIndenter(int value); void syntaxHighlightingEnabled(bool value); void whiteSpaceIsVisible(bool value); void indenterParameterTooltipsEnabled(bool value); void tabWidth(int value); void language(int value); -// [++] void lastUpdateCheck(TQDate value); -// [++] void mainWindowState(TQByteArray value); private: void emitSignalForSetting(TQString settingName); |