summaryrefslogtreecommitdiffstats
path: root/kaddressbook/extensionmanager.h
diff options
context:
space:
mode:
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