summaryrefslogtreecommitdiffstats
path: root/kmail/recipientseditor.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-04-13 00:46:47 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-04-13 00:46:47 +0000
commit67e29a054cfcb1b0d2fe6b0a316cf6b3eec087b7 (patch)
tree5f52a9eada2e9f3654fc327d7c14dfef570a6ecb /kmail/recipientseditor.h
parent2ee4bf4fd5eff93b2fbef0ff8e8063edffc5da5c (diff)
downloadtdepim-67e29a054cfcb1b0d2fe6b0a316cf6b3eec087b7.tar.gz
tdepim-67e29a054cfcb1b0d2fe6b0a316cf6b3eec087b7.zip
Initial conversion of kdepim to TQt
This will probably require some tweaking before it will build under Qt4, however Qt3 builds are OK. Any alterations this commit makes to kdepim behaviour under Qt3 are unintentional and should be fixed. git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdepim@1227832 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
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 e6b7718b0..4e2e9069d 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();