summaryrefslogtreecommitdiffstats
path: root/korganizer/koeditorgeneral.h
diff options
context:
space:
mode:
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;
};