Changeset 2981 for vidalia/trunk
- Timestamp:
- 08/17/08 01:49:08 (3 months ago)
- Location:
- vidalia/trunk/src/vidalia
- Files:
-
- 2 modified
-
vidalia.cpp (modified) (2 diffs)
-
vidalia.h (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
vidalia/trunk/src/vidalia/vidalia.cpp
r2362 r2981 341 341 void 342 342 Vidalia::createShortcut(const QKeySequence &key, QWidget *sender, 343 Q Widget *receiver, const char *slot)343 QObject *receiver, const char *slot) 344 344 { 345 345 QShortcut *s = new QShortcut(key, sender); … … 347 347 } 348 348 349 /** Creates and binds a shortcut such that when <b>key</b> is pressed in 350 * <b>sender</b>'s context, <b>receiver</b>'s <b>slot</b> will be called. */ 351 void 352 Vidalia::createShortcut(const QString &key, QWidget *sender, 353 QObject *receiver, const char *slot) 354 { 355 createShortcut(QKeySequence(key), sender, receiver, slot); 356 } -
vidalia/trunk/src/vidalia/vidalia.h
r2445 r2981 96 96 * <b>sender</b>'s context, <b>receiver</b>'s <b>slot</b> will be called. */ 97 97 static void createShortcut(const QKeySequence &key, QWidget *sender, 98 QWidget *receiver, const char *slot); 98 QObject *receiver, const char *slot); 99 100 /** Creates and binds a shortcut such that when <b>key</b> is pressed in 101 * <b>sender</b>'s context, <b>receiver</b>'s <b>slot</b> will be called. */ 102 static void createShortcut(const QString &key, QWidget *sender, 103 QObject *receiver, const char *slot); 99 104 100 105 signals:
