diff options
| author | 2016-05-08 02:36:03 +0100 | |
|---|---|---|
| committer | 2016-05-08 02:37:37 +0100 | |
| commit | 5f0292c32b336be0bb279a7511a9ee37ba9df3fa (patch) | |
| tree | 28dbeb31c6c6aa730b2c79e904633148aff301cc /src/modules/codetester | |
| parent | cleanup: separators and spacing (diff) | |
| download | KVIrc-5f0292c32b336be0bb279a7511a9ee37ba9df3fa.tar.gz KVIrc-5f0292c32b336be0bb279a7511a9ee37ba9df3fa.tar.bz2 KVIrc-5f0292c32b336be0bb279a7511a9ee37ba9df3fa.zip | |
cleanup: remove more ancient commented code p3
Diffstat (limited to 'src/modules/codetester')
| -rw-r--r-- | src/modules/codetester/CodeTesterWindow.cpp | 20 |
1 files changed, 1 insertions, 19 deletions
diff --git a/src/modules/codetester/CodeTesterWindow.cpp b/src/modules/codetester/CodeTesterWindow.cpp index 30018012c..239ba71f2 100644 --- a/src/modules/codetester/CodeTesterWindow.cpp +++ b/src/modules/codetester/CodeTesterWindow.cpp @@ -50,7 +50,7 @@ CodeTesterWidget::CodeTesterWidget(QWidget * par) QGridLayout * g = new QGridLayout(this); m_pEditor = KviScriptEditor::createInstance(this); g->addWidget(m_pEditor, 0, 0, 1, 4); - //g->addMultiCellWidget(m_pEditor,0,0,0,3); + m_pExecuteButton = new QPushButton(__tr2qs_ctx("&Execute", "editor"), this); g->addWidget(m_pExecuteButton, 1, 3); connect(m_pExecuteButton, SIGNAL(clicked()), this, SLOT(execute())); @@ -114,26 +114,8 @@ void CodeTesterWindow::getConfigGroupName(QString & szName) void CodeTesterWindow::saveProperties(KviConfigurationFile *) //cfg { - /* -#ifdef COMPILE_SCRIPTTOOLBAR - cfg->writeEntry("Sizes",m_pEditor->sizes()); - cfg->writeEntry("LastRaw",m_pEditor->lastEditedRaw().ptr()); - //qDebug("LAST EDITED=%s",m_pEditor->lastEditedRaw().ptr()); -#endif // COMPILE_SCRIPTTOOLBAR -*/ } void CodeTesterWindow::loadProperties(KviConfigurationFile *) //cfg { - /* -#ifdef COMPILE_SCRIPTTOOLBAR - QValueList<int> def; - def.append(20); - def.append(80); - m_pEditor->setSizes(cfg->readIntListEntry("Sizes",def)); - KviCString tmp = cfg->readEntry("LastRaw",""); - m_pEditor->editRaw(tmp); - //qDebug("LAST EDITED WAS %s",tmp.ptr()); -#endif // COMPILE_SCRIPTTOOLBAR -*/ } |
