summaryrefslogtreecommitdiffstats
path: root/korganizer/koeditorgeneral.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 /korganizer/koeditorgeneral.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 'korganizer/koeditorgeneral.h')
-rw-r--r--korganizer/koeditorgeneral.h60
1 files changed, 30 insertions, 30 deletions
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 <libkcal/alarm.h>
-#include <qlineedit.h>
+#include <tqlineedit.h>
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;
};