Changeset 2367
- Timestamp:
- 03/01/08 17:11:52 (10 months ago)
- Location:
- vidalia/trunk
- Files:
-
- 3 modified
-
CHANGELOG (modified) (1 diff)
-
src/vidalia/config/configpagestack.cpp (modified) (1 diff)
-
src/vidalia/config/configpagestack.h (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
vidalia/trunk/CHANGELOG
r2341 r2367 29 29 o Don't let users save an empty string for a Tor executable in the Settings 30 30 dialog. 31 o Apply the changes for settings pages in the same order in which the pages 32 appear in the Settings dialog. The only two pages for which this matters 33 are the 'Network' and 'Sharing' pages. (Ticket #336) 31 34 o Old Jabber clients apparently use port 5223 for encrypted connections. So, 32 35 include that port as part of the "Instant Messaging" exit policy checkbox. -
vidalia/trunk/src/vidalia/config/configpagestack.cpp
r2362 r2367 57 57 } 58 58 59 /** Returns a list of all pages in the stack. The order of the pages in the 60 * returned QList is the same as the order in which the pages were initially 61 * added to the stack. */ 62 QList<ConfigPage *> 63 ConfigPageStack::pages() const 64 { 65 QList<ConfigPage *> pages; 66 for (int i = 0; i < count(); i++) 67 pages << dynamic_cast<ConfigPage *>(widget(i)); 68 return pages; 69 } 70 -
vidalia/trunk/src/vidalia/config/configpagestack.h
r2362 r2367 38 38 /** Sets the current config page index and checks its action. */ 39 39 void setCurrentIndex(int index); 40 41 /** Returns a list of all pages in the stack. The order of the pages in the 42 * returned QList is the same as the order in which the pages were 43 * initially added to the stack. */ 44 QList<ConfigPage *> pages() const; 40 45 41 /** Returns a list of all pages in the stack. */42 QList<ConfigPage*> pages() { return _pages.values(); }43 44 46 public slots: 45 47 /** Displays the page associated with the activated action. */
