mirror of
https://github.com/transmission/transmission
synced 2024-12-30 19:46:56 +00:00
971cc6d2d9
We don't currently (if ever) provide context help, so the button is useless. Moreover, on Windows 10 it's even larger than before and sometimes title text doesn't fit because of it.
46 lines
828 B
C++
46 lines
828 B
C++
/*
|
|
* This file Copyright (C) 2009-2015 Mnemosyne LLC
|
|
*
|
|
* It may be used under the GNU GPL versions 2 or 3
|
|
* or any future license endorsed by Mnemosyne LLC.
|
|
*
|
|
* $Id$
|
|
*/
|
|
|
|
#ifndef QTR_RELOCATE_DIALOG_H
|
|
#define QTR_RELOCATE_DIALOG_H
|
|
|
|
#include <QSet>
|
|
|
|
#include "BaseDialog.h"
|
|
|
|
#include "ui_RelocateDialog.h"
|
|
|
|
class Session;
|
|
class TorrentModel;
|
|
|
|
class RelocateDialog: public BaseDialog
|
|
{
|
|
Q_OBJECT
|
|
|
|
public:
|
|
RelocateDialog (Session&, const TorrentModel&, const QSet<int>& ids, QWidget * parent = nullptr);
|
|
virtual ~RelocateDialog () {}
|
|
|
|
private:
|
|
QString newLocation () const;
|
|
|
|
private slots:
|
|
void onSetLocation ();
|
|
void onMoveToggled (bool);
|
|
|
|
private:
|
|
Session& mySession;
|
|
const QSet<int> myIds;
|
|
|
|
Ui::RelocateDialog ui;
|
|
|
|
static bool myMoveFlag;
|
|
};
|
|
|
|
#endif // QTR_RELOCATE_DIALOG_H
|