Diffstat (limited to 'noncore/apps/advancedfm/advancedfm.h') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/apps/advancedfm/advancedfm.h | 13 |
1 files changed, 10 insertions, 3 deletions
diff --git a/noncore/apps/advancedfm/advancedfm.h b/noncore/apps/advancedfm/advancedfm.h index 7ced056..42775ee 100644 --- a/noncore/apps/advancedfm/advancedfm.h +++ b/noncore/apps/advancedfm/advancedfm.h @@ -45,4 +45,5 @@ class QFile; class QListViewItem; class QLineEdit; + //class QPushButton; class QToolButton; @@ -117,5 +118,6 @@ protected: QGridLayout *tabLayout, *tabLayout_2, *tabLayout_3; QStringList remoteDirPathStringList, localDirPathStringList; - + QLineEdit *renameBox; + void init(); void initConnections(); @@ -150,6 +152,11 @@ protected slots: private: - QTimer menuTimer; - void startProcess(const QString &); + QString oldName; + QTimer menuTimer; + void startProcess(const QString &); + bool eventFilter( QObject * , QEvent * ); + void cancelRename(); + void doRename(QListView *); + void okRename(); private slots: void processEnded(); |