10-25-2007
How do you feel about it?
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
First and foremost, this is not a homework for your information. I'm just new to using c-shell programming and I just wanted to make my life easier @ work.
Say, the file contains the following:
ID FILE NO. SL VP
1 1 22 33
1 2 ... (3 Replies)
Discussion started by: ilak1008
3 Replies
2. Programming
Hello all
im trying to build function that will return void function pointer
what is mean is ( not working )
the main function
void * myClass::getFunction(int type){
if(type==1)
return &myClass::Test1;
if(type==2)
return &myClass::Test2;
}
void myClass::Test1(){... (1 Reply)
Discussion started by: umen
1 Replies
3. Programming
What is the difference between f(...) , f(void),f()
I know that f(void) doesn't take any parameters, but what about f() and f(...) Does the last call of function even exists? (2 Replies)
Discussion started by: purplelightspar
2 Replies
4. UNIX for Dummies Questions & Answers
void asdf(char *asd)
is this thing a pointer? (1 Reply)
Discussion started by: khestoi
1 Replies
5. Programming
I have two or more linked lists that have the same names for their "next". For example,
struct server_t {
sockaddr_in * sin;
server_t * next_;
}
struct player_t {
char name;
player_t * next_;
}
How can I get a function to take in either type and manipulate the pointers?
I... (3 Replies)
Discussion started by: pyramation
3 Replies
6. Shell Programming and Scripting
Hi,
I need to eliminate each second void line in a text file.
novus
MILLENNIO
ineo
frater
in
episcopatus
,
presbyter
et
diacon|diaconus
, (1 Reply)
Discussion started by: mjomba
1 Replies
7. HP-UX
i am trying to convert void pointer to pthread_t on hpux-itanium 64 bit which fails as below
"src/file.cpp", line 88: error #2171: invalid type conversion
pthread_t tid = reinterpret_cast<pthread_t>(m_threadId);
1 error detected in the compilation of "src/file.cpp"
... (0 Replies)
Discussion started by: skyineyes
0 Replies
8. Programming
hi guys!
Is there such a thing as double void pointer dynamic allocation?
And if so is it something like this?
int n;
void** a;
a=malloc(n*sizeof(void*)); (12 Replies)
Discussion started by: vlm
12 Replies
9. Programming
Earlier I had one structure C
typedef struct c
{
int cc;
}CS;
I used to call a library function say int GetData(CS *x) which was returning me the above structure C with data.
GetData(CS *x)
Function call used to be like:
CS CSobj;
GetData(&CSObj);
Now there are two... (12 Replies)
Discussion started by: rupeshkp728
12 Replies
10. Programming
I have a function to which I will pass a struct ID and it will return me a string.
I will pass a pointer to store the name string and that pointer will be allocated memory by the function called.
int ConvertIDToName(void *id, void *name, size_t *size)
{
int status = 0;
... (5 Replies)
Discussion started by: rupeshkp728
5 Replies
LEARN ABOUT REDHAT
qmotifstyle
QMotifStyle(3qt) QMotifStyle(3qt)
NAME
QMotifStyle - Motif look and feel
SYNOPSIS
#include <qmotifstyle.h>
Inherits QCommonStyle.
Inherited by QCDEStyle, QMotifPlusStyle, and QSGIStyle.
Public Members
QMotifStyle ( bool useHighlightCols = FALSE )
void setUseHighlightColors ( bool arg )
bool useHighlightColors () const
DESCRIPTION
The QMotifStyle class provides Motif look and feel.
This class implements the Motif look and feel. It closely resembles the original Motif look as defined by the Open Group, but with some
minor improvements. The Motif style is Qt's default GUI style on UNIX platforms.
See also Widget Appearance and Style.
MEMBER FUNCTION DOCUMENTATION
QMotifStyle::QMotifStyle ( bool useHighlightCols = FALSE )
Constructs a QMotifStyle.
If useHighlightCols is FALSE (the default), the style will polish the application's color palette to emulate the Motif way of highlighting,
which is a simple inversion between the base and the text color.
void QMotifStyle::setUseHighlightColors ( bool arg )
If arg is FALSE, the style will polish the application's color palette to emulate the Motif way of highlighting, which is a simple
inversion between the base and the text color.
The effect will show up the next time an application palette is set via QApplication::setPalette(). The current color palette of the
application remains unchanged.
See also QStyle::polish().
bool QMotifStyle::useHighlightColors () const
Returns TRUE if the style treats the highlight colors of the palette in a Motif-like manner, which is a simple inversion between the base
and the text color; otherwise returns FALSE. The default is FALSE.
SEE ALSO
http://doc.trolltech.com/qmotifstyle.html http://www.trolltech.com/faq/tech.html
COPYRIGHT
Copyright 1992-2001 Trolltech AS, http://www.trolltech.com. See the license file included in the distribution for a complete license
statement.
AUTHOR
Generated automatically from the source code.
BUGS
If you find a bug in Qt, please report it as described in http://doc.trolltech.com/bughowto.html. Good bug reports help us to help you.
Thank you.
The definitive Qt documentation is provided in HTML format; it is located at $QTDIR/doc/html and can be read using Qt Assistant or with a
web browser. This man page is provided as a convenience for those users who prefer man pages, although this format is not officially
supported by Trolltech.
If you find errors in this manual page, please report them to qt-bugs@trolltech.com. Please include the name of the manual page
(qmotifstyle.3qt) and the Qt version (3.1.1).
Trolltech AS 9 December 2002 QMotifStyle(3qt)