search for: qstring

Displaying 17 results from an estimated 17 matches for "qstring".

Did you mean: string
2020 Nov 19
1
Learning to build applications
...tion.cpp In file included from src/exception.cpp:18:0: src/exception.h:41:11: error: ?underlying_type_t? in namespace ?std? does not name a type constexpr std::underlying_type_t<Enum> enum_cast (Enum obj_type) noexcept ^ src/exception.cpp: In constructor ?Exception::Exception(ErrorCode, const QString&, const QString&, int, Exception*, const QString&)?: src/exception.cpp:295:86: error: ?enum_cast? was not declared in this scope configureException(QApplication::translate("Exception",messages[enum_cast(error_code)][ErrorMessage].toStdString().c_str(),"", -1), ^ src/...
2007 Jul 13
0
KWD crashes when opening OOo
...ibqt-mt.so.3.3.7) ==31534== by 0x4CAFF07: QGPluginManager::addLibrary(QLibrary*) (in /usr/lib/libqt-mt.so.3.3.7) ==31534== Address 0x56CD158 is 40 bytes inside a block of size 42 alloc'd ==31534== at 0x4021A55: operator new[](unsigned) (vg_replace_malloc.c:195) ==31534== by 0x4CCAF10: QString::unicodeToLatin1(QChar const*, unsigned) (in /usr/lib/libqt-mt.so.3.3.7) ==31534== by 0x4CCB6BF: QString::latin1() const (in /usr/lib/libqt-mt.so.3.3.7) ==31534== by 0x4C90688: QLibraryPrivate::loadLibrary() (in /usr/lib/libqt-mt.so.3.3.7) ==31534== by 0x4CB50AA: QLibrary::load() (in /usr/...
2004 Nov 24
2
an R function to search on Prof. Baron's site
...nks to Prof. Baron's help on setting up the query string!): RSiteSearch <- function(string, restrict="Rhelp", format="long", sortby="score", matchesPerPage=10) { URL <- "http://finzi.psych.upenn.edu/cgi-bin/htsearch" qstring <- paste(URL, "?config=htdigrun1", sep="") ## replace spaces with "%20" in the query string <- paste("words=", gsub(" ", "%20", string), sep="") mpp <- paste("matchesperpage=", matchesPerPage, sep=&...
2005 Jan 24
3
cepstral integration with * using AGI?
Hi, I've looked at the Wiki for this, have seen the Swift.agi details, but has anyone got a current script for Cepstral and an example of integraton in * please? I'm a * and linux newbie, so please be gentle ;-) Thanks John
2004 Dec 23
1
searching Jonathan Baron's R Site
...t;,sep="&") if (res=="") res <- paste("idxname=Rhelp02a&idxname=Rhelp01&idxname=Rhelp00&", "idxname=functions&idxname=docs",sep="") res <- sub("^&+","",res) qstring <- paste(string, mpp, format, sortby, res, sep="&") browseURL(qstring) invisible(qstring) } -- Jonathan Baron, Professor of Psychology, University of Pennsylvania Home page: http://www.sas.upenn.edu/~baron
2006 Jun 29
1
write.table does not quote col.names properly (PR#9044)
...R (revision 38447) +++ write.table.R (working copy) @@ -86,9 +86,8 @@ if(!is.null(col.names)) { if(append) warning("appending column names to file") - if(length(quote)) - col.names <- paste("\"", gsub('"', qstring, col.names), - "\"", sep = "") + col.names <- paste("\"", gsub('"', qstring, col.names), + "\"", sep = "") writeLines(paste(col.names, collapse = s...
2005 Jan 14
1
how to produce 2-d color plots in R
Hello 'R' Users, I am very new on 'R', so excuse me if I ask something wrong. I have ASCII data and the colums of the data are looks like :- !------------------------- time,yr,mo,dy,hr,min,sec,lat,lon,ht,co2obs,sigma,co2model -- - -- !---------------------------- Each column has data value. Now I want to produce 2-d color maps, for example the plot should look like :- on
2007 Aug 13
0
[PATCH] Add _display when it's not a screen specific setting.
...-) diff --git a/settings-backend/kconfig_backend.cpp b/settings-backend/kconfig_backend.cpp index 196ed03..073da47 100644 --- a/settings-backend/kconfig_backend.cpp +++ b/settings-backend/kconfig_backend.cpp @@ -484,6 +484,8 @@ readSetting (CCSContext *c, group += "_screen"; group += QString::number (setting->screenNum); } + else + group += "_display"; cfg->setGroup (group); @@ -994,6 +996,8 @@ writeSetting (CCSContext *c, group += "_screen"; group += QString::number (setting->screenNum); } + else + group += "_display"...
2006 Nov 07
2
Crash when embedding R X11 windows
Dear R developers, I've been experimenting with embedding R X11 windows into another application using KDE's QXEmbed on linux. Attempting to do so will crash R (with R 2.4.0, trunk, and I know the bug has been around in prior versions). I used to think this was related to bug #848, but I'm not sure, if / how the solution suggested there still applies to current versions of R.
2018 Jul 05
0
write.table with quote=TRUE fails on nested data.frames
...se(append, "a", "w")) on.exit(close(file)) } else if (!isOpen(file, "w")) { open(file, "w") on.exit(close(file)) } if (!inherits(file, "connection")) stop("'file' must be a character string or connection") qstring <- switch(qmethod, escape = "\\\\\"", double = "\"\"") if (!is.null(col.names)) { if (append) warning("appending column names to file") if (quoteC) col.names <- paste0("\"", gsub("\"", qstring, co...
2010 May 06
1
R on kdeedu-svn library problem
...and I get the following compiler output. ------------------------------------------- ?79%] Building CXX object cantor/src/backends/R/rserver/CMakeFiles/cantor_rserver.dir/rserver.o $SOURCES/kdeedu/cantor/src/backends/R/rserver/rserver.cpp: In member function 'void RServer::runCommand(const QString&, bool)': $SOURCES/kdeedu/cantor/src/backends/R/rserver/rserver.cpp:217: warning: 'result' may be used uninitialized in this function [ 79%] Building CXX object cantor/src/backends/R/rserver/CMakeFiles/cantor_rserver.dir/rcallbacks.o [ 79%] Building CXX object cantor/src/backends...
2013 Mar 22
1
[kde-workspace] kwin/libkdecorations: KDecorationBridge becomes private again
...IR} COMPONENT Devel ) diff --git a/kwin/libkdecorations/kdecoration.cpp b/kwin/libkdecorations/kdecoration.cpp index 7ccbdb6..780842e 100644 --- a/kwin/libkdecorations/kdecoration.cpp +++ b/kwin/libkdecorations/kdecoration.cpp @@ -658,4 +658,13 @@ void KDecorationOptions::setTitleButtonsRight(const QString& b) d->title_buttons_right = b; } +extern "C" { + +int decoration_bridge_version() +{ + return KWIN_DECORATION_BRIDGE_API_VERSION; +} + +} + #include "kdecoration.moc" diff --git a/kwin/libkdecorations/kdecoration.h b/kwin/libkdecorations/kdecoration.h index 1...
2007 Feb 15
0
Encoding API
...ntries about encoding information in CHARSXPs with great interest. This looks like a very nice addition. While this is still work in progress, I'd like to suggest the following extra: At least in RKWard, all shown strings need to be converted to UTF-8 (the internal storage format used in Qt QStrings). This needs to be done independent of the current locale, and the encoding used in the embedded R process. I imagine other graphical or non-graphical toolkits will similarly use UTF-8 to store strings, internally. For this reason, an addition of e.g. char* Rf_translateCharToUTF8(SEXP); woul...
2000 Dec 30
1
selecting driver for ao
I added a couple of functions to my copy of ao. int ao_get_driver_count(void); const char * ao_get_driver_name(int index); With these, I can get a list of drivers and give the user a choice by using radio buttons, e.g. [ ] alsa [*] oss [ ] esd [ ] null [ ] wav This is a lot nicer than just asking them to enter the name of the driver. Here's the code I added to audio_out.c: const char *
2010 Mar 10
2
[Bug 26992] New: Systemsettings crashes when I try to open desktop settings
...QObject* KPluginFactory::createInstance<KWin::KWinCompositingConfig, QWidget>(QWidget*, QObject*, QList<QVariant> const&) () from /usr/lib/kde4/kcm_kwincompositing.so #18 0x00007fc5e176d8ce in KPluginFactory::create(char const*, QWidget*, QObject*, QList<QVariant> const&, QString const&) () from /usr/lib/libkdecore.so.5 #19 0x00007fc5e2f34e66 in KCModuleLoader::loadModule(KCModuleInfo const&, KCModuleLoader::ErrorReporting, QWidget*, QStringList const&) () from /usr/lib/libkutils.so.4 #20 0x00007fc5e2f3a597 in ?? () from /usr/lib/libkutils.so.4 #21 0x00007fc5e2f...
2012 Mar 14
13
[Bug 47306] New: segfault in nouveau_fence_update
...n QCoreApplication::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/i386-linux-gnu/libQtCore.so.4 No symbol table info available. #42 0xb6c0c1c8 in MythSystem::Wait(long) () from /usr/lib/libmythbase-0.25.so.0 No symbol table info available. #43 0xb6c113b9 in myth_system(QString const&, unsigned int, unsigned int) () from /usr/lib/libmythbase-0.25.so.0 No symbol table info available. #44 0xb6c67561 in ping(QString const&, int) () from /usr/lib/libmythbase-0.25.so.0 No symbol table info available. #45 0xb6c706bc in setHttpProxy() () from /usr/lib/libmythbase-0.25.so...
2009 Aug 25
3
[Bug 23505] New: KDE's Kubrick has problems with xf86-video-nouveau driver
http://bugs.freedesktop.org/show_bug.cgi?id=23505 Summary: KDE's Kubrick has problems with xf86-video-nouveau driver Product: Mesa Version: git Platform: Other OS/Version: All Status: NEW Severity: normal Priority: medium Component: Drivers/DRI/nouveau AssignedTo: nouveau at