summaryrefslogtreecommitdiffstats
path: root/kaddressbook/viewmanager.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/viewmanager.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/viewmanager.h')
-rw-r--r--kaddressbook/viewmanager.h38
1 files changed, 19 insertions, 19 deletions
diff --git a/kaddressbook/viewmanager.h b/kaddressbook/viewmanager.h
index b74f025ee..4b37b10ba 100644
--- a/kaddressbook/viewmanager.h
+++ b/kaddressbook/viewmanager.h
@@ -24,8 +24,8 @@
#ifndef VIEWMANAGER_H
#define VIEWMANAGER_H
-#include <qdict.h>
-#include <qwidget.h>
+#include <tqdict.h>
+#include <tqwidget.h>
#include <kaddressbookview.h>
class QDropEvent;
@@ -52,7 +52,7 @@ class ViewManager : public QWidget
Q_OBJECT
public:
- ViewManager( KAB::Core *core, QWidget *parent, const char *name = 0 );
+ ViewManager( KAB::Core *core, TQWidget *parent, const char *name = 0 );
~ViewManager();
void restoreSettings();
@@ -60,8 +60,8 @@ class ViewManager : public QWidget
void unloadViews();
- QStringList selectedUids() const;
- QStringList selectedEmails() const;
+ TQStringList selectedUids() const;
+ TQStringList selectedEmails() const;
KABC::Addressee::List selectedAddressees() const;
void setFilterSelectionWidget( FilterSelectionWidget *wdg );
@@ -70,10 +70,10 @@ class ViewManager : public QWidget
KABC::Field::List viewFields() const;
public slots:
- void setSelected( const QString &uid = QString::null, bool selected = true );
+ void setSelected( const TQString &uid = TQString::null, bool selected = true );
void setFirstSelected( bool selected = true );
- void refreshView( const QString &uid = QString::null );
+ void refreshView( const TQString &uid = TQString::null );
void editView();
void deleteView();
void addView();
@@ -87,7 +87,7 @@ class ViewManager : public QWidget
This method will try to decode what was dropped, and if it was
a valid addressee, add it to the addressbook.
*/
- void dropped( QDropEvent* );
+ void dropped( TQDropEvent* );
/**
Called whenever the user attempts to start a drag in the view.
@@ -100,12 +100,12 @@ class ViewManager : public QWidget
/**
Emitted whenever the user selects an entry in the view.
*/
- void selected( const QString &uid );
+ void selected( const TQString &uid );
/**
Emitted whenever the user activates an entry in the view.
*/
- void executed( const QString &uid );
+ void executed( const TQString &uid );
/**
Emitted whenever the address book is modified in some way.
@@ -128,16 +128,16 @@ class ViewManager : public QWidget
void viewFieldsChanged();
private slots:
- void setActiveView( const QString &name );
+ void setActiveView( const TQString &name );
void setActiveFilter( int index );
void configureFilters();
private:
void createViewFactories();
- QStringList filterNames() const;
- int filterPosition( const QString &name ) const;
- QStringList viewNames() const;
- int viewPosition( const QString &name ) const;
+ TQStringList filterNames() const;
+ int filterPosition( const TQString &name ) const;
+ TQStringList viewNames() const;
+ int viewPosition( const TQString &name ) const;
void initActions();
void initGUI();
@@ -146,11 +146,11 @@ class ViewManager : public QWidget
Filter mCurrentFilter;
Filter::List mFilterList;
- QDict<KAddressBookView> mViewDict;
- QDict<ViewFactory> mViewFactoryDict;
- QStringList mViewNameList;
+ TQDict<KAddressBookView> mViewDict;
+ TQDict<ViewFactory> mViewFactoryDict;
+ TQStringList mViewNameList;
- QWidgetStack *mViewWidgetStack;
+ TQWidgetStack *mViewWidgetStack;
KAddressBookView *mActiveView;
KAction *mActionDeleteView;