summaryrefslogtreecommitdiffstats
path: root/knotes/knote.h
diff options
context:
space:
mode:
Diffstat (limited to 'knotes/knote.h')
-rw-r--r--knotes/knote.h62
1 files changed, 31 insertions, 31 deletions
diff --git a/knotes/knote.h b/knotes/knote.h
index 0309f59d7..0f15bf4ba 100644
--- a/knotes/knote.h
+++ b/knotes/knote.h
@@ -21,11 +21,11 @@
#ifndef KNOTE_H
#define KNOTE_H
-#include <qstring.h>
-#include <qevent.h>
-#include <qframe.h>
-#include <qpoint.h>
-#include <qcolor.h>
+#include <tqstring.h>
+#include <tqevent.h>
+#include <tqframe.h>
+#include <tqpoint.h>
+#include <tqcolor.h>
#include <kconfig.h>
#include <kxmlguiclient.h>
@@ -48,37 +48,37 @@ namespace KCal {
}
-class KNote : public QFrame, virtual public KXMLGUIClient
+class KNote : public TQFrame, virtual public KXMLGUIClient
{
Q_OBJECT
public:
- KNote( QDomDocument buildDoc, KCal::Journal *journal, QWidget *parent = 0,
+ KNote( TQDomDocument buildDoc, KCal::Journal *journal, TQWidget *parent = 0,
const char *name = 0 );
~KNote();
void saveData();
void saveConfig() const;
- QString noteId() const;
+ TQString noteId() const;
- QString name() const;
- QString text() const;
- QString plainText() const;
+ TQString name() const;
+ TQString text() const;
+ TQString plainText() const;
- void setName( const QString& name );
- void setText( const QString& text );
+ void setName( const TQString& name );
+ void setText( const TQString& text );
- QColor fgColor() const;
- QColor bgColor() const;
- void setColor( const QColor& fg, const QColor& bg );
+ TQColor fgColor() const;
+ TQColor bgColor() const;
+ void setColor( const TQColor& fg, const TQColor& bg );
- void find( const QString& pattern, long options );
+ void find( const TQString& pattern, long options );
bool isModified() const;
- void sync( const QString& app );
- bool isNew( const QString& app ) const;
- bool isModified( const QString& app ) const;
+ void sync( const TQString& app );
+ bool isNew( const TQString& app ) const;
+ bool isModified( const TQString& app ) const;
static void setStyle( int style );
@@ -96,15 +96,15 @@ signals:
void sigFindFinished();
protected:
- virtual void drawFrame( QPainter* );
- virtual void showEvent( QShowEvent* );
- virtual void resizeEvent( QResizeEvent* );
- virtual void closeEvent( QCloseEvent* );
- virtual void dropEvent( QDropEvent* );
- virtual void dragEnterEvent( QDragEnterEvent* );
+ virtual void drawFrame( TQPainter* );
+ virtual void showEvent( TQShowEvent* );
+ virtual void resizeEvent( TQResizeEvent* );
+ virtual void closeEvent( TQCloseEvent* );
+ virtual void dropEvent( TQDropEvent* );
+ virtual void dragEnterEvent( TQDragEnterEvent* );
- virtual bool event( QEvent* );
- virtual bool eventFilter( QObject*, QEvent* );
+ virtual bool event( TQEvent* );
+ virtual bool eventFilter( TQObject*, TQEvent* );
virtual bool focusNextPrevChild( bool );
@@ -125,7 +125,7 @@ private slots:
void slotPopupActionToDesktop( int id );
void slotFindNext();
- void slotHighlight( const QString& txt, int idx, int len );
+ void slotHighlight( const TQString& txt, int idx, int len );
void slotApplyConfig();
void slotUpdateKeepAboveBelow();
@@ -145,10 +145,10 @@ private:
void toDesktop( int desktop );
- QString toPlainText( const QString& );
+ TQString toPlainText( const TQString& );
private:
- QLabel *m_label, *m_pushpin, *m_fold;
+ TQLabel *m_label, *m_pushpin, *m_fold;
KNoteButton *m_button;
KToolBar *m_tool;
KNoteEdit *m_editor;