From c663b6440964f6ac48027143ac9e63298991f9d0 Mon Sep 17 00:00:00 2001 From: tpearson Date: Sat, 31 Jul 2010 19:33:34 +0000 Subject: Trinity Qt initial conversion git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdebase@1157639 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- kate/app/kateviewspace.h | 44 ++++++++++++++++++++++---------------------- 1 file changed, 22 insertions(+), 22 deletions(-) (limited to 'kate/app/kateviewspace.h') diff --git a/kate/app/kateviewspace.h b/kate/app/kateviewspace.h index a07b5f6da..b6a5a185e 100644 --- a/kate/app/kateviewspace.h +++ b/kate/app/kateviewspace.h @@ -26,9 +26,9 @@ #include #include -#include -#include -#include +#include +#include +#include #include class KVSSBSep; @@ -46,7 +46,7 @@ class KateVSStatusBar : public KStatusBar virtual ~KateVSStatusBar (); public slots: - void setStatus( int r, int c, int ovr, bool block, int mod, const QString &msg ); + void setStatus( int r, int c, int ovr, bool block, int mod, const TQString &msg ); void updateMod( bool ); /** * changed the modified icon according to document state. @@ -55,16 +55,16 @@ class KateVSStatusBar : public KStatusBar void modifiedChanged(); protected: - virtual bool eventFilter (QObject*,QEvent *); + virtual bool eventFilter (TQObject*,TQEvent *); virtual void showMenu (); private: - QLabel* m_lineColLabel; - QLabel* m_modifiedLabel; - QLabel* m_insertModeLabel; - QLabel* m_selectModeLabel; + TQLabel* m_lineColLabel; + TQLabel* m_modifiedLabel; + TQLabel* m_insertModeLabel; + TQLabel* m_selectModeLabel; KSqueezedTextLabel* m_fileNameLabel; - QPixmap m_modPm, m_modDiscPm, m_modmodPm, m_noPm; + TQPixmap m_modPm, m_modDiscPm, m_modmodPm, m_noPm; class KateViewSpace *m_viewSpace; }; @@ -76,11 +76,11 @@ class KateViewSpace : public QVBox Q_OBJECT public: - KateViewSpace(KateViewSpaceContainer *, QWidget* parent=0, const char* name=0); + KateViewSpace(KateViewSpaceContainer *, TQWidget* parent=0, const char* name=0); ~KateViewSpace(); bool isActiveSpace(); void setActive(bool b, bool showled=false); - QWidgetStack* stack; + TQWidgetStack* stack; void addView(Kate::View* v, bool show=true); void removeView(Kate::View* v); bool showView(Kate::View* v); @@ -88,29 +88,29 @@ class KateViewSpace : public QVBox Kate::View* currentView(); int viewCount() const { return mViewList.count(); } - void saveConfig (KConfig* config, int myIndex,const QString& viewConfGrp); - void restoreConfig ( class KateViewSpaceContainer *viewMan, KConfig* config, const QString &group ); + void saveConfig (KConfig* config, int myIndex,const TQString& viewConfGrp); + void restoreConfig ( class KateViewSpaceContainer *viewMan, KConfig* config, const TQString &group ); protected: - /** reimplemented to catch QEvent::PaletteChange, + /** reimplemented to catch TQEvent::PaletteChange, since we use a modified palette for the statusbar */ - bool event( QEvent * ); + bool event( TQEvent * ); private: bool mIsActiveSpace; KateVSStatusBar* mStatusBar; - QLabel* l; - QPixmap i_active; - QPixmap i_empty; - QPtrList mViewList; + TQLabel* l; + TQPixmap i_active; + TQPixmap i_empty; + TQPtrList mViewList; int mViewCount; KVSSBSep *sep; KateViewSpaceContainer *m_viewManager; - QString m_group; + TQString m_group; private slots: - void slotStatusChanged (Kate::View *view, int r, int c, int ovr, bool block, int mod, const QString &msg); + void slotStatusChanged (Kate::View *view, int r, int c, int ovr, bool block, int mod, const TQString &msg); public slots: void polish(); -- cgit v1.2.1