From 7be55ffa061c026e35e2d6a0effe1161ddb0d41f Mon Sep 17 00:00:00 2001 From: tpearson Date: Sat, 31 Jul 2010 19:53:50 +0000 Subject: Trinity Qt initial conversion git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdepim@1157655 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- korganizer/koeditorgeneral.h | 60 ++++++++++++++++++++++---------------------- 1 file changed, 30 insertions(+), 30 deletions(-) (limited to 'korganizer/koeditorgeneral.h') diff --git a/korganizer/koeditorgeneral.h b/korganizer/koeditorgeneral.h index b369c2389..c2d1867b9 100644 --- a/korganizer/koeditorgeneral.h +++ b/korganizer/koeditorgeneral.h @@ -24,7 +24,7 @@ #define KOEDITORGENERAL_H #include -#include +#include class QWidget; class QBoxLayout; @@ -50,13 +50,13 @@ class FocusLineEdit : public QLineEdit { Q_OBJECT public: - FocusLineEdit( QWidget *parent ); + FocusLineEdit( TQWidget *parent ); signals: void focusReceivedSignal(); protected: - void focusInEvent ( QFocusEvent *e ); + void focusInEvent ( TQFocusEvent *e ); private: bool mSkipFirst; @@ -66,14 +66,14 @@ class KOEditorGeneral : public QObject { Q_OBJECT public: - KOEditorGeneral (QObject* parent=0,const char* name=0); + KOEditorGeneral (TQObject* parent=0,const char* name=0); virtual ~KOEditorGeneral(); - void initHeader( QWidget *parent,QBoxLayout *topLayout ); - void initDescription(QWidget *,QBoxLayout *); - void initSecrecy(QWidget *,QBoxLayout *); - void initAlarm(QWidget *,QBoxLayout *); - void initAttachments(QWidget *,QBoxLayout *); + void initHeader( TQWidget *parent,TQBoxLayout *topLayout ); + void initDescription(TQWidget *,TQBoxLayout *); + void initSecrecy(TQWidget *,TQBoxLayout *); + void initAlarm(TQWidget *,TQBoxLayout *); + void initAttachments(TQWidget *,TQBoxLayout *); /** Set widgets to default values */ void setDefaults(bool allDay); @@ -88,16 +88,16 @@ class KOEditorGeneral : public QObject void enableAlarm( bool enable ); void toggleAlarm( bool on ); - void setSummary( const QString & ); - void setDescription( const QString & ); + void setSummary( const TQString & ); + void setDescription( const TQString & ); - QObject *typeAheadReceiver() const; + TQObject *typeAheadReceiver() const; public slots: - void setCategories(const QStringList &categories); + void setCategories(const TQStringList &categories); void selectCategories(); - void addAttachments( const QStringList &attachments, - const QStringList& mimeTypes = QStringList(), + void addAttachments( const TQStringList &attachments, + const TQStringList& mimeTypes = TQStringList(), bool inlineAttachment = false ); @@ -115,28 +115,28 @@ class KOEditorGeneral : public QObject protected: Alarm *alarmFromSimplePage() const; - QLineEdit *mSummaryEdit; - QLineEdit *mLocationEdit; - QLabel *mAttendeeSummaryLabel; - QLabel *mAlarmBell; - QWidgetStack *mAlarmStack; - QLabel *mAlarmInfoLabel; - QCheckBox *mAlarmButton; - QSpinBox *mAlarmTimeEdit; - QComboBox *mAlarmIncrCombo; - QPushButton *mAlarmEditButton; + TQLineEdit *mSummaryEdit; + TQLineEdit *mLocationEdit; + TQLabel *mAttendeeSummaryLabel; + TQLabel *mAlarmBell; + TQWidgetStack *mAlarmStack; + TQLabel *mAlarmInfoLabel; + TQCheckBox *mAlarmButton; + TQSpinBox *mAlarmTimeEdit; + TQComboBox *mAlarmIncrCombo; + TQPushButton *mAlarmEditButton; KTextEdit *mDescriptionEdit; - QLabel *mOwnerLabel; - QComboBox *mSecrecyCombo; - QPushButton *mCategoriesButton; + TQLabel *mOwnerLabel; + TQComboBox *mSecrecyCombo; + TQPushButton *mCategoriesButton; KSqueezedTextLabel *mCategoriesLabel; KOEditorAttachments *mAttachments; - QLabel *mResourceLabel; + TQLabel *mResourceLabel; enum AlarmStackPages { SimpleAlarmPage, AdvancedAlarmLabel }; private: - QStringList mCategories; + TQStringList mCategories; KCal::Alarm::List mAlarmList; }; -- cgit v1.2.1