diff options
Diffstat (limited to 'src/view.h')
-rw-r--r-- | src/view.h | 28 |
1 files changed, 15 insertions, 13 deletions
@@ -14,8 +14,8 @@ #include <kstatusbar.h> #include <kurl.h> #include <kxmlguiclient.h> -#include <qguardedptr.h> -#include <qpixmap.h> +#include <tqguardedptr.h> +#include <tqpixmap.h> class DCOPObject; class Document; @@ -24,11 +24,12 @@ class KTechlab; class View; class ViewContainer; class ViewIface; -class QVBoxLayout; +class TQVBoxLayout; class ViewStatusBar : public KStatusBar { Q_OBJECT + TQ_OBJECT public: ViewStatusBar( View *view ); @@ -48,26 +49,27 @@ public slots: protected: View *p_view; - QLabel* m_modifiedLabel; + TQLabel* m_modifiedLabel; KSqueezedTextLabel* m_fileNameLabel; - QPixmap m_modifiedPixmap; - QPixmap m_unmodifiedPixmap; + TQPixmap m_modifiedPixmap; + TQPixmap m_unmodifiedPixmap; }; /** @author David Saxton */ -class View : public QWidget, public KXMLGUIClient +class View : public TQWidget, public KXMLGUIClient { Q_OBJECT + TQ_OBJECT public: View( Document *document, ViewContainer *viewContainer, uint viewAreaId, const char *name = 0 ); virtual ~View(); - KAction * action( const QString & name ) const; + KAction * action( const TQString & name ) const; bool isFocused() const { return b_isFocused; } /** - * Pointer to the parent document + * Pointer to the tqparent document */ Document *document() const { return m_pDocument; } /** @@ -76,7 +78,7 @@ public: DCOPObject * dcopObject() const; /** * Returns the dcop suffix for this view - a unique ID for the current the - * view within all views associated with the parent document. DCOP name + * view within all views associated with the tqparent document. DCOP name * will become "View#docID#viewID". */ unsigned dcopID() const { return m_dcopID; } @@ -141,13 +143,13 @@ signals: void viewUnfocused(); protected: - QGuardedPtr<Document> m_pDocument; + TQGuardedPtr<Document> m_pDocument; KTechlab * p_ktechlab; - QGuardedPtr<ViewContainer> p_viewContainer; + TQGuardedPtr<ViewContainer> p_viewContainer; uint m_viewAreaId; bool b_isFocused; ViewStatusBar *m_statusBar; - QVBoxLayout *m_layout; + TQVBoxLayout *m_layout; ViewIface * m_pViewIface; unsigned m_dcopID; }; |