Files
transmission/qt/RelocateDialog.h
Charles Kerr 070a7f2ffc refactor: use snake_case field naming in qt client (#1262)
* refactor: use snake_case field naming in qt client

* fix: some missed symbols

* chore: make uncrustify happy

* fixup! refactor: use snake_case field naming in qt client
2020-05-27 16:53:12 -05:00

43 lines
748 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.
*
*/
#pragma once
#include "BaseDialog.h"
#include "Typedefs.h"
#include "ui_RelocateDialog.h"
class Session;
class TorrentModel;
class RelocateDialog : public BaseDialog
{
Q_OBJECT
public:
RelocateDialog(Session&, TorrentModel const&, torrent_ids_t const& ids, QWidget* parent = nullptr);
virtual ~RelocateDialog() = default;
private:
QString newLocation() const;
private slots:
void onSetLocation();
void onMoveToggled(bool);
private:
Session& session_;
torrent_ids_t const ids_;
Ui::RelocateDialog ui_;
static bool move_flag_;
};