Changeset 449 for trunk/src/gui/kernel/qdnd.cpp
- Timestamp:
- Jan 14, 2010, 10:03:47 AM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/gui/kernel/qdnd.cpp
r447 r449 274 274 if (actions == Qt::IgnoreAction) { 275 275 if (!str.isEmpty()) 276 str += " | ";277 str += "IgnoreAction";276 str += ; 277 str += ; 278 278 } 279 279 if (actions & Qt::LinkAction) { 280 280 if (!str.isEmpty()) 281 str += " | ";282 str += "LinkAction";281 str += ; 282 str += ; 283 283 } 284 284 if (actions & Qt::CopyAction) { 285 285 if (!str.isEmpty()) 286 str += " | ";287 str += "CopyAction";286 str += ; 287 str += ; 288 288 } 289 289 if (actions & Qt::MoveAction) { 290 290 if (!str.isEmpty()) 291 str += " | ";292 str += "MoveAction";291 str += ; 292 str += ; 293 293 } 294 294 if ((actions & Qt::TargetMoveAction) == Qt::TargetMoveAction ) { 295 295 if (!str.isEmpty()) 296 str += " | ";297 str += "TargetMoveAction";296 str += ; 297 str += ; 298 298 } 299 299 return str; … … 305 305 if (moderfies & Qt::ControlModifier) { 306 306 if (!str.isEmpty()) 307 str += " | ";308 str += Q t::ControlModifier;307 str += ; 308 str += Q; 309 309 } 310 310 if (moderfies & Qt::AltModifier) { 311 311 if (!str.isEmpty()) 312 str += " | ";313 str += Q t::AltModifier;312 str += ; 313 str += Q; 314 314 } 315 315 if (moderfies & Qt::ShiftModifier) { 316 316 if (!str.isEmpty()) 317 str += " | ";318 str += Q t::ShiftModifier;317 str += ; 318 str += Q; 319 319 } 320 320 return str; … … 414 414 #ifdef QDND_DEBUG 415 415 qDebug("QDragManager::defaultAction(Qt::DropActions possibleActions)"); 416 qDebug("keyboard modifiers : % s", KeyboardModifiersToString(modifiers).latin1());416 qDebug("keyboard modifiers : %()); 417 417 #endif 418 418 … … 453 453 454 454 #ifdef QDND_DEBUG 455 qDebug("possible actions : % s", dragActionsToString(possibleActions).latin1());455 qDebug("possible actions : %()); 456 456 #endif 457 457 … … 469 469 470 470 #ifdef QDND_DEBUG 471 qDebug("default action : % s", dragActionsToString(defaultAction).latin1());471 qDebug("default action : %()); 472 472 #endif 473 473
Note:
See TracChangeset
for help on using the changeset viewer.