summaryrefslogtreecommitdiffstats
path: root/knotes/knote.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:53:50 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:53:50 +0000
commit7be55ffa061c026e35e2d6a0effe1161ddb0d41f (patch)
tree8474f9b444b2756228600050f07a7ff25de532b2 /knotes/knote.h
parentf587f20a6d09f1729dd0a8c1cd8ee0110aec7451 (diff)
downloadtdepim-7be55ffa061c026e35e2d6a0effe1161ddb0d41f.tar.gz
tdepim-7be55ffa061c026e35e2d6a0effe1161ddb0d41f.zip
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdepim@1157655 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
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;