diff options
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 ef64f88c..1c30eadd 100644 --- a/parts/fileselector/fileselector_widget.h +++ b/parts/fileselector/fileselector_widget.h @@ -29,8 +29,8 @@ #include <tqframe.h> #include <tdediroperator.h> -class KDevMainWindow; -class KDevPartController; +class TDevMainWindow; +class TDevPartController; class FileSelectorPart; class TDEActionCollection; class TDEActionSelector; @@ -57,39 +57,39 @@ namespace KTextEditor */ /* I think this fix for not moving toolbars is better */ -class KDevFileSelectorToolBar: public TDEToolBar +class TDevFileSelectorToolBar: public TDEToolBar { Q_OBJECT public: - KDevFileSelectorToolBar(TQWidget *parent); - virtual ~KDevFileSelectorToolBar(); + TDevFileSelectorToolBar(TQWidget *parent); + virtual ~TDevFileSelectorToolBar(); virtual void setMovingEnabled( bool b ); }; -class KDevFileSelectorToolBarParent: public TQFrame +class TDevFileSelectorToolBarParent: public TQFrame { Q_OBJECT public: - KDevFileSelectorToolBarParent(TQWidget *parent); - ~KDevFileSelectorToolBarParent(); - void setToolBar(KDevFileSelectorToolBar *tb); + TDevFileSelectorToolBarParent(TQWidget *parent); + ~TDevFileSelectorToolBarParent(); + void setToolBar(TDevFileSelectorToolBar *tb); private: - KDevFileSelectorToolBar *m_tb; + TDevFileSelectorToolBar *m_tb; protected: virtual void resizeEvent ( TQResizeEvent * ); }; -class KDevDirOperator: public KDirOperator +class TDevDirOperator: public KDirOperator { Q_OBJECT public: - KDevDirOperator(FileSelectorPart *part, const KURL &urlName=KURL(), TQWidget *parent=0, const char *name=0) + TDevDirOperator(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 KDevFileSelector : public TQWidget +class TDevFileSelector : public TQWidget { Q_OBJECT @@ -112,15 +112,15 @@ public: /* When to sync to current document directory */ enum AutoSyncEvent { DocumentChanged=1, DocumentOpened=2, GotVisible=4 }; - KDevFileSelector( FileSelectorPart *part, KDevMainWindow *mainWindow=0, KDevPartController *partController=0, + TDevFileSelector( FileSelectorPart *part, TDevMainWindow *mainWindow=0, TDevPartController *partController=0, TQWidget * parent = 0, const char * name = 0 ); - ~KDevFileSelector(); + ~TDevFileSelector(); void readConfig( TDEConfig *, const TQString & ); void writeConfig( TDEConfig *, const TQString & ); void setupToolbar( TDEConfig * ); void setView( KFile::FileView ); - KDevDirOperator *dirOperator(){ return dir; } + TDevDirOperator *dirOperator(){ return dir; } TDEActionCollection *actionCollection() { return mActionCollection; }; public slots: @@ -146,18 +146,18 @@ protected: KURL activeDocumentUrl(); private: - class KDevFileSelectorToolBar *toolbar; + class TDevFileSelectorToolBar *toolbar; TDEActionCollection *mActionCollection; class KBookmarkHandler *bookmarkHandler; KURLComboBox *cmbPath; - KDevDirOperator * dir; + TDevDirOperator * dir; class TDEAction *acSyncDir; KHistoryCombo * filter; class TQToolButton *btnFilter; FileSelectorPart *m_part; - KDevMainWindow *mainwin; - KDevPartController *partController; + TDevMainWindow *mainwin; + TDevPartController *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, KDevFileSelector *kfs=0); + KFSConfigPage( TQWidget* parent=0, const char *name=0, TDevFileSelector *kfs=0); virtual ~KFSConfigPage() {}; public slots: @@ -194,7 +194,7 @@ public slots: private: void init(); - KDevFileSelector *fileSelector; + TDevFileSelector *fileSelector; bool bDirty; //class TQListBox *lbAvailableActions, *lbUsedActions; TDEActionSelector *acSel; |