QElectroTech  0.70
Public Member Functions | Private Slots | Private Attributes | List of all members
RenameDialog Class Reference

#include <renamedialog.h>

Public Member Functions

 RenameDialog (QString path, QWidget *parent=nullptr)
 
 ~RenameDialog () override
 
QString newName () const
 
QET::Action selectedAction () const
 

Private Slots

void on_lineEdit_textEdited (const QString &arg1)
 
void on_m_erase_pb_clicked ()
 
void on_m_rename_pb_clicked ()
 
void on_m_cancel_pb_clicked ()
 

Private Attributes

Ui::RenameDialog * ui
 
QString m_path
 
QString m_name
 
QString m_new_name
 
QET::Action m_action
 

Detailed Description

Definition at line 28 of file renamedialog.h.

Constructor & Destructor Documentation

◆ RenameDialog()

RenameDialog::RenameDialog ( QString  path,
QWidget *  parent = nullptr 
)
explicit

Definition at line 23 of file renamedialog.cpp.

References m_name, m_path, QET::Icons::tr, and ui.

◆ ~RenameDialog()

RenameDialog::~RenameDialog ( )
override

Definition at line 35 of file renamedialog.cpp.

References ui.

Member Function Documentation

◆ newName()

QString RenameDialog::newName ( ) const
inline

Definition at line 36 of file renamedialog.h.

References m_new_name.

Referenced by ECHSFileToFile::copy(), ECHSXmlToFile::copy(), and ECHSToXml::copy().

◆ on_lineEdit_textEdited

void RenameDialog::on_lineEdit_textEdited ( const QString &  arg1)
privateslot

Definition at line 40 of file renamedialog.cpp.

References m_name, and ui.

◆ on_m_cancel_pb_clicked

void RenameDialog::on_m_cancel_pb_clicked ( )
privateslot

Definition at line 62 of file renamedialog.cpp.

References QET::Abort, and m_action.

◆ on_m_erase_pb_clicked

void RenameDialog::on_m_erase_pb_clicked ( )
privateslot

Definition at line 48 of file renamedialog.cpp.

References QET::Erase, and m_action.

◆ on_m_rename_pb_clicked

void RenameDialog::on_m_rename_pb_clicked ( )
privateslot

Definition at line 54 of file renamedialog.cpp.

References m_action, m_new_name, m_path, QET::Rename, and ui.

◆ selectedAction()

QET::Action RenameDialog::selectedAction ( ) const
inline

Definition at line 37 of file renamedialog.h.

References m_action.

Member Data Documentation

◆ m_action

QET::Action RenameDialog::m_action
private

◆ m_name

QString RenameDialog::m_name
private

Definition at line 48 of file renamedialog.h.

Referenced by on_lineEdit_textEdited(), and RenameDialog().

◆ m_new_name

QString RenameDialog::m_new_name
private

Definition at line 49 of file renamedialog.h.

Referenced by newName(), and on_m_rename_pb_clicked().

◆ m_path

QString RenameDialog::m_path
private

Definition at line 47 of file renamedialog.h.

Referenced by on_m_rename_pb_clicked(), and RenameDialog().

◆ ui

Ui::RenameDialog* RenameDialog::ui
private

The documentation for this class was generated from the following files: