This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
%% The coverimage command is used to specify the filename of the optional cover | |
%% image. | |
\newcommand*\coverimage[1]{\def\@cover@image{#1}} | |
%% The covertext command can be used to specify the text printed on the back | |
%% cover. This text is inserted in a minipage environment and can therefore | |
%% include line breaks. | |
\newcommand\covertext[2][tudelft-white]{% | |
% \def\@subtitle{#1}% | |
\def\@covertextcolor{#1}% | |
\def\@cover@text{#2}} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <QCoreApplication> | |
#include <QFile> | |
#include <QDebug> | |
int main(int argc, char *argv[]) | |
{ | |
QCoreApplication a(argc, argv); | |
QFile file(QLatin1String("setup.inx")); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# - Returns a version string from Git | |
# | |
# These functions force a re-configure on each git commit so that you can | |
# trust the values of the variables in your build system. | |
# | |
# get_git_head_revision(<refspecvar> <hashvar> [<additional arguments to git describe> ...]) | |
# | |
# Returns the refspec and sha hash of the current head revision | |
# | |
# git_describe(<var> [<additional arguments to git describe> ...]) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
QTextStream stream(&file); | |
QString language = field("installation.language").toString(); | |
if (language == QLatin1String("English") || | |
language == QLatin1String("German") || | |
language == QLatin1String("French")) | |
{ | |
stream.setCodec(QTextCodec::codecForName("windows-1252")); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{$APPTYPE CONSOLE} | |
uses | |
sysutils,windows; | |
type | |
TFileMapping = class | |
FFileHandle, FMappingHandle: THandle; | |
FMappedAddr: pointer; | |
public | |
constructor Create(Filename:String); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/////////////////////////////////////////////////////////////////////////////////// | |
///[ sexy installshield decompiler for is6/is7 ]//////// | |
///[ (c) sn00pee 2002 ]//////// | |
/////////////////////////////////////////////////////////////////////////////////// | |
///[ starting decompilation ]//////// | |
/////////////////////////////////////////////////////////////////////////////////// | |
/////////////////////////////////////////////////////////////////////////////////// | |
// typedefs |
This file has been truncated, but you can view the full file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/*********************************************************************** | |
* InstallShield Decompiler v1.00 beta 16 | |
* by NEKOSUKI | |
* Script Version : InstallShield 6.00 | |
* Decompiled Time : Mon Nov 04 12:59:10 2013 | |
* Source Filename : Z:\home\pvdk\isd_beta16\setup.inx | |
* Source FileTime : Mon Nov 04 12:58:58 2013 | |
* Debug Symbol : E:\My Installations\Bloodmoon USVER\Script Files\Setup.dbg |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/apps/launcher/model/datafilesmodel.cpp b/apps/launcher/model/datafilesmodel.cpp | |
index e84dbe0..29980e5 100644 | |
--- a/apps/launcher/model/datafilesmodel.cpp | |
+++ b/apps/launcher/model/datafilesmodel.cpp | |
@@ -159,20 +159,43 @@ Qt::ItemFlags DataFilesModel::flags(const QModelIndex &index) const | |
if (!file) | |
return Qt::NoItemFlags; | |
- if (mAvailableFiles.contains(file->fileName())) { | |
- if (index.column() == 0) { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class QTextStream; | |
class QString; | |
template <class Map> | |
class SettingsBase | |
{ | |
public: | |
SettingsBase() {} | |
~SettingsBase() {} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
bool GraphicsSettings::readFile(QTextStream &stream) | |
{ | |
QString sectionPrefix; | |
QRegExp sectionRe("^\\[([^]]+)\\]"); | |
QRegExp keyRe("^([^=]+)\\s*=\\s*(.+)$"); | |
while (!stream.atEnd()) { | |
QString line = stream.readLine().simplified(); | |
if (line.isEmpty()) |
NewerOlder