author | zautrix <zautrix> | 2005-01-17 15:26:56 (UTC) |
---|---|---|
committer | zautrix <zautrix> | 2005-01-17 15:26:56 (UTC) |
commit | 1525820e30e14de83a15533a3c67aa2756a544f4 (patch) (unidiff) | |
tree | cb8083c4675c874b5cac9355acc4d746077b6692 /kaddressbook/viewmanager.h | |
parent | 214b82c86bd5365d7a5fc786c8c9c7231ec6dc77 (diff) | |
download | kdepimpi-1525820e30e14de83a15533a3c67aa2756a544f4.zip kdepimpi-1525820e30e14de83a15533a3c67aa2756a544f4.tar.gz kdepimpi-1525820e30e14de83a15533a3c67aa2756a544f4.tar.bz2 |
AB fixes
-rw-r--r-- | kaddressbook/viewmanager.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/kaddressbook/viewmanager.h b/kaddressbook/viewmanager.h index dff9998..ab5d372 100644 --- a/kaddressbook/viewmanager.h +++ b/kaddressbook/viewmanager.h | |||
@@ -105,48 +105,49 @@ class ViewManager : public QWidget | |||
105 | 105 | ||
106 | signals: | 106 | signals: |
107 | /** | 107 | /** |
108 | Emitted whenever the user selects an entry in the view. | 108 | Emitted whenever the user selects an entry in the view. |
109 | */ | 109 | */ |
110 | void selected( const QString &uid ); | 110 | void selected( const QString &uid ); |
111 | void deleteRequest( ); | 111 | void deleteRequest( ); |
112 | 112 | ||
113 | /** | 113 | /** |
114 | Emitted whenever the user activates an entry in the view. | 114 | Emitted whenever the user activates an entry in the view. |
115 | */ | 115 | */ |
116 | void executed( const QString &uid ); | 116 | void executed( const QString &uid ); |
117 | 117 | ||
118 | /** | 118 | /** |
119 | Emitted whenever the address book is modified in some way. | 119 | Emitted whenever the address book is modified in some way. |
120 | */ | 120 | */ |
121 | void modified(); | 121 | void modified(); |
122 | 122 | ||
123 | /** | 123 | /** |
124 | Emitted whenever a url is dragged on a view. | 124 | Emitted whenever a url is dragged on a view. |
125 | */ | 125 | */ |
126 | void urlDropped( const KURL& ); | 126 | void urlDropped( const KURL& ); |
127 | 127 | ||
128 | private slots: | 128 | private slots: |
129 | void selectView( const QString &name ); | ||
129 | void setActiveView( const QString &name ); | 130 | void setActiveView( const QString &name ); |
130 | void setActiveFilter( int index ); | 131 | void setActiveFilter( int index ); |
131 | void configureFilters(); | 132 | void configureFilters(); |
132 | 133 | ||
133 | private: | 134 | private: |
134 | void createViewFactories(); | 135 | void createViewFactories(); |
135 | QStringList filterNames() const; | 136 | QStringList filterNames() const; |
136 | int filterPosition( const QString &name ) const; | 137 | int filterPosition( const QString &name ) const; |
137 | QStringList viewNames() const; | 138 | QStringList viewNames() const; |
138 | int viewPosition( const QString &name ) const; | 139 | int viewPosition( const QString &name ) const; |
139 | void initActions(); | 140 | void initActions(); |
140 | void initGUI(); | 141 | void initGUI(); |
141 | 142 | ||
142 | KABCore *mCore; | 143 | KABCore *mCore; |
143 | 144 | ||
144 | Filter mCurrentFilter; | 145 | Filter mCurrentFilter; |
145 | Filter::List mFilterList; | 146 | Filter::List mFilterList; |
146 | 147 | ||
147 | QDict<KAddressBookView> mViewDict; | 148 | QDict<KAddressBookView> mViewDict; |
148 | QDict<ViewFactory> mViewFactoryDict; | 149 | QDict<ViewFactory> mViewFactoryDict; |
149 | QStringList mViewNameList; | 150 | QStringList mViewNameList; |
150 | 151 | ||
151 | QWidgetStack *mViewWidgetStack; | 152 | QWidgetStack *mViewWidgetStack; |
152 | KAddressBookView *mActiveView; | 153 | KAddressBookView *mActiveView; |