summaryrefslogtreecommitdiffstats
path: root/kate/app/katefileselector.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:33:34 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:33:34 +0000
commitc663b6440964f6ac48027143ac9e63298991f9d0 (patch)
tree6d8b0c5a5f9db1ee16acf98b1397cea9126b281d /kate/app/katefileselector.h
parenta061f7191beebb0e4a3b0c0a7c534ec5f22f2dc7 (diff)
downloadtdebase-c663b6440964f6ac48027143ac9e63298991f9d0.tar.gz
tdebase-c663b6440964f6ac48027143ac9e63298991f9d0.zip
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdebase@1157639 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kate/app/katefileselector.h')
-rw-r--r--kate/app/katefileselector.h44
1 files changed, 22 insertions, 22 deletions
diff --git a/kate/app/katefileselector.h b/kate/app/katefileselector.h
index 0bab4c257..442d3101e 100644
--- a/kate/app/katefileselector.h
+++ b/kate/app/katefileselector.h
@@ -25,11 +25,11 @@
#include "katedocmanager.h"
#include <kate/document.h>
-#include <qvbox.h>
+#include <tqvbox.h>
#include <kfile.h>
#include <kurl.h>
#include <ktoolbar.h>
-#include <qframe.h>
+#include <tqframe.h>
class KateMainWindow;
class KateViewManager;
@@ -50,7 +50,7 @@ class KateFileSelectorToolBar: public KToolBar
{
Q_OBJECT
public:
- KateFileSelectorToolBar(QWidget *parent);
+ KateFileSelectorToolBar(TQWidget *parent);
virtual ~KateFileSelectorToolBar();
virtual void setMovingEnabled( bool b );
@@ -60,13 +60,13 @@ class KateFileSelectorToolBarParent: public QFrame
{
Q_OBJECT
public:
- KateFileSelectorToolBarParent(QWidget *parent);
+ KateFileSelectorToolBarParent(TQWidget *parent);
~KateFileSelectorToolBarParent();
void setToolBar(KateFileSelectorToolBar *tb);
private:
KateFileSelectorToolBar *m_tb;
protected:
- virtual void resizeEvent ( QResizeEvent * );
+ virtual void resizeEvent ( TQResizeEvent * );
};
class KateFileSelector : public QVBox
@@ -80,35 +80,35 @@ class KateFileSelector : public QVBox
enum AutoSyncEvent { DocumentChanged=1, GotVisible=2 };
KateFileSelector( KateMainWindow *mainWindow=0, KateViewManager *viewManager=0,
- QWidget * parent = 0, const char * name = 0 );
+ TQWidget * parent = 0, const char * name = 0 );
~KateFileSelector();
- void readConfig( KConfig *, const QString & );
- void writeConfig( KConfig *, const QString & );
+ void readConfig( KConfig *, const TQString & );
+ void writeConfig( KConfig *, const TQString & );
void setupToolbar( KConfig * );
void setView( KFile::FileView );
KDirOperator *dirOperator(){ return dir; }
KActionCollection *actionCollection() { return mActionCollection; };
public slots:
- void slotFilterChange(const QString&);
+ void slotFilterChange(const TQString&);
void setDir(KURL);
- void setDir( const QString& url ) { setDir( KURL( url ) ); };
+ void setDir( const TQString& url ) { setDir( KURL( url ) ); };
void kateViewChanged();
void selectorViewChanged( KFileView * );
private slots:
void cmbPathActivated( const KURL& u );
- void cmbPathReturnPressed( const QString& u );
+ void cmbPathReturnPressed( const TQString& u );
void dirUrlEntered( const KURL& u );
void dirFinishedLoading();
void setActiveDocumentDir();
void btnFilterClick();
protected:
- void focusInEvent( QFocusEvent * );
- void showEvent( QShowEvent * );
- bool eventFilter( QObject *, QEvent * );
+ void focusInEvent( TQFocusEvent * );
+ void showEvent( TQShowEvent * );
+ bool eventFilter( TQObject *, TQEvent * );
void initialDirChangeHack();
private:
@@ -119,15 +119,15 @@ class KateFileSelector : public QVBox
KDirOperator * dir;
class KAction *acSyncDir;
KHistoryCombo * filter;
- class QToolButton *btnFilter;
+ class TQToolButton *btnFilter;
KateMainWindow *mainwin;
KateViewManager *viewmanager;
- QString lastFilter;
+ TQString lastFilter;
int autoSyncEvents; // enabled autosync events
- QString waitingUrl; // maybe display when we gets visible
- QString waitingDir;
+ TQString waitingUrl; // maybe display when we gets visible
+ TQString waitingDir;
};
/* TODO anders
@@ -146,7 +146,7 @@ class KateFileSelector : public QVBox
class KFSConfigPage : public Kate::ConfigPage {
Q_OBJECT
public:
- KFSConfigPage( QWidget* parent=0, const char *name=0, KateFileSelector *kfs=0);
+ KFSConfigPage( TQWidget* parent=0, const char *name=0, KateFileSelector *kfs=0);
virtual ~KFSConfigPage() {};
virtual void apply();
@@ -160,9 +160,9 @@ class KFSConfigPage : public Kate::ConfigPage {
KateFileSelector *fileSelector;
KActionSelector *acSel;
- class QSpinBox *sbPathHistLength, *sbFilterHistLength;
- class QCheckBox *cbSyncActive, *cbSyncShow;
- class QCheckBox *cbSesLocation, *cbSesFilter;
+ class TQSpinBox *sbPathHistLength, *sbFilterHistLength;
+ class TQCheckBox *cbSyncActive, *cbSyncShow;
+ class TQCheckBox *cbSesLocation, *cbSesFilter;
bool m_changed;
};