Fix minor typos
This commit is contained in:
parent
8497832a8b
commit
38431eebfa
@ -1,3 +1,3 @@
|
||||
add_subdirectory(simpleEngine)
|
||||
add_subdirectory(sourcesOnRequest)
|
||||
add_subdirectory(customDataContainers)
|
||||
add_subdirectory(customDataContainers)
|
||||
|
@ -91,7 +91,7 @@ void HttpContainer::fetchFinished(KJob *job)
|
||||
// data has been updated. This will cause visualizations to be updated.
|
||||
checkForUpdate();
|
||||
|
||||
// Clean up behind ourselves so there isn't unecessary memory usage
|
||||
// Clean up behind ourselves so there isn't unnecessary memory usage
|
||||
m_data.clear();
|
||||
}
|
||||
}
|
||||
|
@ -149,7 +149,7 @@ void Calendar::setWeeks(int weeks)
|
||||
|
||||
int Calendar::firstDayOfWeek() const
|
||||
{
|
||||
// QML has Sunday as 0, so we need to accomodate here
|
||||
// QML has Sunday as 0, so we need to accommodate here
|
||||
return m_firstDayOfWeek == 7 ? 0 : m_firstDayOfWeek;
|
||||
}
|
||||
|
||||
@ -160,7 +160,7 @@ void Calendar::setFirstDayOfWeek(int day)
|
||||
}
|
||||
|
||||
if (m_firstDayOfWeek != day) {
|
||||
// QML has Sunday as 0, so we need to accomodate here
|
||||
// QML has Sunday as 0, so we need to accommodate here
|
||||
// for QDate functions which have Sunday as 7
|
||||
if (day == 0) {
|
||||
m_firstDayOfWeek = 7;
|
||||
|
@ -103,7 +103,7 @@ class Calendar : public QObject
|
||||
Q_PROPERTY(int year READ year NOTIFY yearChanged)
|
||||
|
||||
/**
|
||||
* If an error occured, it will be set in this string as human readable text.
|
||||
* If an error occurred, it will be set in this string as human readable text.
|
||||
*/
|
||||
Q_PROPERTY(QString errorMessage READ errorMessage NOTIFY errorMessageChanged)
|
||||
|
||||
|
@ -96,4 +96,4 @@ Row {
|
||||
calendarBackend.nextMonth()
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -35,7 +35,7 @@ Item {
|
||||
signal next
|
||||
|
||||
signal activated(int index, var date, var item)
|
||||
// so it forwards it to the delegate which then emits activated with all the neccessary data
|
||||
// so it forwards it to the delegate which then emits activated with all the necessary data
|
||||
signal activateHighlightedItem
|
||||
|
||||
readonly property int gridColumns: showWeekNumbers ? calendarGrid.columns + 1 : calendarGrid.columns
|
||||
|
@ -137,7 +137,7 @@ QSGNode *SvgItem::updatePaintNode(QSGNode *oldNode, UpdatePaintNodeData *updateP
|
||||
return nullptr;
|
||||
}
|
||||
|
||||
//this is more than just an optimisation, uploading a null image to QSGAtlasTexture causes a crash
|
||||
//this is more than just an optimization, uploading a null image to QSGAtlasTexture causes a crash
|
||||
if (width() == 0.0 || height() == 0.0) {
|
||||
delete oldNode;
|
||||
return nullptr;
|
||||
|
@ -28,7 +28,7 @@ import QtQml 2.0
|
||||
* For standard item models, actions are created using the following model role names or properties
|
||||
* display - a string contains the action name
|
||||
* decoration - an icon to display
|
||||
* separator - boolean that will add a seperator in the list
|
||||
* separator - boolean that will add a separator in the list
|
||||
*
|
||||
*
|
||||
*
|
||||
|
@ -31,7 +31,7 @@ ecm_generate_qmltypes(org.kde.plasma.extras 2.0 DESTINATION ${KDE_INSTALL_QMLDIR
|
||||
# The platform specific stuff, overwrites a copy of the desktop one
|
||||
# it does install some files on top of the old ones, has to be done
|
||||
# file by file since if some component from the generic set is more
|
||||
# recent than the specifc ones, it wouldn't be overwritten
|
||||
# recent than the specific ones, it wouldn't be overwritten
|
||||
|
||||
#install(TARGETS plasmaextracomponentsplugin DESTINATION ${KDE_INSTALL_PLUGINDIR}/platformimports/touch/org/kde/plasma/extras)
|
||||
#install(FILES qml/qmldir DESTINATION ${KDE_INSTALL_PLUGINDIR}/platformimports/touch/org/kde/plasma/extras)
|
||||
|
@ -51,7 +51,7 @@ public:
|
||||
explicit FallbackComponent(QObject *parent = nullptr);
|
||||
|
||||
/**
|
||||
* This method must be called after the the basePath and the candidates property
|
||||
* This method must be called after the basePath and the candidates property
|
||||
* This method resolves a file path based on the base path and the candidates.
|
||||
* it searches for a file named key under basepath/candidate/key, and returns
|
||||
* the path constructed with the first candidate that matches, if any.
|
||||
|
@ -113,7 +113,7 @@ public:
|
||||
ConfigureAction = 100, /**< The Action will make some kind of configuration ui to appear */
|
||||
ControlAction = 200, /**< Generic control, similar to ConfigureAction TODO: better doc */
|
||||
MiscAction = 300, /**< A type of action that doesn't fit in the oher categories */
|
||||
DestructiveAction = 400, /**< A dangerous action, such as deletion of objects, plasmoids and files. They are intended to be shown separed from other actions */
|
||||
DestructiveAction = 400, /**< A dangerous action, such as deletion of objects, plasmoids and files. They are intended to be shown separated from other actions */
|
||||
UserAction = DestructiveAction + 1000 /**< If new types are needed in a C++ implementation, define them as ids more than UserAction*/
|
||||
};
|
||||
Q_ENUM(ActionType)
|
||||
|
@ -402,7 +402,7 @@ public:
|
||||
bool fromCurrentTheme() const;
|
||||
|
||||
/**
|
||||
* Sets wether the Svg uses the global system theme for its colors or
|
||||
* Sets whether the Svg uses the global system theme for its colors or
|
||||
* the Plasma theme. Default is False.
|
||||
*
|
||||
* @since 5.16
|
||||
|
@ -314,7 +314,7 @@ public:
|
||||
void releaseRectsCache(const QString &image);
|
||||
|
||||
/**
|
||||
* @return plugin info for this theme, with informations such as
|
||||
* @return plugin info for this theme, with information such as
|
||||
* name, description, author, website etc
|
||||
* @since 5.0
|
||||
*/
|
||||
|
@ -685,7 +685,7 @@ void AppletQuickItem::init()
|
||||
const int preloadWeight = d->preloadWeight();
|
||||
qCInfo(LOG_PLASMAQUICK) << "New Applet " << d->applet->title() << "with a weight of" << preloadWeight;
|
||||
|
||||
//don't preload applets less then a certain weigth
|
||||
//don't preload applets less then a certain weight
|
||||
if (d->s_preloadPolicy >= AppletQuickItemPrivate::Aggressive || preloadWeight >= AppletQuickItemPrivate::DelayedPreloadWeight) {
|
||||
//spread the creation over a random delay to make it look
|
||||
//plasma started already, and load the popup in the background
|
||||
|
@ -947,7 +947,7 @@ QPoint Dialog::popupPosition(QQuickItem *item, const QSize &size)
|
||||
QRect avail = item->window()->screen()->availableGeometry();
|
||||
|
||||
if (outsideParentWindow && d->frameSvgItem->enabledBorders() != Plasma::FrameSvg::AllBorders) {
|
||||
//make the panel look it's inside the panel, in order to not make it look cutted
|
||||
//make the panel look it's inside the panel, in order to not make it look cut
|
||||
switch (d->location) {
|
||||
case Plasma::Types::LeftEdge:
|
||||
case Plasma::Types::RightEdge:
|
||||
|
@ -78,7 +78,7 @@ public:
|
||||
extension == QStringLiteral("png") || extension == QStringLiteral("gif") ||
|
||||
extension == QStringLiteral("jpg") || extension == QStringLiteral("jpeg")) {
|
||||
return QByteArray("images");
|
||||
//FIXME: are those necessary? are they *always* catched by type?
|
||||
//FIXME: are those necessary? are they *always* caught by type?
|
||||
} else if (extension == QStringLiteral("js")) {
|
||||
return QByteArray("code");
|
||||
} else if (extension == QStringLiteral("qml") || extension == QStringLiteral("qmldir")) {
|
||||
|
@ -1032,7 +1032,7 @@ void ContainmentInterface::mousePressEvent(QMouseEvent *event)
|
||||
addContainmentActions(desktopMenu, event);
|
||||
}
|
||||
|
||||
//this is a workaround where Qt will fail to realise a mouse has been released
|
||||
//this is a workaround where Qt will fail to realize a mouse has been released
|
||||
|
||||
// this happens if a window which does not accept focus spawns a new window that takes focus and X grab
|
||||
// whilst the mouse is depressed
|
||||
|
Loading…
Reference in New Issue
Block a user