summaryrefslogtreecommitdiffstats
path: root/kaddressbook/extensionmanager.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 /kaddressbook/extensionmanager.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 'kaddressbook/extensionmanager.h')
-rw-r--r--kaddressbook/extensionmanager.h44
1 files changed, 22 insertions, 22 deletions
diff --git a/kaddressbook/extensionmanager.h b/kaddressbook/extensionmanager.h
index 5ecc725b3..44cf24c36 100644
--- a/kaddressbook/extensionmanager.h
+++ b/kaddressbook/extensionmanager.h
@@ -26,10 +26,10 @@
#include "extensionwidget.h"
-#include <qwidget.h>
-#include <qmap.h>
-#include <qptrlist.h>
-#include <qstringlist.h>
+#include <tqwidget.h>
+#include <tqmap.h>
+#include <tqptrlist.h>
+#include <tqstringlist.h>
class QSignalMapper;
class QWidgetStack;
@@ -43,12 +43,12 @@ class ExtensionData
{
public:
ExtensionData();
- typedef QValueList<ExtensionData> List;
+ typedef TQValueList<ExtensionData> List;
KToggleAction* action;
KAB::ExtensionWidget *widget;
- QString identifier;
- QString title;
+ TQString identifier;
+ TQString title;
int weight;
bool isDetailsExtension;
};
@@ -58,7 +58,7 @@ class ExtensionManager : public QObject
Q_OBJECT
public:
- ExtensionManager( QWidget *extensionBar, QWidgetStack *detailsStack, KAB::Core *core, QObject *parent, const char *name = 0 );
+ ExtensionManager( TQWidget *extensionBar, TQWidgetStack *detailsStack, KAB::Core *core, TQObject *parent, const char *name = 0 );
~ExtensionManager();
/**
@@ -82,7 +82,7 @@ class ExtensionManager : public QObject
*/
bool isQuickEditVisible() const;
- QWidget *activeDetailsWidget() const;
+ TQWidget *activeDetailsWidget() const;
public slots:
void setSelectionChanged();
@@ -90,29 +90,29 @@ class ExtensionManager : public QObject
signals:
- void detailsWidgetActivated( QWidget* widget );
- void detailsWidgetDeactivated( QWidget* widget );
+ void detailsWidgetActivated( TQWidget* widget );
+ void detailsWidgetDeactivated( TQWidget* widget );
void modified( const KABC::Addressee::List& );
- void deleted( const QStringList& );
+ void deleted( const TQStringList& );
private slots:
- void activationToggled( const QString &extid );
+ void activationToggled( const TQString &extid );
private:
void createExtensionWidgets();
- void setExtensionActive( const QString &extid, bool active );
+ void setExtensionActive( const TQString &extid, bool active );
private:
- QWidget *mExtensionBar;
+ TQWidget *mExtensionBar;
KAB::Core *mCore;
- QMap<QString, ExtensionData> mExtensionMap;
- QStringList mActiveExtensions;
- QSignalMapper *mMapper;
- QPtrList<KAction> mActionList;
+ TQMap<TQString, ExtensionData> mExtensionMap;
+ TQStringList mActiveExtensions;
+ TQSignalMapper *mMapper;
+ TQPtrList<KAction> mActionList;
KActionCollection *mActionCollection;
- QSplitter *mSplitter;
- QWidgetStack *mDetailsStack;
- QWidget *mActiveDetailsWidget;
+ TQSplitter *mSplitter;
+ TQWidgetStack *mDetailsStack;
+ TQWidget *mActiveDetailsWidget;
};
#endif