func:重命名功能完成。

This commit is contained in:
2025-11-16 19:23:59 +08:00
parent 466b012b4f
commit e24223b32b
8 changed files with 215 additions and 16 deletions

View File

@@ -27,6 +27,29 @@ enum class SortMethod {
SMD_BY_SIZE_ASC,
};
class WaitOper : public WaitThread
{
public:
WaitOper(QObject* parent = nullptr);
public:
void run() override;
void SetType(const QString& sendType, const QString& ansType);
void SetPath(const QString& stra, const QString& strb, const QString& type);
InfoMsg GetMsg() const;
virtual void interrupCheck();
virtual void recvFrame(QSharedPointer<FrameBuffer> frame);
private:
bool recvMsg_{};
InfoMsg infoMsg_{};
QString sendStrType_{};
QString ansStrType_{};
QString stra_;
QString strb_;
QString type_;
};
class FileManager : public QWidget
{
Q_OBJECT
@@ -58,13 +81,12 @@ private:
void CopyFullPath();
void ShowProperties();
void UpDown();
private:
void OperNewFolder();
void OperDelete();
void OperRename();
void WaitMsg();
public slots:
void evtHome();
void evtFile();