diff options
Diffstat (limited to 'src/modules/eventeditor')
| -rw-r--r-- | src/modules/eventeditor/eventeditor.cpp | 12 | ||||
| -rw-r--r-- | src/modules/eventeditor/eventeditor.h | 4 | ||||
| -rw-r--r-- | src/modules/eventeditor/libkvieventeditor.cpp | 4 |
3 files changed, 10 insertions, 10 deletions
diff --git a/src/modules/eventeditor/eventeditor.cpp b/src/modules/eventeditor/eventeditor.cpp index 39662582b..ea71b625f 100644 --- a/src/modules/eventeditor/eventeditor.cpp +++ b/src/modules/eventeditor/eventeditor.cpp @@ -359,7 +359,7 @@ void KviEventEditor::saveLastEditedItem() m_pLastEditedItem->m_szBuffer = tmp; } -void KviEventEditor::currentItemChanged(QTreeWidgetItem * it,QTreeWidgetItem *prev) +void KviEventEditor::currentItemChanged(QTreeWidgetItem * it,QTreeWidgetItem *) { __range_valid(m_bOneTimeSetupDone); saveLastEditedItem(); @@ -371,7 +371,7 @@ void KviEventEditor::currentItemChanged(QTreeWidgetItem * it,QTreeWidgetItem *pr m_pEditor->setEnabled(false); return; } - + if(it->parent()) { m_pLastEditedItem = (KviEventHandlerTreeWidgetItem *)it; @@ -549,7 +549,7 @@ QPixmap * KviEventEditorWindow::myIconPtr() return g_pIconManager->getSmallIcon(KVI_SMALLICON_EVENT); } -void KviEventEditorWindow::resizeEvent(QResizeEvent *e) +void KviEventEditorWindow::resizeEvent(QResizeEvent *) { int hght = m_pBase->sizeHint().height(); m_pEditor->setGeometry(0,0,width(),height()- hght); @@ -577,12 +577,12 @@ void KviEventEditorWindow::fillCaptionBuffers() m_szHtmlInactiveCaption += p3; } -void KviEventEditorWindow::getConfigGroupName(KviStr &szName) +void KviEventEditorWindow::getConfigGroupName(QString &szName) { szName = "eventeditor"; } -void KviEventEditorWindow::saveProperties(KviConfig *cfg) +void KviEventEditorWindow::saveProperties(KviConfig *) //cfg { /* #ifdef COMPILE_SCRIPTTOOLBAR @@ -593,7 +593,7 @@ void KviEventEditorWindow::saveProperties(KviConfig *cfg) */ } -void KviEventEditorWindow::loadProperties(KviConfig *cfg) +void KviEventEditorWindow::loadProperties(KviConfig *) //cfg { /* #ifdef COMPILE_SCRIPTTOOLBAR diff --git a/src/modules/eventeditor/eventeditor.h b/src/modules/eventeditor/eventeditor.h index 51c0b77fb..0133f504d 100644 --- a/src/modules/eventeditor/eventeditor.h +++ b/src/modules/eventeditor/eventeditor.h @@ -61,7 +61,7 @@ public: public: const int & cursorPosition(){return m_cPos; }; void setCursorPosition(const int &cPos){debug ("set cursor to %d",cPos); m_cPos = cPos; }; - + void setName(const QString &szName); QString name() const { return m_szName; }; void setEnabled(const bool bEnabled); @@ -125,7 +125,7 @@ protected: virtual QPixmap * myIconPtr(); virtual void fillCaptionBuffers(); virtual void resizeEvent(QResizeEvent *e); - virtual void getConfigGroupName(KviStr &szName); + virtual void getConfigGroupName(QString &szName); virtual void saveProperties(KviConfig *); virtual void loadProperties(KviConfig *); protected slots: diff --git a/src/modules/eventeditor/libkvieventeditor.cpp b/src/modules/eventeditor/libkvieventeditor.cpp index b0b9d2ba6..630348929 100644 --- a/src/modules/eventeditor/libkvieventeditor.cpp +++ b/src/modules/eventeditor/libkvieventeditor.cpp @@ -66,12 +66,12 @@ static bool eventeditor_module_init(KviModule * m) return true; } -static bool eventeditor_module_can_unload(KviModule * m) +static bool eventeditor_module_can_unload(KviModule *) { return (g_pEventEditorWindow == 0); } -static bool eventeditor_module_cleanup(KviModule *m) +static bool eventeditor_module_cleanup(KviModule *) { if(g_pEventEditorWindow)delete g_pEventEditorWindow; g_pEventEditorWindow = 0; |
