summaryrefslogtreecommitdiffstats
path: root/kmail/recipientseditor.h
diff options
context:
space:
mode:
Diffstat (limited to 'kmail/recipientseditor.h')
-rw-r--r--kmail/recipientseditor.h40
1 files changed, 23 insertions, 17 deletions
diff --git a/kmail/recipientseditor.h b/kmail/recipientseditor.h
index e6b7718b..4e2e9069 100644
--- a/kmail/recipientseditor.h
+++ b/kmail/recipientseditor.h
@@ -18,8 +18,8 @@
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
As a special exception, permission is given to link this program
- with any edition of Qt, and distribute the resulting executable,
- without including the source code for Qt in the source distribution.
+ with any edition of TQt, and distribute the resulting executable,
+ without including the source code for TQt in the source distribution.
*/
#ifndef RECIPIENTSEDITOR_H
#define RECIPIENTSEDITOR_H
@@ -48,7 +48,7 @@ class Recipient
enum Type { To, Cc, Bcc, Undefined };
- Recipient( const TQString &email = TQString::null, Type type = To );
+ Recipient( const TQString &email = TQString(), Type type = To );
void setType( Type );
Type type() const;
@@ -69,11 +69,12 @@ class Recipient
Type mType;
};
-class RecipientComboBox : public QComboBox
+class RecipientComboBox : public TQComboBox
{
Q_OBJECT
+ TQ_OBJECT
public:
- RecipientComboBox( TQWidget *parent );
+ RecipientComboBox( TQWidget *tqparent );
signals:
void rightPressed();
@@ -85,9 +86,10 @@ class RecipientComboBox : public QComboBox
class RecipientLineEdit : public KMLineEdit
{
Q_OBJECT
+ TQ_OBJECT
public:
- RecipientLineEdit( TQWidget * parent ) :
- KMLineEdit( true, parent ) {}
+ RecipientLineEdit( TQWidget * tqparent ) :
+ KMLineEdit( true, tqparent ) {}
signals:
void deleteMe();
@@ -98,11 +100,12 @@ class RecipientLineEdit : public KMLineEdit
void keyPressEvent( TQKeyEvent *ev );
};
-class RecipientLine : public QWidget
+class RecipientLine : public TQWidget
{
Q_OBJECT
+ TQ_OBJECT
public:
- RecipientLine( TQWidget *parent );
+ RecipientLine( TQWidget *tqparent );
void setRecipient( const Recipient & );
Recipient recipient() const;
@@ -167,11 +170,12 @@ class RecipientLine : public QWidget
bool mModified;
};
-class RecipientsView : public QScrollView
+class RecipientsView : public TQScrollView
{
Q_OBJECT
+ TQ_OBJECT
public:
- RecipientsView( TQWidget *parent );
+ RecipientsView( TQWidget *tqparent );
TQSize tqminimumSizeHint() const;
TQSize tqsizeHint() const;
@@ -246,10 +250,10 @@ class RecipientsView : public QScrollView
KGlobalSettings::Completion mCompletionMode;
};
-class RecipientsToolTip : public QToolTip
+class RecipientsToolTip : public TQToolTip
{
public:
- RecipientsToolTip( RecipientsView *, TQWidget *parent );
+ RecipientsToolTip( RecipientsView *, TQWidget *tqparent );
protected:
void maybeTip( const TQPoint & p );
@@ -260,11 +264,12 @@ class RecipientsToolTip : public QToolTip
RecipientsView *mView;
};
-class SideWidget : public QWidget
+class SideWidget : public TQWidget
{
Q_OBJECT
+ TQ_OBJECT
public:
- SideWidget( RecipientsView *view, TQWidget *parent );
+ SideWidget( RecipientsView *view, TQWidget *tqparent );
~SideWidget();
RecipientsPicker* picker() const;
@@ -291,11 +296,12 @@ class SideWidget : public QWidget
mutable KWindowPositioner *mPickerPositioner;
};
-class RecipientsEditor : public QWidget
+class RecipientsEditor : public TQWidget
{
Q_OBJECT
+ TQ_OBJECT
public:
- RecipientsEditor( TQWidget *parent );
+ RecipientsEditor( TQWidget *tqparent );
~RecipientsEditor();
void clear();