summaryrefslogtreecommitdiffstats
path: root/src/MainWindow.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/MainWindow.cpp')
-rw-r--r--src/MainWindow.cpp15
1 files changed, 1 insertions, 14 deletions
diff --git a/src/MainWindow.cpp b/src/MainWindow.cpp
index 242797d..c3c6f1c 100644
--- a/src/MainWindow.cpp
+++ b/src/MainWindow.cpp
@@ -31,7 +31,6 @@
///-- #include "UiGuiSettingsDialog.h"
///-- #include "UiGuiHighlighter.h"
///-- #include "IndentHandler.h"
-///-- #include "UpdateCheckDialog.h"
///--
#include <tqpixmap.h>
#include <tqaction.h>
@@ -83,7 +82,7 @@ MainWindow::MainWindow(TQString file2OpenOnStart, TQWidget *parent) :
///- _highlighter(NULL), _textEditVScrollBar(NULL), _aboutDialog(NULL), _aboutDialogGraphicsView(
///- NULL), _settingsDialog(NULL), _encodingActionGroup(NULL), _saveEncodedActionGroup(NULL),
///- _highlighterActionGroup(NULL), _uiGuiTranslator(NULL), _qTTranslator(NULL), _toolBarWidget(
-///- NULL), _indentHandler(NULL), _updateCheckDialog(NULL), _textEditLineColumnInfoLabel(NULL)
+///- NULL), _indentHandler(NULL), _textEditLineColumnInfoLabel(NULL)
{
///-- // Init of some variables.
///-- _sourceCodeChanged = false;
@@ -140,14 +139,6 @@ MainWindow::MainWindow(TQString file2OpenOnStart, TQWidget *parent) :
///--
///-- updateSourceView();
///--
-///-- // Check if a newer version is available but only if the setting for that is enabled and today not
-///-- // already a check has been done.
-///-- if (_settings->getValueByName("CheckForUpdate").toBool() &&
-///-- TQDate::currentDate() != _settings->getValueByName("LastUpdateCheck").toDate())
-///-- {
-///-- _updateCheckDialog->checkForUpdate();
-///-- }
-///--
///-- // Enable accept dropping of files.
///-- setAcceptDrops(true);
}
@@ -218,8 +209,6 @@ void MainWindow::initMainWindow()
///-- // -------------------------------
///-- _currentEncoding = _settings->getValueByName("encoding").toString();
///--
-///-- _updateCheckDialog = new UpdateCheckDialog(_settings, this);
-///--
///-- // Register the load last file setting in the menu to the _settings object.
///-- _settings->registerObjectProperty(actionLoadLastOpenedFileOnStartup, "checked",
///-- "loadLastSourceCodeFileOnStartup");
@@ -237,8 +226,6 @@ void MainWindow::initMainWindow()
connect(actionSaveSourceFileAs, SIGNAL(activated()), this, SLOT(saveasSourceFileDialog()));
connect(actionExportPDF, SIGNAL(activated()), this, SLOT(exportToPDF()));
connect(actionExportHTML, SIGNAL(activated()), this, SLOT(exportToHTML()));
-///-- connect(_mainWindowForm->actionCheck_for_update, SIGNAL(triggered()), _updateCheckDialog,
-///-- SLOT(checkForUpdateAndShowDialog()));
///-- connect(actionShowLog, SIGNAL(activated()),
///-- debugging::TSLogger::getInstance(), SLOT(show()));
///--