Changed: #1302 Fix typos in comments/code.

--HG--
branch : gsoc2011-worldeditorqt
hg/feature/sse2
dnk-88 13 years ago
parent 55f7ee692f
commit c5dbe3cc82

@ -45,8 +45,6 @@ PrimitivesView::PrimitivesView(QWidget *parent)
connect(m_deleteAction, SIGNAL(triggered()), this, SLOT(deletePrimitives())); connect(m_deleteAction, SIGNAL(triggered()), this, SLOT(deletePrimitives()));
connect(this, SIGNAL(clicked(QModelIndex)), this, SLOT(clickedItem(QModelIndex)));
#ifdef Q_OS_DARWIN #ifdef Q_OS_DARWIN
setVerticalScrollMode(QAbstractItemView::ScrollPerPixel); setVerticalScrollMode(QAbstractItemView::ScrollPerPixel);
#endif #endif
@ -62,10 +60,6 @@ void PrimitivesView::setModel(PrimitivesTreeModel *model)
m_primitivesTreeModel = model; m_primitivesTreeModel = model;
} }
void PrimitivesView::clickedItem(const QModelIndex &index)
{
}
void PrimitivesView::deletePrimitives() void PrimitivesView::deletePrimitives()
{ {
QModelIndexList indexList = selectionModel()->selectedRows(); QModelIndexList indexList = selectionModel()->selectedRows();

@ -51,7 +51,6 @@ public:
virtual void setModel(PrimitivesTreeModel *model); virtual void setModel(PrimitivesTreeModel *model);
private Q_SLOTS: private Q_SLOTS:
void clickedItem(const QModelIndex &index);
void deletePrimitives(); void deletePrimitives();
void addNewPrimitive(int value); void addNewPrimitive(int value);
void generatePrimitives(int value); void generatePrimitives(int value);

@ -22,19 +22,19 @@ namespace WorldEditor
{ {
namespace Constants namespace Constants
{ {
const char * const WORLD_EDITOR_PLUGIN = "WorldEditor"; const char *const WORLD_EDITOR_PLUGIN = "WorldEditor";
//settings //settings
const char * const WORLD_EDITOR_SECTION = "WorldEditor"; const char *const WORLD_EDITOR_SECTION = "WorldEditor";
const char * const WORLD_WINDOW_STATE = "WorldWindowState"; const char *const WORLD_WINDOW_STATE = "WorldWindowState";
const char * const WORLD_WINDOW_GEOMETRY = "WorldWindowGeometry"; const char *const WORLD_WINDOW_GEOMETRY = "WorldWindowGeometry";
const char * const WORLD_EDITOR_CELL_SIZE = "WorldEditorCellSize"; const char *const WORLD_EDITOR_CELL_SIZE = "WorldEditorCellSize";
const char * const WORLD_EDITOR_SNAP = "WorldEditorSnap"; const char *const WORLD_EDITOR_SNAP = "WorldEditorSnap";
const char * const ZONE_SNAPSHOT_RES = "WorldEditorZoneSnapshotRes"; const char *const ZONE_SNAPSHOT_RES = "WorldEditorZoneSnapshotRes";
const char * const PRIMITIVE_CLASS_FILENAME = "WorldEditorPrimitiveClassFilename"; const char *const PRIMITIVE_CLASS_FILENAME = "WorldEditorPrimitiveClassFilename";
//resources //resources
const char * const ICON_WORLD_EDITOR = ":/icons/ic_nel_world_editor.png"; const char *const ICON_WORLD_EDITOR = ":/icons/ic_nel_world_editor.png";
} // namespace Constants } // namespace Constants

Loading…
Cancel
Save