* get the file name. There is no check for the existence of the file. */
static QString getTitleResourceFromName(const KUrl &projectUrl, const QString &titleName);
- /** @brief Returns clip out position. */
- int outPoint() const;
+ /** @brief Returns clip duration. */
+ int duration() const;
/** @brief Retrieves a list of all available title templates. */
static void refreshTitleTemplates();
protected:
virtual void resizeEvent(QResizeEvent * event);
+ virtual void keyPressEvent(QKeyEvent *e);
+ virtual QSize sizeHint() const;
private:
/** @brief Updates the displayed X/Y coordinates. */
void updateCoordinates(QGraphicsItem *i);
- /** @brief Updates the displayed width/height values. */
+ /** @brief Updates the displayed width/height/zindex values. */
void updateDimension(QGraphicsItem *i);
/** @brief Updates the displayed rotation/zoom values. Changes values of rotation/zoom GUI elements. */
void selectItems(int itemType);
/** @brief Appends the shortcut of a QAction to a tooltip text */
- QString getTooltipWithShortcut(const QString text, QAction *button);
+ QString getTooltipWithShortcut(const QString& text, QAction *button);
public slots:
void slotNewText(QGraphicsTextItem *tt);