Commit d3de17f5 authored by Rohit Yadav's avatar Rohit Yadav

ShareOnInternet.h/cpp: Rename VideoData to AbstractVideoData.

parent 93039335
...@@ -119,7 +119,7 @@ ShareOnInternet::authFinished() ...@@ -119,7 +119,7 @@ ShareOnInternet::authFinished()
/*On Finish, extract out the auth token and upload a test video */ /*On Finish, extract out the auth token and upload a test video */
disconnect( m_service, SIGNAL(authOver()), this, SLOT(authFinished()) ); disconnect( m_service, SIGNAL(authOver()), this, SLOT(authFinished()) );
VideoData videoData = getVideoData(); AbstractVideoData videoData = getVideoData();
m_service->setVideoParameters( m_fileName, videoData ); m_service->setVideoParameters( m_fileName, videoData );
...@@ -201,10 +201,10 @@ ShareOnInternet::getPassword() const ...@@ -201,10 +201,10 @@ ShareOnInternet::getPassword() const
return m_ui.password->text(); return m_ui.password->text();
} }
VideoData AbstractVideoData
ShareOnInternet::getVideoData() const ShareOnInternet::getVideoData() const
{ {
VideoData data; AbstractVideoData data;
data.title = m_ui.title->text(); data.title = m_ui.title->text();
data.category = m_ui.category->currentText().split(" & ").at( 0 ); data.category = m_ui.category->currentText().split(" & ").at( 0 );
......
...@@ -27,7 +27,7 @@ ...@@ -27,7 +27,7 @@
#include "ui_ShareOnInternet.h" #include "ui_ShareOnInternet.h"
class AbstractSharingService; class AbstractSharingService;
class VideoData; class AbstractVideoData;
class ShareOnInternet : public QDialog class ShareOnInternet : public QDialog
{ {
...@@ -45,7 +45,7 @@ class ShareOnInternet : public QDialog ...@@ -45,7 +45,7 @@ class ShareOnInternet : public QDialog
QString getUsername() const; QString getUsername() const;
QString getPassword() const; QString getPassword() const;
VideoData getVideoData() const; AbstractVideoData getVideoData() const;
void setVideoFile( QString& fileName ); void setVideoFile( QString& fileName );
......
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