Commit aa30d6e8 authored by Yuri Chornoivan's avatar Yuri Chornoivan
Browse files

Fix minor EBN issues and typos

parent 0c1df8ee
......@@ -1376,7 +1376,7 @@ HAVE_DOT = YES
# directory and reference it in all dot files that doxygen generates. This
# font does not include all possible unicode characters however, so when you need
# these (or just want a differently looking font) you can specify the font name
# using DOT_FONTNAME. You need need to make sure dot is able to find the font,
# using DOT_FONTNAME. You need to make sure dot is able to find the font,
# which can be done by putting it in a standard location or by setting the
# DOTFONTPATH environment variable or by setting DOT_FONTPATH to the directory
# containing the font.
......
......@@ -20,7 +20,7 @@ Check with
$ xsetwacom list devices
if your device is correctly recognized first. If it dosn't show up there, we can't configure it.
if your device is correctly recognized first. If it doesn't show up there, we can't configure it.
Installation
------------
......@@ -43,7 +43,7 @@ Adding missing tablet devices
-----------------------------
If your device is not recognized by this program, but you can set it up via the xsetwacom driver,
run Wacom Tablet Finder (`kde_wacom_tabletfinder`), desribe your device and click `Save`, and restart Wacom tablet service (see above).
run Wacom Tablet Finder (`kde_wacom_tabletfinder`), describe your device and click `Save`, and restart Wacom tablet service (see above).
Please send your device description (file `~/.config/tabletdblocalrc`) to the bugtracker, so it will be added in future versions.
......@@ -55,7 +55,7 @@ https://bugs.kde.org/enter_bug.cgi?product=wacomtablet
Building & manual installation
==============================
This is *not* a recommended way to use this application. Installing it manually creates files untracked by your pacakge manager.
This is *not* a recommended way to use this application. Installing it manually creates files untracked by your package manager.
This can cause everyone problems later on. Please contact your distribution's maintainers to package it instead.
Run-time dependencies:
......@@ -184,15 +184,15 @@ hwbutton2=2 # see below for more information
hwbutton3=3
hwbutton4=8
### hwbuttonX explanantion ###
### hwbuttonX explanation ###
Kernels >= 2.6.38 renamed the buttons for some reason.
xsetwacom does not work with the pysical hardware button numbers 1-X
xsetwacom does not work with the physical hardware button numbers 1-X
but rather with the real numbers as seen by the XServer
In case you run into trouble with the buttons do the following:
* deinstall the kded/kcm ;)
* uninstall the kded/kcm ;)
* disconnect/reconnect the tablet
* run xev in the terminal
* move the mouse over the new window
......
......@@ -40,7 +40,7 @@ QTEST_MAIN(TestDeviceProperty)
void TestDeviceProperty::test()
{
// very basic test to make sure instanciation works
// very basic test to make sure instantiation works
// the real unit tests can be found in TestPropertySet
QCOMPARE(DeviceProperty::Button1.key(), QLatin1String("Button1"));
}
......
......@@ -25,7 +25,7 @@
namespace Wacom
{
/**
* This KAboutData implementatation should be used in every KDE component.
* This KAboutData implementation should be used in every KDE component.
* It is here so we have central place where to manage all authors of this
* project.
*/
......
......@@ -169,7 +169,7 @@ public:
* The result can not be used as input string for this class!
* If no shortcut is set, an empty string is returned.
*
* @return The current shortcut as readble string.
* @return The current shortcut as readable string.
*/
const QString toDisplayString() const;
......
......@@ -27,9 +27,9 @@
namespace Wacom {
/**
* The interface for configuration adpaters.
* The interface for configuration adapters.
*
* These adaptors support direct reading and writing of KDE config groups as
* These adapters support direct reading and writing of KDE config groups as
* well as property mapping between configuration file keys and config or
* system properties. In case of a general adapter, an adaptee can be provided
* where all configuration properties will be read from.
......
......@@ -42,7 +42,7 @@ public:
DeviceProfile();
/**
* @param name The name of the device profile.
* @param type The type of the device.
*/
explicit DeviceProfile( const DeviceType& type );
......
......@@ -21,7 +21,7 @@
using namespace Wacom;
// instances container specialization instanciation
// instances container specialization instantiation
template<>
DevicePropertyTemplateSpecialization::PropertySetTemplateSpecialization::Container DevicePropertyTemplateSpecialization::PropertySetTemplateSpecialization::instances = DevicePropertyTemplateSpecialization::PropertySetTemplateSpecialization::Container();
......
......@@ -34,7 +34,7 @@ struct DeviceTypeTemplateSpecializationLessFunctor;
/**
* @brief Helper Typedef! Do not use!
*
* This typedef is required by the DeviceType class. It eases maintenane of template parameters.
* This typedef is required by the DeviceType class. It eases maintenance of template parameters.
*/
typedef Enum<DeviceType, QString, DeviceTypeTemplateSpecializationLessFunctor, PropertyKeyEqualsFunctor> DeviceTypeTemplateSpecialization;
......
......@@ -191,8 +191,8 @@ protected:
* available to the public! Never use it for normal instances! It may
* only be used to instantiate class-static Enum instances.
*
* @param derived A const pointer to the derived class of this instance.
* @param key The key of this class-static Enum instance.
* @param priority The sort order priority of this instance.
*/
explicit Enum( const D* derived, const K& key ) : m_key(key)
{
......
......@@ -109,7 +109,7 @@ void ProfileManagement::createNewProfile( const QString &profilename )
m_profileManager.saveProfile(tabletProfile);
// FIXME: workaround for devices with a separate touch sensor USB ID
// Correct way to solve this is probably rewrite this whole class or comepletely get rid of it
// Correct way to solve this is probably rewrite this whole class or completely get rid of it
if (!m_sensorId.isEmpty()) {
m_profileManager.readProfiles(m_sensorId);
TabletProfile childTabletProfile = m_profileManager.loadProfile(profilename);
......
......@@ -106,7 +106,7 @@ public:
QStringList profileRotationList() const;
/**
* Returns last known profile number (as seved in the config)
* Returns last known profile number (as saved in the config)
*
* Helps to do the next/prev when current profile name is not available
*/
......@@ -143,7 +143,7 @@ public:
* tablet identifier. This method requires that the profiles for a tablet identifier
* have been loaded first.
*
* @param profile The tablet profile name to check for.
* @param profileName The tablet profile name to check for.
*
* @see ProfileManager::loadProfiles(const QString&)
*/
......
......@@ -91,7 +91,7 @@ public:
/**
* Checks if a property is supported by the managed object. The default
* implementation tries to query the managed object or parses the output
* of getProperties() to determin if the given property is supported.
* of getProperties() to determine if the given property is supported.
*
* @return True if the property is supported, else false.
*/
......
......@@ -75,7 +75,7 @@ public:
/**
* Maps the given property to an instance of this property set.
*
* @param id The property id to search for.
* @param property The property to search for.
*
* @return A constant pointer to the property or nullptr if the property is not supported by this set.
*/
......
......@@ -34,7 +34,7 @@ struct ScreenRotationTemplateSpecializationLessFunctor;
/**
* @brief Helper Typedef! Do not use!
*
* This typedef is required by the ScreenRotation class. It eases maintenane of template parameters.
* This typedef is required by the ScreenRotation class. It eases maintenance of template parameters.
*/
typedef Enum<ScreenRotation, QString, ScreenRotationTemplateSpecializationLessFunctor, PropertyKeyEqualsFunctor> ScreenRotationTemplateSpecialization;
......
......@@ -34,7 +34,7 @@ struct TabletInfoTemplateSpecializationLessFunctor;
/**
* @brief Helper Typedef! Do not use!
*
* This typedef is required by the TabletInfo class. It eases maintenane of template parameters.
* This typedef is required by the TabletInfo class. It eases maintenance of template parameters.
*/
typedef Enum<TabletInfo, QString, TabletInfoTemplateSpecializationLessFunctor, PropertyKeyEqualsFunctor> TabletInfoTemplateSpecialization;
......
......@@ -39,7 +39,7 @@ class TabletInformationPrivate;
* Contains all tablet information which could be gathered by either querying X11
* or one of the tablet databases.
*
* DO NOT USE THE MEMBERS OF THIS CLASS, USE THE METHODS! The mebers are only
* DO NOT USE THE MEMBERS OF THIS CLASS, USE THE METHODS! The members are only
* public because D-Bus needs access to them (for now).
*
* When extending this class, don't forget to update the DBusTabletInterface class as well!
......@@ -78,7 +78,7 @@ public:
*
* @param info The tablet information identifier.
*
* @return The requsted information.
* @return The requested information.
*
* @sa get(const QString&) const
*/
......
......@@ -211,7 +211,7 @@ public:
/**
* Sets a float property.
*
* @param propert The property to set.
* @param property The property to set.
* @param values A list of values to set on this property.
*
* @return True if the property could be set, else false.
......
......@@ -86,10 +86,10 @@ public:
/**
* Sets the areas which should be scaled and displayed to the user.
* All areas will be united and displayed as one big area to the user.
* Therefore the areas should be adjecent or overlapping.
* Therefore the areas should be adjacent or overlapping.
*
* @param areas The areas to display to the user.
* @param caption Optional captions to draw in the center of each area.
* @param areaCaptions Optional captions to draw in the center of each area.
*/
void setAreas(const QMap<QString, QRect> &areas, const QStringList& areaCaptions);
......@@ -142,7 +142,7 @@ public:
* Selects an area by area index. This is the index from the list
* the widget was initialized with.
*
* @param areaIndex The list index of the sub-area to select.
* @param output The list index of the sub-area to select.
*/
void setSelection(QString output);
......@@ -199,7 +199,7 @@ private:
*/
enum class DragMode {
DragNone, //!< The user is currently not dragging.
DragSelectedArea, //!< The user drags the whole selection ara.
DragSelectedArea, //!< The user drags the whole selection area.
DragTopHandle, //!< The user drags the top border handle.
DragRightHandle, //!< The user drags the right border handle.
DragBottomHandle, //!< The user drags the bottom border handle.
......@@ -289,7 +289,7 @@ private:
/**
* Returns the total margin of the display area. This is is the out of bounds
* Returns the total margin of the display area. This is the out of bounds
* margin plus any additional margin which might be applied around the widget.
*
* @return The total display area margin.
......
......@@ -51,7 +51,6 @@ public:
/**
* default constructor
*
* @param profileManager Handles the connection to the config files
* @param parent parent Widget
*/
explicit ButtonPageWidget(QWidget *parent = 0);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment