From d1dd5a23b58dd2063e43c996286a9453e0f5f1ad Mon Sep 17 00:00:00 2001 From: Flavio Tordini Date: Thu, 25 Jun 2009 17:34:07 +0200 Subject: [PATCH] Deleted videowidget class Created data dir --- CHANGES | 1 + TODO | 5 ++--- svg/tv.svg => data/minitube.svg | 0 minitube.pro | 3 +-- src/videowidget.cpp | 27 --------------------------- src/videowidget.h | 24 ------------------------ 6 files changed, 4 insertions(+), 56 deletions(-) rename svg/tv.svg => data/minitube.svg (100%) delete mode 100644 src/videowidget.cpp delete mode 100644 src/videowidget.h diff --git a/CHANGES b/CHANGES index 2973ab9..7f86748 100644 --- a/CHANGES +++ b/CHANGES @@ -3,6 +3,7 @@ - Unified (i.e. cool) toolbar on the Mac - Display title and description while loading the video - es_AR (argentin spanish) translation, thanks to Sergio Tocalini Joerg +- Keyboard shortcuts now work when in full screen mode 0.3 - June 15, 2009 - Can sort videos by relevance, date and popularity diff --git a/TODO b/TODO index 7b30f6e..66221db 100644 --- a/TODO +++ b/TODO @@ -3,12 +3,10 @@ - Always remember the playlist width - Investigate ways to ensure Minitube never ever stops playing - Truncate overflowing text in the playlist -- Crash occurring on stop/seach/stop/search - Hide the mouse cursor in full screen mode * Features -- Build system PREFIX thing -- Show buffering progress and title of the video +- Show buffering progress (when Phonon backends will work) - Windows build - Clear recent keywords - Video download @@ -17,6 +15,7 @@ - Mark playlist items that have errors - Settings: number of "Recent Keywords", Phonon settings - Accept YouTube URLs in the search box +- Accept any URL and scrape web pages searching for YouTube videos - Search autocomplete - Dragndrop on video widget - Controls in Fullscreen mode diff --git a/svg/tv.svg b/data/minitube.svg similarity index 100% rename from svg/tv.svg rename to data/minitube.svg diff --git a/minitube.pro b/minitube.pro index 65fc040..eb397e5 100755 --- a/minitube.pro +++ b/minitube.pro @@ -102,10 +102,9 @@ unix { icon32 \ icon128 translations.path = $$PKGDATADIR - translations.files += .qm/locale + translations.files += $$DESTDIR/locale desktop.path = $$DATADIR/applications desktop.files += minitube.desktop - # iconxpm.path = $$DATADIR/pixmaps # iconxpm.files += data/minitube.xpm iconsvg.path = $$DATADIR/icons/hicolor/scalable/apps diff --git a/src/videowidget.cpp b/src/videowidget.cpp deleted file mode 100644 index 1dffda5..0000000 --- a/src/videowidget.cpp +++ /dev/null @@ -1,27 +0,0 @@ -#include "videowidget.h" - -VideoWidget::VideoWidget(QWidget *parent) : Phonon::VideoWidget(parent) { - -} - -void VideoWidget::mouseDoubleClickEvent(QMouseEvent *event) { - switch(event->button()) { - case Qt::LeftButton: - emit doubleClicked(); - break; - case Qt::RightButton: - - break; - } -} - -void VideoWidget::mousePressEvent(QMouseEvent *event) { - switch(event->button()) { - case Qt::LeftButton: - - break; - case Qt::RightButton: - emit rightClicked(); - break; - } -} diff --git a/src/videowidget.h b/src/videowidget.h deleted file mode 100644 index 76ef108..0000000 --- a/src/videowidget.h +++ /dev/null @@ -1,24 +0,0 @@ -#ifndef VIDEOWIDGET_H -#define VIDEOWIDGET_H - -#include -#include - -class VideoWidget : public Phonon::VideoWidget { - - Q_OBJECT - -public: - VideoWidget(QWidget *parent); - -signals: - void doubleClicked(); - void rightClicked(); - -protected: - void mouseDoubleClickEvent(QMouseEvent *event); - void mousePressEvent(QMouseEvent *event); - -}; - -#endif // VIDEOWIDGET_H -- 2.39.5