diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2014-05-25 15:37:31 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2014-05-25 15:37:31 +0900 |
commit | 6392f5a9dfce2bf83617d49bb7f332181ec6004e (patch) | |
tree | ab69e390f7962b7e7dda1a3a64f035c61c751cf4 /parts/fileselector/fileselector_widget.h | |
parent | aba2788b428dc53243407902e9ccbb20b97a69fd (diff) | |
download | tdevelop-6392f5a9dfce2bf83617d49bb7f332181ec6004e.tar.gz tdevelop-6392f5a9dfce2bf83617d49bb7f332181ec6004e.zip |
Revert "Finish renaming tdevelop components"
This reverts commit 722ce1efbac31c61b1d4b13f7e075c9f311e3e73.
Diffstat (limited to 'parts/fileselector/fileselector_widget.h')
-rw-r--r-- | parts/fileselector/fileselector_widget.h | 44 |
1 files changed, 22 insertions, 22 deletions
diff --git a/parts/fileselector/fileselector_widget.h b/parts/fileselector/fileselector_widget.h index 1c30eadd..ef64f88c 100644 --- a/parts/fileselector/fileselector_widget.h +++ b/parts/fileselector/fileselector_widget.h @@ -29,8 +29,8 @@ #include <tqframe.h> #include <tdediroperator.h> -class TDevMainWindow; -class TDevPartController; +class KDevMainWindow; +class KDevPartController; class FileSelectorPart; class TDEActionCollection; class TDEActionSelector; @@ -57,39 +57,39 @@ namespace KTextEditor */ /* I think this fix for not moving toolbars is better */ -class TDevFileSelectorToolBar: public TDEToolBar +class KDevFileSelectorToolBar: public TDEToolBar { Q_OBJECT public: - TDevFileSelectorToolBar(TQWidget *parent); - virtual ~TDevFileSelectorToolBar(); + KDevFileSelectorToolBar(TQWidget *parent); + virtual ~KDevFileSelectorToolBar(); virtual void setMovingEnabled( bool b ); }; -class TDevFileSelectorToolBarParent: public TQFrame +class KDevFileSelectorToolBarParent: public TQFrame { Q_OBJECT public: - TDevFileSelectorToolBarParent(TQWidget *parent); - ~TDevFileSelectorToolBarParent(); - void setToolBar(TDevFileSelectorToolBar *tb); + KDevFileSelectorToolBarParent(TQWidget *parent); + ~KDevFileSelectorToolBarParent(); + void setToolBar(KDevFileSelectorToolBar *tb); private: - TDevFileSelectorToolBar *m_tb; + KDevFileSelectorToolBar *m_tb; protected: virtual void resizeEvent ( TQResizeEvent * ); }; -class TDevDirOperator: public KDirOperator +class KDevDirOperator: public KDirOperator { Q_OBJECT public: - TDevDirOperator(FileSelectorPart *part, const KURL &urlName=KURL(), TQWidget *parent=0, const char *name=0) + KDevDirOperator(FileSelectorPart *part, const KURL &urlName=KURL(), TQWidget *parent=0, const char *name=0) :KDirOperator(urlName, parent, name), m_part(part) { } @@ -101,7 +101,7 @@ private: FileSelectorPart *m_part; }; -class TDevFileSelector : public TQWidget +class KDevFileSelector : public TQWidget { Q_OBJECT @@ -112,15 +112,15 @@ public: /* When to sync to current document directory */ enum AutoSyncEvent { DocumentChanged=1, DocumentOpened=2, GotVisible=4 }; - TDevFileSelector( FileSelectorPart *part, TDevMainWindow *mainWindow=0, TDevPartController *partController=0, + KDevFileSelector( FileSelectorPart *part, KDevMainWindow *mainWindow=0, KDevPartController *partController=0, TQWidget * parent = 0, const char * name = 0 ); - ~TDevFileSelector(); + ~KDevFileSelector(); void readConfig( TDEConfig *, const TQString & ); void writeConfig( TDEConfig *, const TQString & ); void setupToolbar( TDEConfig * ); void setView( KFile::FileView ); - TDevDirOperator *dirOperator(){ return dir; } + KDevDirOperator *dirOperator(){ return dir; } TDEActionCollection *actionCollection() { return mActionCollection; }; public slots: @@ -146,18 +146,18 @@ protected: KURL activeDocumentUrl(); private: - class TDevFileSelectorToolBar *toolbar; + class KDevFileSelectorToolBar *toolbar; TDEActionCollection *mActionCollection; class KBookmarkHandler *bookmarkHandler; KURLComboBox *cmbPath; - TDevDirOperator * dir; + KDevDirOperator * dir; class TDEAction *acSyncDir; KHistoryCombo * filter; class TQToolButton *btnFilter; FileSelectorPart *m_part; - TDevMainWindow *mainwin; - TDevPartController *partController; + KDevMainWindow *mainwin; + KDevPartController *partController; TQString lastFilter; int autoSyncEvents; // enabled autosync events @@ -183,7 +183,7 @@ class KFSConfigPage : public TQWidget Q_OBJECT public: - KFSConfigPage( TQWidget* parent=0, const char *name=0, TDevFileSelector *kfs=0); + KFSConfigPage( TQWidget* parent=0, const char *name=0, KDevFileSelector *kfs=0); virtual ~KFSConfigPage() {}; public slots: @@ -194,7 +194,7 @@ public slots: private: void init(); - TDevFileSelector *fileSelector; + KDevFileSelector *fileSelector; bool bDirty; //class TQListBox *lbAvailableActions, *lbUsedActions; TDEActionSelector *acSel; |