summaryrefslogtreecommitdiffstats
path: root/kmail/configuredialog_p.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/configuredialog_p.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/configuredialog_p.h')
-rw-r--r--kmail/configuredialog_p.h125
1 files changed, 81 insertions, 44 deletions
diff --git a/kmail/configuredialog_p.h b/kmail/configuredialog_p.h
index f12c39ba1..b1c34379a 100644
--- a/kmail/configuredialog_p.h
+++ b/kmail/configuredialog_p.h
@@ -78,12 +78,13 @@ namespace Kleo {
class NewIdentityDialog : public KDialogBase
{
Q_OBJECT
+ TQ_OBJECT
public:
enum DuplicateMode { Empty, ControlCenter, ExistingEntry };
NewIdentityDialog( const TQStringList & identities,
- TQWidget *parent=0, const char *name=0, bool modal=true );
+ TQWidget *tqparent=0, const char *name=0, bool modal=true );
TQString identityName() const { return mLineEdit->text(); }
TQString duplicateIdentity() const { return mComboBox->currentText(); }
@@ -108,10 +109,10 @@ private:
struct LanguageItem
{
LanguageItem() {}
- LanguageItem( const TQString & language, const TQString & reply=TQString::null,
- const TQString & replyAll=TQString::null,
- const TQString & forward=TQString::null,
- const TQString & indentPrefix=TQString::null ) :
+ LanguageItem( const TQString & language, const TQString & reply=TQString(),
+ const TQString & replyAll=TQString(),
+ const TQString & forward=TQString(),
+ const TQString & indentPrefix=TQString() ) :
mLanguage( language ), mReply( reply ), mReplyAll( replyAll ),
mForward( forward ), mIndentPrefix( indentPrefix ) {}
@@ -123,9 +124,10 @@ typedef TQValueList<LanguageItem> LanguageItemList;
class NewLanguageDialog : public KDialogBase
{
Q_OBJECT
+ TQ_OBJECT
public:
- NewLanguageDialog( LanguageItemList & suppressedLangs, TQWidget *parent=0,
+ NewLanguageDialog( LanguageItemList & suppressedLangs, TQWidget *tqparent=0,
const char *name=0, bool modal=true );
TQString language() const;
@@ -134,12 +136,13 @@ class NewLanguageDialog : public KDialogBase
};
-class LanguageComboBox : public QComboBox
+class LanguageComboBox : public TQComboBox
{
Q_OBJECT
+ TQ_OBJECT
public:
- LanguageComboBox( bool rw, TQWidget *parent=0, const char *name=0 );
+ LanguageComboBox( bool rw, TQWidget *tqparent=0, const char *name=0 );
int insertLanguage( const TQString & language );
TQString language() const;
void setLanguage( const TQString & language );
@@ -153,8 +156,9 @@ class LanguageComboBox : public QComboBox
class ProfileDialog : public KDialogBase {
Q_OBJECT
+ TQ_OBJECT
public:
- ProfileDialog( TQWidget * parent=0, const char * name=0, bool modal=false );
+ ProfileDialog( TQWidget * tqparent=0, const char * name=0, bool modal=false );
signals:
void profileSelected( KConfig * profile );
@@ -174,9 +178,10 @@ private:
#include <kdialog.h>
class ConfigModule : public KCModule {
Q_OBJECT
+ TQ_OBJECT
public:
- ConfigModule( TQWidget * parent=0, const char * name=0 )
- : KCModule ( parent, name )
+ ConfigModule( TQWidget * tqparent=0, const char * name=0 )
+ : KCModule ( tqparent, name )
{}
~ConfigModule() {}
@@ -201,9 +206,10 @@ signals:
// Individual tab of a ConfigModuleWithTabs
class ConfigModuleTab : public TQWidget {
Q_OBJECT
+ TQ_OBJECT
public:
- ConfigModuleTab( TQWidget *parent=0, const char* name=0 )
- :TQWidget( parent, name )
+ ConfigModuleTab( TQWidget *tqparent=0, const char* name=0 )
+ :TQWidget( tqparent, name )
{}
~ConfigModuleTab() {}
void load();
@@ -235,8 +241,9 @@ private:
*/
class ConfigModuleWithTabs : public ConfigModule {
Q_OBJECT
+ TQ_OBJECT
public:
- ConfigModuleWithTabs( TQWidget * parent=0, const char * name=0 );
+ ConfigModuleWithTabs( TQWidget * tqparent=0, const char * name=0 );
~ConfigModuleWithTabs() {}
// don't reimplement any of those methods
@@ -262,8 +269,9 @@ private:
class KDE_EXPORT IdentityPage : public ConfigModule {
Q_OBJECT
+ TQ_OBJECT
public:
- IdentityPage( TQWidget * parent=0, const char * name=0 );
+ IdentityPage( TQWidget * tqparent=0, const char * name=0 );
~IdentityPage() {}
TQString helpAnchor() const;
@@ -312,8 +320,9 @@ private: // data members
// subclasses: one class per tab:
class AccountsPageSendingTab : public ConfigModuleTab {
Q_OBJECT
+ TQ_OBJECT
public:
- AccountsPageSendingTab( TQWidget * parent=0, const char * name=0 );
+ AccountsPageSendingTab( TQWidget * tqparent=0, const char * name=0 );
TQString helpAnchor() const;
void save();
@@ -349,8 +358,9 @@ private:
class AccountsPageReceivingTab : public ConfigModuleTab {
Q_OBJECT
+ TQ_OBJECT
public:
- AccountsPageReceivingTab( TQWidget * parent=0, const char * name=0 );
+ AccountsPageReceivingTab( TQWidget * tqparent=0, const char * name=0 );
~AccountsPageReceivingTab();
TQString helpAnchor() const;
void save();
@@ -393,8 +403,9 @@ private:
class KDE_EXPORT AccountsPage : public ConfigModuleWithTabs {
Q_OBJECT
+ TQ_OBJECT
public:
- AccountsPage( TQWidget * parent=0, const char * name=0 );
+ AccountsPage( TQWidget * tqparent=0, const char * name=0 );
TQString helpAnchor() const;
@@ -420,8 +431,9 @@ private:
class AppearancePageFontsTab : public ConfigModuleTab {
Q_OBJECT
+ TQ_OBJECT
public:
- AppearancePageFontsTab( TQWidget * parent=0, const char * name=0 );
+ AppearancePageFontsTab( TQWidget * tqparent=0, const char * name=0 );
TQString helpAnchor() const;
void save();
@@ -447,8 +459,9 @@ private:
class AppearancePageColorsTab : public ConfigModuleTab {
Q_OBJECT
+ TQ_OBJECT
public:
- AppearancePageColorsTab( TQWidget * parent=0, const char * name=0 );
+ AppearancePageColorsTab( TQWidget * tqparent=0, const char * name=0 );
TQString helpAnchor() const;
void save();
@@ -468,8 +481,9 @@ private:
class AppearancePageLayoutTab : public ConfigModuleTab {
Q_OBJECT
+ TQ_OBJECT
public:
- AppearancePageLayoutTab( TQWidget * parent=0, const char * name=0 );
+ AppearancePageLayoutTab( TQWidget * tqparent=0, const char * name=0 );
TQString helpAnchor() const;
void save();
@@ -490,8 +504,9 @@ private: // data
class AppearancePageHeadersTab : public ConfigModuleTab {
Q_OBJECT
+ TQ_OBJECT
public:
- AppearancePageHeadersTab( TQWidget * parent=0, const char * name=0 );
+ AppearancePageHeadersTab( TQWidget * tqparent=0, const char * name=0 );
TQString helpAnchor() const;
@@ -516,8 +531,9 @@ private: // data
class AppearancePageReaderTab : public ConfigModuleTab {
Q_OBJECT
+ TQ_OBJECT
public:
- AppearancePageReaderTab( TQWidget * parent=0, const char * name=0 );
+ AppearancePageReaderTab( TQWidget * tqparent=0, const char * name=0 );
TQString helpAnchor() const;
@@ -547,8 +563,9 @@ private: // data
class AppearancePageSystemTrayTab : public ConfigModuleTab {
Q_OBJECT
+ TQ_OBJECT
public:
- AppearancePageSystemTrayTab( TQWidget * parent=0, const char * name=0 );
+ AppearancePageSystemTrayTab( TQWidget * tqparent=0, const char * name=0 );
TQString helpAnchor() const;
@@ -565,8 +582,9 @@ private: // data
class KDE_EXPORT AppearancePage : public ConfigModuleWithTabs {
Q_OBJECT
+ TQ_OBJECT
public:
- AppearancePage( TQWidget * parent=0, const char * name=0 );
+ AppearancePage( TQWidget * tqparent=0, const char * name=0 );
TQString helpAnchor() const;
@@ -595,8 +613,9 @@ private:
class ComposerPageGeneralTab : public ConfigModuleTab {
Q_OBJECT
+ TQ_OBJECT
public:
- ComposerPageGeneralTab( TQWidget * parent=0, const char * name=0 );
+ ComposerPageGeneralTab( TQWidget * tqparent=0, const char * name=0 );
TQString helpAnchor() const;
void save();
@@ -628,8 +647,9 @@ private:
class ComposerPagePhrasesTab : public ConfigModuleTab {
Q_OBJECT
+ TQ_OBJECT
public:
- ComposerPagePhrasesTab( TQWidget * parent=0, const char * name=0 );
+ ComposerPagePhrasesTab( TQWidget * tqparent=0, const char * name=0 );
TQString helpAnchor() const;
void save();
@@ -659,8 +679,9 @@ private:
class ComposerPageTemplatesTab : public ConfigModuleTab {
Q_OBJECT
+ TQ_OBJECT
public:
- ComposerPageTemplatesTab( TQWidget * parent=0, const char * name=0 );
+ ComposerPageTemplatesTab( TQWidget * tqparent=0, const char * name=0 );
TQString helpAnchor() const;
void save();
@@ -676,8 +697,9 @@ private:
class ComposerPageCustomTemplatesTab : public ConfigModuleTab {
Q_OBJECT
+ TQ_OBJECT
public:
- ComposerPageCustomTemplatesTab( TQWidget * parent=0, const char * name=0 );
+ ComposerPageCustomTemplatesTab( TQWidget * tqparent=0, const char * name=0 );
TQString helpAnchor() const;
void save();
@@ -693,8 +715,9 @@ private:
class ComposerPageSubjectTab : public ConfigModuleTab {
Q_OBJECT
+ TQ_OBJECT
public:
- ComposerPageSubjectTab( TQWidget * parent=0, const char * name=0 );
+ ComposerPageSubjectTab( TQWidget * tqparent=0, const char * name=0 );
TQString helpAnchor() const;
void save();
@@ -711,8 +734,9 @@ private:
class ComposerPageCharsetTab : public ConfigModuleTab {
Q_OBJECT
+ TQ_OBJECT
public:
- ComposerPageCharsetTab( TQWidget * parent=0, const char * name=0 );
+ ComposerPageCharsetTab( TQWidget * tqparent=0, const char * name=0 );
TQString helpAnchor() const;
void save();
@@ -732,8 +756,9 @@ private:
class ComposerPageHeadersTab : public ConfigModuleTab {
Q_OBJECT
+ TQ_OBJECT
public:
- ComposerPageHeadersTab( TQWidget * parent=0, const char * name=0 );
+ ComposerPageHeadersTab( TQWidget * tqparent=0, const char * name=0 );
TQString helpAnchor() const;
void save();
@@ -764,8 +789,9 @@ private:
class ComposerPageAttachmentsTab : public ConfigModuleTab {
Q_OBJECT
+ TQ_OBJECT
public:
- ComposerPageAttachmentsTab( TQWidget * parent=0, const char * name=0 );
+ ComposerPageAttachmentsTab( TQWidget * tqparent=0, const char * name=0 );
TQString helpAnchor() const;
void save();
@@ -785,8 +811,9 @@ private:
class KDE_EXPORT ComposerPage : public ConfigModuleWithTabs {
Q_OBJECT
+ TQ_OBJECT
public:
- ComposerPage( TQWidget * parent=0, const char * name=0 );
+ ComposerPage( TQWidget * tqparent=0, const char * name=0 );
TQString helpAnchor() const;
@@ -819,8 +846,9 @@ private:
class SecurityPageGeneralTab : public ConfigModuleTab {
Q_OBJECT
+ TQ_OBJECT
public:
- SecurityPageGeneralTab( TQWidget * parent=0, const char * name=0 );
+ SecurityPageGeneralTab( TQWidget * tqparent=0, const char * name=0 );
TQString helpAnchor() const;
void save();
@@ -844,8 +872,9 @@ private:
class SecurityPageComposerCryptoTab : public ConfigModuleTab {
Q_OBJECT
+ TQ_OBJECT
public:
- SecurityPageComposerCryptoTab( TQWidget * parent=0, const char * name=0 );
+ SecurityPageComposerCryptoTab( TQWidget * tqparent=0, const char * name=0 );
TQString helpAnchor() const;
@@ -863,8 +892,9 @@ private:
class SecurityPageWarningTab : public ConfigModuleTab {
Q_OBJECT
+ TQ_OBJECT
public:
- SecurityPageWarningTab( TQWidget * parent=0, const char * name=0 );
+ SecurityPageWarningTab( TQWidget * tqparent=0, const char * name=0 );
TQString helpAnchor() const;
@@ -885,9 +915,10 @@ private:
class SecurityPageSMimeTab : public ConfigModuleTab, public DCOPObject {
Q_OBJECT
+ TQ_OBJECT
K_DCOP
public:
- SecurityPageSMimeTab( TQWidget * parent=0, const char * name=0 );
+ SecurityPageSMimeTab( TQWidget * tqparent=0, const char * name=0 );
~SecurityPageSMimeTab();
TQString helpAnchor() const;
@@ -912,8 +943,9 @@ private:
class SecurityPageCryptPlugTab : public ConfigModuleTab
{
Q_OBJECT
+ TQ_OBJECT
public:
- SecurityPageCryptPlugTab( TQWidget * parent = 0, const char* name = 0 );
+ SecurityPageCryptPlugTab( TQWidget * tqparent = 0, const char* name = 0 );
~SecurityPageCryptPlugTab();
TQString helpAnchor() const;
@@ -930,8 +962,9 @@ private:
class KDE_EXPORT SecurityPage : public ConfigModuleWithTabs {
Q_OBJECT
+ TQ_OBJECT
public:
- SecurityPage( TQWidget * parent=0, const char * name=0 );
+ SecurityPage( TQWidget * tqparent=0, const char * name=0 );
TQString helpAnchor() const;
@@ -961,8 +994,9 @@ private:
class MiscPageFolderTab : public ConfigModuleTab {
Q_OBJECT
+ TQ_OBJECT
public:
- MiscPageFolderTab( TQWidget * parent=0, const char * name=0 );
+ MiscPageFolderTab( TQWidget * tqparent=0, const char * name=0 );
void save();
TQString helpAnchor() const;
@@ -991,8 +1025,9 @@ private:
class MiscPageGroupwareTab : public ConfigModuleTab {
Q_OBJECT
+ TQ_OBJECT
public:
- MiscPageGroupwareTab( TQWidget * parent=0, const char * name=0 );
+ MiscPageGroupwareTab( TQWidget * tqparent=0, const char * name=0 );
void save();
TQString helpAnchor() const;
@@ -1032,8 +1067,9 @@ private:
class KDE_EXPORT MiscPage : public ConfigModuleWithTabs {
Q_OBJECT
+ TQ_OBJECT
public:
- MiscPage( TQWidget * parent=0, const char * name=0 );
+ MiscPage( TQWidget * tqparent=0, const char * name=0 );
TQString helpAnchor() const;
typedef MiscPageFolderTab FolderTab;
@@ -1052,8 +1088,9 @@ private:
class ListView : public KListView {
Q_OBJECT
+ TQ_OBJECT
public:
- ListView( TQWidget *parent=0, const char *name=0, int visibleItem=10 );
+ ListView( TQWidget *tqparent=0, const char *name=0, int visibleItem=10 );
void resizeColums();
void setVisibleItem( int visibleItem, bool updateSize=true );