summaryrefslogtreecommitdiffstats
path: root/parts/fileselector/fileselector_widget.h
diff options
context:
space:
mode:
Diffstat (limited to 'parts/fileselector/fileselector_widget.h')
-rw-r--r--parts/fileselector/fileselector_widget.h44
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;