Commit 161d2ac3 authored by Yuri Chornoivan's avatar Yuri Chornoivan

Fix minor EBN issues and typos

parent cd50b3e7
......@@ -99,7 +99,7 @@ The rest:
- works with MLT filters that use mlt_geometry for keyframe support (includes all frei0r filters)
- same attributes as "keyframe"
- "geometry":
- a rectangle: postion + dimension + additional value
- a rectangle: position + dimension + additional value
- works with MLT filters using mlt_geometry
- the rect can be edited on the project monitor
- additional attributes:
......
......@@ -87,7 +87,7 @@ public:
/**
* @brief Removes a child item and notifies the bin model about it (before and after).
* @param child project which sould be removed from the child list
* @param child project which should be removed from the child list
*
* This function is called when a child's parent is changed through setParent
*/
......
......@@ -2421,7 +2421,7 @@ void Bin::slotUpdateJobStatus(const QString &id, int jobType, int status, const
void Bin::doDisplayMessage(const QString &text, KMessageWidget::MessageType type, const QList<QAction *> &actions)
{
// Remove axisting actions if any
// Remove existing actions if any
QList<QAction *> acts = m_infoMessage->actions();
while (!acts.isEmpty()) {
QAction *a = acts.takeFirst();
......
......@@ -83,7 +83,7 @@ QImage ColorTools::yuvColorWheel(const QSize &size, int Y, float scaling, bool m
db *= dmax;
}
// Avoid overflows (which would generate intersting patterns).
// Avoid overflows (which would generate intersecting patterns).
// Note that not all possible (y,u,v) values with u,v \in [-1,1]
// have a correct RGB representation, therefore some RGB values
// may exceed {0,...,255}.
......@@ -295,7 +295,7 @@ QImage ColorTools::yPbPrColorWheel(const QSize &size, int Y, float scaling, bool
dg = Y - 87.75 * dpB - 182.1 * dpR;
db = Y + 451.86 * dpB;
// Avoid overflows (which would generate intersting patterns).
// Avoid overflows (which would generate intersecting patterns).
// Note that not all possible (y,u,v) values with u,v \in [-1,1]
// have a correct RGB representation, therefore some RGB values
// may exceed {0,...,255}.
......
......@@ -59,7 +59,7 @@ public:
* @param Url (optional) file to open
* @param clipsToLoad (optional) a comma separated list of clips to import in project
*
* If Url is present, it will be opened, otherwhise, if openlastproject is
* If Url is present, it will be opened, otherwise, if openlastproject is
* set, latest project will be opened. If no file is open after trying this,
* a default new file will be created. */
static void build(const QString &MltPath = QString(), const QUrl &Url = QUrl(), const QString &clipsToLoad = QString());
......
......@@ -72,7 +72,7 @@ public:
static QString getColorspaceDescription(int colorspace);
/** @brief Get the colorspace code (defined by MLT) from a descriptive text
* @param desctiption A string description as defined in getColorspaceDescription(int colorspace)
* @param description A string description as defined in getColorspaceDescription(int colorspace)
* @return The int code */
static int getColorspaceFromDescription(const QString &description);
......
......@@ -1292,7 +1292,7 @@ void RenderWidget::slotExport(bool scriptExport, int zoneIn, int zoneOut,
renderArgs.append(QStringLiteral(" real_time=-%1").arg(KdenliveSettings::mltthreads()));
// Check if the rendering profile is different from project profile,
// in which case we need to use the producer_comsumer from MLT
// in which case we need to use the producer_consumer from MLT
QString subsize;
if (std.startsWith(QLatin1String("s="))) {
subsize = std.section(QLatin1Char(' '), 0, 0).toLower();
......
......@@ -76,7 +76,7 @@ private:
void fixClipItem(QTreeWidgetItem *child, const QDomNodeList &producers, const QDomNodeList &trans);
void fixSourceClipItem(QTreeWidgetItem *child, const QDomNodeList &producers);
void fixProxyClip(const QString &id, const QString &oldUrl, const QString &newUrl, const QDomNodeList &producers);
/** @brief Returns list of transitions containg luma files */
/** @brief Returns list of transitions containing luma files */
QMap <QString, QString> getLumaPairs() const;
};
......
......@@ -238,7 +238,7 @@ void ParameterPlotter::replot(const QString &name)
void ParameterPlotter::mousePressEvent(QMouseEvent *event)
{
//topPadding and other padding can be wrong and this (i hope) will be correctet in newer kde versions
//topPadding and other padding can be wrong and this (i hope) will be corrected in newer kde versions
QPoint inPlot = event->pos() - QPoint(leftPadding(), topPadding());
QList<KPlotPoint *> list = pointsUnderPoint(inPlot);
if (event->button() == Qt::LeftButton) {
......
......@@ -161,7 +161,7 @@ private slots:
/** @brief Sets the rect's height to @param value. */
void slotSetHeight(double value);
/** @brief Resizes the rect by @param value (in perecent) compared to the frame size. */
/** @brief Resizes the rect by @param value (in percent) compared to the frame size. */
void slotResize(double value);
/** @brief Sets the opacity to @param value. */
......
......@@ -38,7 +38,7 @@
<Action name="duplicate_clip" />
<Action name="proxy_clip" />
<Menu name="clip_in_timeline"><text>Clip in Timeline</text>
<ActionList name="timeline_occurences" />
<ActionList name="timeline_occurrences" />
</Menu>
<Action name="clip_properties" />
<Action name="edit_clip" />
......
......@@ -2,4 +2,3 @@ set(kdenlive_SRCS
${kdenlive_SRCS}
library/librarywidget.cpp
PARENT_SCOPE)
\ No newline at end of file
......@@ -2964,9 +2964,9 @@ void MainWindow::slotClipInTimeline(const QString &clipId)
actionList.insert(j, a);
}
QList<QAction *> list = inTimelineMenu->actions();
unplugActionList(QStringLiteral("timeline_occurences"));
unplugActionList(QStringLiteral("timeline_occurrences"));
qDeleteAll(list);
plugActionList(QStringLiteral("timeline_occurences"), actionList);
plugActionList(QStringLiteral("timeline_occurrences"), actionList);
if (actionList.isEmpty()) {
inTimelineMenu->setEnabled(false);
......
......@@ -70,7 +70,7 @@ public:
* @param Url (optional) file to open
* @param clipsToLoad (optional) a comma separated list of clips to import in project
*
* If Url is present, it will be opened, otherwhise, if openlastproject is
* If Url is present, it will be opened, otherwise, if openlastproject is
* set, latest project will be opened. If no file is open after trying this,
* a default new file will be created. */
void init(const QString &MltPath, const QUrl &Url, const QString &clipsToLoad);
......@@ -316,7 +316,7 @@ private slots:
void slotDeleteAllClipMarkers();
void slotEditClipMarker();
/** @brief Adds marker or auide at the current position without showing the marker dialog.
/** @brief Adds marker or guide at the current position without showing the marker dialog.
*
* Adds a marker if clip monitor is active, otherwise a guide.
* The comment is set to the current position (therefore not dialog).
......@@ -436,7 +436,7 @@ private slots:
/** @brief Process keyframe data sent from a clip to effect / transition stack. */
void slotProcessImportKeyframes(GraphicsRectItem type, const QString& tag, const QString& keyframes);
/** @brief Move playhead to mouse curser position if defined key is pressed */
/** @brief Move playhead to mouse cursor position if defined key is pressed */
void slotAlignPlayheadToMousePos();
void slotThemeChanged(const QString &);
......
......@@ -168,7 +168,7 @@ public:
QStringList getProjectHashes();
public slots:
/** @brief Stored a Bin Folder id / name to MLT's bin playlist. Using an empry folderName deletes the property */
/** @brief Stored a Bin Folder id / name to MLT's bin playlist. Using an empty folderName deletes the property */
void slotStoreFolder(const QString &folderId, const QString &parentId, const QString &oldParentId, const QString &folderName);
private:
......
......@@ -182,7 +182,7 @@ public:
/** @brief Returns true if audio thumbnails for this clip are cached */
bool audioThumbCreated;
Mlt::Profile *profile();
/** @brief When replacing a producer, it is important that we keep some properties, for exemple force_ stuff and url for proxies
/** @brief When replacing a producer, it is important that we keep some properties, for example force_ stuff and url for proxies
* this method returns a list of properties that we want to keep when replacing a producer . */
static const char *getPassPropertiesList(bool passLength = true);
/** @brief Disable all Kdenlive effects on this clip */
......
......@@ -735,7 +735,7 @@ void ProducerQueue::processFileProperties()
}
QImage img = KThumb::getFrame(frame, fullWidth, info.imageHeight, forceThumbScale);
if (frameNumber == -1) {
// No user specipied frame, look for best one
// No user specified frame, look for best one
int variance = KThumb::imageVariance(img);
if (variance < 6) {
// Thumbnail is not interesting (for example all black, seek to fetch better thumb
......
......@@ -212,7 +212,7 @@ void GLWidget::resizeGL(int width, int height)
double this_aspect = (double) width / height;
double video_aspect = m_monitorProfile->dar();
// Special case optimisation to negate odd effect of sample aspect ratio
// Special case optimization to negate odd effect of sample aspect ratio
// not corresponding exactly with image resolution.
if ((int)(this_aspect * 1000) == (int)(video_aspect * 1000)) {
w = width;
......
......@@ -140,7 +140,7 @@ signals:
void addEffect(const QDomElement &);
/** @brief Monitor activated, refresh overlay options actions */
void updateOverlayInfos(int, int);
/** @brief info is available for audio spectum widget */
/** @brief info is available for audio spectrum widget */
void frameDisplayed(const SharedFrame &);
};
......
......@@ -101,7 +101,7 @@ main()
/*
* NearestPointOnCurve :
* Compute the parameter value of the point on a Bezier
* curve segment closest to some arbtitrary, user-input point.
* curve segment closest to some arbitrary, user-input point.
* Return the point on the curve at that parameter value.
*
*/
......
......@@ -73,7 +73,7 @@ private:
/** @brief Returns the list of cubic Bézier points that form the spline at position @param keyframe.
* The points are brought from the range [0, 1] into project resolution space.
* This function does not do any interpolation and therfore will only return a list when a keyframe at the given postion exists.
* This function does not do any interpolation and therefore will only return a list when a keyframe at the given position exists.
* Set @param keyframe to -1 if only one keyframe currently exists. */
QList<BPoint> getPoints(int keyframe);
......
......@@ -68,7 +68,7 @@ ClipStabilize::ClipStabilize(const QStringList &urls, const QString &filterName,
<< QStringLiteral("maxangle,type,double,value,-1,min,-1,max,3.14,decimals,2,tooltip,max angle to rotate (in rad)")
<< QStringLiteral("crop,type,bool,value,0,min,0,max,1,tooltip,0 = keep border 1 = black background")
<< QStringLiteral("zoom,type,int,value,0,min,-500,max,500,tooltip,additional zoom during transform")
<< QStringLiteral("optzoom,type,bool,value,1,min,0,max,1,tooltip,use optimal zoom (calulated from transforms)")
<< QStringLiteral("optzoom,type,bool,value,1,min,0,max,1,tooltip,use optimal zoom (calculated from transforms)")
<< QStringLiteral("sharpen,type,double,value,0.8,min,0,max,1,decimals,1,tooltip,sharpen transformed image")
<< QStringLiteral("tripod,type,position,value,0,min,0,max,100000,tooltip,reference frame"));
} else if (m_filtername == QLatin1String("videostab")) {
......
......@@ -63,7 +63,7 @@ private slots:
void slotUpdateDurationFormat(int ix);
void slotGenerateThumbs();
void slotSetPixmap(const KFileItem &fileItem, const QPixmap &pix);
/** @brief Display correct widget depenging on user choice (MIME type or pattern method). */
/** @brief Display correct widget depending on user choice (MIME type or pattern method). */
void slotMethodChanged(bool active);
private:
......
......@@ -323,7 +323,7 @@ QHash<ProjectClip *, AbstractClipJob *> CutClipJob::prepareCutClipJob(double fps
dest = ui.file_url->url().toLocalFile();
bool acceptPath = dest != source;
if (acceptPath && QFileInfo(dest).size() > 0) {
// destination file olready exists, overwrite?
// destination file already exists, overwrite?
acceptPath = false;
}
while (!acceptPath) {
......
......@@ -143,7 +143,7 @@ QHash<ProjectClip *, AbstractClipJob *> FilterJob::prepareJob(const QList<Projec
consumerParams.insert(QStringLiteral("all"), QStringLiteral("1"));
consumerParams.insert(QStringLiteral("terminate_on_pause"), QStringLiteral("1"));
consumerParams.insert(QStringLiteral("real_time"), QStringLiteral("-1"));
// We just want to find scene change, set all mathods to the fastests
// We just want to find scene change, set all methods to the fastest
consumerParams.insert(QStringLiteral("rescale"), QStringLiteral("nearest"));
consumerParams.insert(QStringLiteral("deinterlace_method"), QStringLiteral("onefield"));
consumerParams.insert(QStringLiteral("top_field_first"), QStringLiteral("-1"));
......
......@@ -120,7 +120,7 @@ void MeltJob::startJob()
if (qAbs(m_profile->fps() - fps) > 0.01 || producerProfile) {
// Reload producer
delete producer;
// Force same fps as projec profile or the resulting .mlt will not load in our project
// Force same fps as project profile or the resulting .mlt will not load in our project
m_profile->set_frame_rate(fps_num, fps_den);
producer = new Mlt::Producer(*m_profile, m_url.toUtf8().constData());
}
......
......@@ -431,7 +431,7 @@ bool ProjectManager::checkForBackupFile(const QUrl &url, bool newFile)
QList<KAutoSaveFile *> staleFiles = KAutoSaveFile::staleFiles(autosaveUrl);
KAutoSaveFile *orphanedFile = nullptr;
// Check if we can have a lock on one of the file,
// meaning it is not handled by any Kdenlive instancce
// meaning it is not handled by any Kdenlive instance
if (!staleFiles.isEmpty()) {
foreach (KAutoSaveFile *stale, staleFiles) {
if (stale->open(QIODevice::QIODevice::ReadWrite)) {
......
......@@ -51,7 +51,7 @@ class LoginDialog;
\details It contains a QWebView object to display the freesound web page. I did try using a QTextBrowser
for this purpose but it responds to the URL that is used to connect with
"No document for https://www.freesound.org/apiv2/oauth2/authorize/?client_id=3duhagdr874c&redirect_uri=https://www.freesound.org/home/app_permissions/permission_granted/&response_type=code"
The use of QWebView adds a dependancy on the KF5WebKit to kdenlive. Need install libkf5webkit5-dev package on ubuntu
The use of QWebView adds a dependency on the KF5WebKit to kdenlive. Need install libkf5webkit5-dev package on ubuntu
*/
class LoginDialog : public QDialog
{
......@@ -71,7 +71,7 @@ signals:
*/
void authCodeObtained();
/**
* @brief accessDenied -signal emmited if freesound denies access - eg bad password or user has denied access to Kdenlive app.
* @brief accessDenied -signal emitted if freesound denies access - eg bad password or user has denied access to Kdenlive app.
*/
void accessDenied();
/**
......@@ -79,7 +79,7 @@ signals:
*/
void canceled();
/**
* @brief useHQPreview - signal emmited when user clicks the "use HQ preview" button in the logon dialog
* @brief useHQPreview - signal emitted when user clicks the "use HQ preview" button in the logon dialog
*/
void useHQPreview();
......
......@@ -212,7 +212,7 @@ void OAuth2::RequestAccessCode(bool pIsReRequest, const QString &pCode)
* @brief OAuth2::serviceRequestFinished - Fires when we finish downloading the access token.
* This is the slot that is notified when OAuth2::SlotAuthCodeObtained has finished downloading the access token.
* It parses the result to extract out the access_token, refresh_token and expires_in values. If it
* extracts the access token sucessfully if fires the OAuth2::accessTokenReceived signal
* extracts the access token successfully if fires the OAuth2::accessTokenReceived signal
* which is picked up by ResourceWidget::slotAccessTokenReceived
* @param reply
......
......@@ -51,7 +51,7 @@ class LoginDialog;
/**
\brief This object does oAuth2 authentication on the freesound web site. \n
Instansiated by ResourceWidget constructor. \n
Instantiated by ResourceWidget constructor. \n
Freesounds OAuth2 authentication API is documented here http://www.freesound.org/docs/api/authentication.html#oauth2-authentication
*/
class OAuth2 : public QObject
......
......@@ -19,7 +19,7 @@
/*
Timecode calculation code for reference
If we ever use Quicktime timecode with 50.94 Drop frame, keep in mind that there is a bug inthe Quicktime code
If we ever use Quicktime timecode with 50.94 Drop frame, keep in mind that there is a bug in the Quicktime code
//CONVERT A FRAME NUMBER TO DROP FRAME TIMECODE
//Code by David Heidelberger, adapted from Andrew Duncan
......
......@@ -38,7 +38,7 @@ public:
* @brief A widget for inserting a timecode value.
* @author Jean-Baptiste Mardelle
*
* TimecodeDisplay can be used to insert eigther frames
* TimecodeDisplay can be used to insert either frames
* or a timecode in the format HH:MM:SS:FF
*/
class TimecodeDisplay : public QAbstractSpinBox
......
......@@ -495,7 +495,7 @@ void CustomTrackView::slotCheckPositionScrolling()
void CustomTrackView::slotAlignPlayheadToMousePos()
{
/* get curser point ref in screen coord */
/* get cursor point ref in screen coord */
QPoint ps = QCursor::pos();
/* get xPos in scene coord */
int mappedXPos = qMax((int)(mapToScene(mapFromGlobal(ps)).x() + 0.5), 0);
......@@ -2752,7 +2752,7 @@ void CustomTrackView::cutClip(const ItemInfo &info, const GenTime &cutTime, bool
}
if (execute) {
if (!m_timeline->track(info.track)->cut(cutTime.seconds())) {
// Error cuting clip in playlist
// Error cutting clip in playlist
qCDebug(KDENLIVE_LOG) << "/// ERROR CUTTING CLIP PLAYLIST!!";
return;
}
......
......@@ -401,7 +401,7 @@ public slots:
void slotAddEffect(ClipItem *clip, const QDomElement &effect, int track = -1);
void slotImportClipKeyframes(GraphicsRectItem type, const ItemInfo &info, const QDomElement &xml, QMap<QString, QString> keyframes = QMap<QString, QString>());
/** @brief Move playhead to mouse curser position if defined key is pressed */
/** @brief Move playhead to mouse cursor position if defined key is pressed */
void slotAlignPlayheadToMousePos();
void slotInfoProcessingFinished();
......
......@@ -40,7 +40,7 @@ class Playlist;
* @namespace PreviewManager
* @brief Handles timeline preview.
* This manager creates an additional video track on top of the current timeline and renders
* chunks (small video files of 25 frames) that are added on this track when rendrerd.
* chunks (small video files of 25 frames) that are added on this track when rendered.
* This allow us to get a preview with a smooth playback of our project.
* Only the preview zone is rendered. Once defined, a preview zone shows as a red line below
* the timeline ruler. As chunks are rendered, the zone turns to green.
......
......@@ -696,7 +696,7 @@ bool Timeline::isLastClip(const ItemInfo &info)
void Timeline::setTrackInfo(int ix, const TrackInfo &info)
{
if (ix < 0 || ix > m_tracks.count()) {
qCWarning(KDENLIVE_LOG) << "Set Track effect outisde of range";
qCWarning(KDENLIVE_LOG) << "Set Track effect outside of range";
return;
}
Track *tk = track(ix);
......@@ -725,7 +725,7 @@ void Timeline::lockTrack(int ix, bool lock)
{
Track *tk = track(ix);
if (tk == nullptr) {
qCWarning(KDENLIVE_LOG) << "Set Track effect outisde of range: " << ix;
qCWarning(KDENLIVE_LOG) << "Set Track effect outside of range: " << ix;
return;
}
tk->lockTrack(lock);
......@@ -735,7 +735,7 @@ bool Timeline::isTrackLocked(int ix)
{
Track *tk = track(ix);
if (tk == nullptr) {
qCWarning(KDENLIVE_LOG) << "Set Track effect outisde of range: " << ix;
qCWarning(KDENLIVE_LOG) << "Set Track effect outside of range: " << ix;
return false;
}
int locked = tk->getIntProperty(QStringLiteral("kdenlive:locked_track"));
......@@ -792,7 +792,7 @@ void Timeline::doSwitchTrackVideo(int ix, bool hide)
{
Track *tk = track(ix);
if (tk == nullptr) {
qCWarning(KDENLIVE_LOG) << "Set Track effect outisde of range: " << ix;
qCWarning(KDENLIVE_LOG) << "Set Track effect outside of range: " << ix;
return;
}
int state = tk->state();
......@@ -843,7 +843,7 @@ void Timeline::doSwitchTrackAudio(int ix, bool mute)
{
Track *tk = track(ix);
if (tk == nullptr) {
qCWarning(KDENLIVE_LOG) << "Set Track effect outisde of range: " << ix;
qCWarning(KDENLIVE_LOG) << "Set Track effect outside of range: " << ix;
return;
}
int state = tk->state();
......@@ -1429,7 +1429,7 @@ bool Timeline::moveClip(int startTrack, qreal startPos, int endTrack, qreal endP
void Timeline::addTrackEffect(int trackIndex, QDomElement effect, bool addToPlaylist)
{
if (trackIndex < 0 || trackIndex >= m_tracks.count()) {
qCWarning(KDENLIVE_LOG) << "Set Track effect outisde of range";
qCWarning(KDENLIVE_LOG) << "Set Track effect outside of range";
return;
}
Track *sourceTrack = track(trackIndex);
......@@ -1486,7 +1486,7 @@ void Timeline::addTrackEffect(int trackIndex, QDomElement effect, bool addToPlay
bool Timeline::removeTrackEffect(int trackIndex, int effectIndex, const QDomElement &effect)
{
if (trackIndex < 0 || trackIndex >= m_tracks.count()) {
qCWarning(KDENLIVE_LOG) << "Set Track effect outisde of range";
qCWarning(KDENLIVE_LOG) << "Set Track effect outside of range";
return false;
}
int toRemove = effect.attribute(QStringLiteral("kdenlive_ix")).toInt();
......@@ -1511,7 +1511,7 @@ bool Timeline::removeTrackEffect(int trackIndex, int effectIndex, const QDomElem
void Timeline::setTrackEffect(int trackIndex, int effectIndex, QDomElement effect, bool updateTrack)
{
if (trackIndex < 0 || trackIndex >= m_tracks.count()) {
qCWarning(KDENLIVE_LOG) << "Set Track effect outisde of range";
qCWarning(KDENLIVE_LOG) << "Set Track effect outside of range";
return;
}
Track *sourceTrack = track(trackIndex);
......@@ -1531,7 +1531,7 @@ void Timeline::setTrackEffect(int trackIndex, int effectIndex, QDomElement effec
bool Timeline::enableTrackEffects(int trackIndex, const QList<int> &effectIndexes, bool disable)
{
if (trackIndex < 0 || trackIndex >= m_tracks.count()) {
qCWarning(KDENLIVE_LOG) << "Set Track effect outisde of range";
qCWarning(KDENLIVE_LOG) << "Set Track effect outside of range";
return false;
}
Track *sourceTrack = track(trackIndex);
......@@ -1556,7 +1556,7 @@ bool Timeline::enableTrackEffects(int trackIndex, const QList<int> &effectIndexe
const EffectsList Timeline::getTrackEffects(int trackIndex)
{
if (trackIndex < 0 || trackIndex >= m_tracks.count()) {
qCWarning(KDENLIVE_LOG) << "Set Track effect outisde of range";
qCWarning(KDENLIVE_LOG) << "Set Track effect outside of range";
return EffectsList();
}
Track *sourceTrack = track(trackIndex);
......@@ -1566,7 +1566,7 @@ const EffectsList Timeline::getTrackEffects(int trackIndex)
QDomElement Timeline::getTrackEffect(int trackIndex, int effectIndex)
{
if (trackIndex < 0 || trackIndex >= m_tracks.count()) {
qCWarning(KDENLIVE_LOG) << "Set Track effect outisde of range";
qCWarning(KDENLIVE_LOG) << "Set Track effect outside of range";
return QDomElement();
}
Track *sourceTrack = track(trackIndex);
......@@ -1580,7 +1580,7 @@ QDomElement Timeline::getTrackEffect(int trackIndex, int effectIndex)
int Timeline::hasTrackEffect(int trackIndex, const QString &tag, const QString &id)
{
if (trackIndex < 0 || trackIndex >= m_tracks.count()) {
qCWarning(KDENLIVE_LOG) << "Set Track effect outisde of range";
qCWarning(KDENLIVE_LOG) << "Set Track effect outside of range";
return -1;
}
Track *sourceTrack = track(trackIndex);
......@@ -1618,7 +1618,7 @@ QPoint Timeline::getTracksCount()
int Timeline::getTrackSpaceLength(int trackIndex, int pos, bool fromBlankStart)
{
if (trackIndex < 0 || trackIndex >= m_tracks.count()) {
qCWarning(KDENLIVE_LOG) << "Set Track effect outisde of range";
qCWarning(KDENLIVE_LOG) << "Set Track effect outside of range";
return 0;
}
return track(trackIndex)->getBlankLength(pos, fromBlankStart);
......
......@@ -39,7 +39,7 @@ class HeaderTrack;
* When one adds, deletes, moves and resizes clips on the track,
* it corresponds to playlist operations, simple or elaborate.
* The Track class handles the edit time to MLT frame & index
* correspondance, and builds complex operations on top of basic
* correspondence, and builds complex operations on top of basic
* commands.
*/
......@@ -87,7 +87,7 @@ public:
/** @brief The track header widget */
HeaderTrack *trackHeader;
/** @brief convertion utility function
/** @brief conversion utility function
* @param time (in seconds)
* @return frame number */
int frame(qreal t);
......
......@@ -59,7 +59,7 @@ public:
/** @brief Returns the new list of tracks created from the table. */
const QList<TrackInfo> tracksList();
/** @brief A list of tracks, which sould be deleted. */
/** @brief A list of tracks, which should be deleted. */
QList<int> deletedTracks() const;
private slots:
......
......@@ -28,7 +28,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
/*! \class GradientWidget
\brief Title creation dialog
Instances of TitleWidget classes are instansiated by KdenliveDoc::slotCreateTextClip ()
Instances of TitleWidget classes are instantiated by KdenliveDoc::slotCreateTextClip ()
*/
class GradientWidget : public QDialog, public Ui::GradientEdit_UI
{
......
......@@ -54,7 +54,7 @@ public:
/*! \class TitleWidget
\brief Title creation dialog
Instances of TitleWidget classes are instansiated by KdenliveDoc::slotCreateTextClip ()
Instances of TitleWidget classes are instantiated by KdenliveDoc::slotCreateTextClip ()
*/
class TitleWidget : public QDialog, public Ui::TitleWidget_UI
{
......@@ -269,7 +269,7 @@ private slots:
* Left selected: Value = l
* Right selected: Value = r
*
* To calculate between the two coorindate systems:
* To calculate between the two coordinate systems:
* l = m_frameWidth - w - r
* r = m_frameWidth - w - l
*/
......
......@@ -85,7 +85,7 @@ void FreeSound::slotShowResults(KJob *job)
if (job->error() != 0) {
qCDebug(KDENLIVE_LOG) << job->errorString();
} else {
m_listWidget->blockSignals(true);// stop the listWidget from emiting signals.Ie clicking on the list while we are busy here will do nothing
m_listWidget->blockSignals(true);// stop the listWidget from emitting signals. Ie clicking on the list while we are busy here will do nothing
KIO::StoredTransferJob *storedQueryJob = static_cast<KIO::StoredTransferJob *>(job);
QJsonParseError jsonError;
......
......@@ -115,7 +115,7 @@ ResourceWidget::ResourceWidget(const QString &folder, QWidget *parent) :
m_currentService->slotStartSearch(QStringLiteral("dummy"), 0);// Run a dummy search to initialise the search.
// for reasons I (ttguy) can not fathom the first search that gets run fails
// with The file or folder http://www.freesound.org/apiv2/search/t<blah blay> does not exist.
// but subsequent identicle search will work. With this kludge in place we do not have to click the search button
// but subsequent identical search will work. With this kludge in place we do not have to click the search button
// twice to get search to run
slotChangeService();
loadConfig();
......@@ -426,7 +426,7 @@ void ResourceWidget::slotSaveItem(const QString &originalUrl)
* @param saveUrl destination url
* Called by ResourceWidget::slotSaveItem() for non freesound downloads. Called by ResourceWidget::slotFreesoundUseHQPreview()
* when user chooses to use HQ preview file from freesound
* Starts a file copy job to download the file. When file finishes dowloading slotGotFile will be called
* Starts a file copy job to download the file. When file finishes downloading slotGotFile will be called
*/
void ResourceWidget::DoFileDownload(const QUrl &srcUrl, const QUrl &saveUrl)
{
......@@ -781,7 +781,7 @@ void ResourceWidget::slotAccessTokenReceived(const QString &sAccessToken)
/**
* @brief ResourceWidget::GetSaveFileNameAndPathS
* @param path - starting path where dialog will open on
* @param ext - file exension filter to have in play on the dialog
* @param ext - file extension filter to have in play on the dialog
* @return QString of the chosen path
* Prompts user to choose a file name and path as to where to save a file.
* Returns a QString of the path and file name or empty string if user cancels
......@@ -825,7 +825,7 @@ void ResourceWidget::slotReadyRead()
* If the download has failed with AuthenticationRequiredError then it requests a new access token via the refresh token method
* and then the download process will retry.
* If the download fails for other reasons this reports an error and clears out the access token from memory.
* If the user requests the file import again it will request a login to free sound again and the download might suceed on this second try
* If the user requests the file import again it will request a login to free sound again and the download might succeed on this second try
*/
void ResourceWidget::DownloadRequestFinished(QNetworkReply *reply)
{
......
......@@ -38,9 +38,9 @@ class OAuth2;
/**
\brief This is the window that appears from Project>Online Resources
* In the Online Resources window the user can choose from different online resouces such as Freesound Audio Library, Archive.org Video
* In the Online Resources window the user can choose from different online resources such as Freesound Audio Library, Archive.org Video
* Library and Open clip Art Graphic Library.
* Depending on which of these is selected the resourcewidget will instansiate a FreeSound, ArchiveOrg or OpenClipArt
* Depending on which of these is selected the resourcewidget will instantiate a FreeSound, ArchiveOrg or OpenClipArt
* class that will deal with the searching and parsing of the results for the different on line resource libraries
*/
......
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