Revert "transmission: update from 2.13 to 2.22"
[tomato.git] / release / src / router / transmission / qt / relocate.h
blob64eaf95ce28c111718a44aad49239b2134ea29e0
1 /*
2 * This file Copyright (C) Mnemosyne LLC
4 * This program is free software; you can redistribute it and/or modify
5 * it under the terms of the GNU General Public License version 2
6 * as published by the Free Software Foundation.
8 * http://www.gnu.org/licenses/old-licenses/gpl-2.0.html
10 * $Id: relocate.h 11092 2010-08-01 20:36:13Z charles $
13 #ifndef RELOCATE_DIALOG_H
14 #define RELOCATE_DIALOG_H
16 #include <QDialog>
17 #include <QSet>
18 #include <QString>
20 class QPushButton;
21 class QRadioButton;
22 class Session;
23 class Torrent;
24 class TorrentModel;
26 class RelocateDialog: public QDialog
28 Q_OBJECT
30 private:
31 QString myPath;
32 static bool myMoveFlag;
34 private:
35 Session & mySession;
36 TorrentModel& myModel;
37 QSet<int> myIds;
38 QPushButton * myDirButton;
39 QRadioButton * myMoveRadio;
41 private slots:
42 void onFileSelected( const QString& path );
43 void onDirButtonClicked( );
44 void onSetLocation( );
45 void onMoveToggled( bool );
47 public:
48 RelocateDialog( Session&, TorrentModel&, const QSet<int>& ids, QWidget * parent = 0 );
49 ~RelocateDialog( ) { }
52 #endif