@ -59,7 +59,7 @@ class StatusBar;
@@ -59,7 +59,7 @@ class StatusBar;
class GUI : public QMainWindow , private Ui : : MainWindow {
Q_OBJECT
private :
private :
// Bittorrent
Bittorrent * BTSession ;
QList < QPair < QTorrentHandle , QString > > unauthenticated_trackers ; // Still needed?
@ -93,7 +93,7 @@ class GUI : public QMainWindow, private Ui::MainWindow{
@@ -93,7 +93,7 @@ class GUI : public QMainWindow, private Ui::MainWindow{
// Misc
QLocalServer * localServer ;
protected slots :
protected slots :
// GUI related slots
void dropEvent ( QDropEvent * event ) ;
void dragEnterEvent ( QDragEnterEvent * event ) ;
@ -130,7 +130,6 @@ class GUI : public QMainWindow, private Ui::MainWindow{
@@ -130,7 +130,6 @@ class GUI : public QMainWindow, private Ui::MainWindow{
void addTorrent ( QString path ) ;
void addUnauthenticatedTracker ( QPair < QTorrentHandle , QString > tracker ) ;
void processDownloadedFiles ( QString path , QString url ) ;
void downloadFromURLList ( const QStringList & urls ) ;
void finishedTorrent ( QTorrentHandle & h ) const ;
// Options slots
void on_actionOptions_triggered ( ) ;
@ -139,18 +138,19 @@ class GUI : public QMainWindow, private Ui::MainWindow{
@@ -139,18 +138,19 @@ class GUI : public QMainWindow, private Ui::MainWindow{
void on_actionDownload_from_URL_triggered ( ) ;
public slots :
public slots :
void trackerAuthenticationRequired ( QTorrentHandle & h ) ;
void setTabText ( int index , QString text ) const ;
void showNotificationBaloon ( QString title , QString msg ) const ;
void downloadFromURLList ( const QStringList & urls ) ;
protected :
protected :
void closeEvent ( QCloseEvent * ) ;
void showEvent ( QShowEvent * ) ;
bool event ( QEvent * event ) ;
void displayRSSTab ( bool enable ) ;
public :
public :
// Construct / Destruct
GUI ( QWidget * parent = 0 , QStringList torrentCmdLine = QStringList ( ) ) ;
~ GUI ( ) ;