Bug 124161 - update new status message
Summary: update new status message
Status: RESOLVED WAITINGFORINFO
Alias: None
Product: kopete
Classification: Applications
Component: libkopete (show other bugs)
Version: unspecified
Platform: Slackware Linux
: NOR wishlist
Target Milestone: ---
Assignee: Kopete Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-03-23 23:16 UTC by Dragos Badea
Modified: 2011-03-20 22:27 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
Patch against 0.12 branch to implement this (604 bytes, patch)
2006-03-24 14:58 UTC, Philip Rodrigues
Details
kopeteawayaction.cpp after the first modification (4.00 KB, text/plain)
2006-03-24 16:10 UTC, Dragos Badea
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Dragos Badea 2006-03-23 23:16:36 UTC
Version:           0.12 beta 2 (using KDE KDE 3.5.1)
Installed from:    Slackware Packages
Compiler:          gcc 3.3.6 
OS:                Linux

I would like when I have entered a new custom status message and i want to change it, to not necesairly rewrite it. So, it would be better to have the new status textbox initialized with the last status if this exists, just like in windows YM.
Comment 1 Dragos Badea 2006-03-23 23:20:20 UTC
Sorry, it seems that I gone wrong with the instalation method. KDE is installed by Slackware package, but Kopete is compiled on my system.
Comment 2 Philip Rodrigues 2006-03-24 14:58:54 UTC
Created attachment 15280 [details]
Patch against 0.12 branch to implement this

Hopefully this patch works. I've tested it briefly.
Comment 3 Dragos Badea 2006-03-24 16:08:28 UTC
well, i've tried the patch, but it gives me an error at make time. I attached how my kopeteawayaction.cpp looks after the modification, and here you can see my error:

then mv -f ".deps/kopeteawayaction.Tpo" ".deps/kopeteawayaction.Plo"; else rm -f ".deps/kopeteawayaction.Tpo"; exit 1; fi
kopeteawayaction.cpp: In member function `void
   Kopete::AwayAction::slotSelectAway(int)':
kopeteawayaction.cpp:113: error: no match for 'operator-' in '-awayReason'
/usr/lib/qt/include/qpoint.h:157: error: candidates are: const QPoint
   operator-(const QPoint&, const QPoint&)
/usr/lib/qt/include/qpoint.h:172: error:                 const QPoint
   operator-(const QPoint&)
/usr/lib/qt/include/qsize.h:171: error:                 const QSize
   operator-(const QSize&, const QSize&)
kopeteawayaction.cpp:114: error: no match for 'operator+' in '+awayReason'
/usr/lib/qt/include/qcstring.h:354: error: candidates are: const QCString
   operator+(const QCString&, const QCString&)
/usr/lib/qt/include/qcstring.h:361: error:                 const QCString
   operator+(const QCString&, const char*)
/usr/lib/qt/include/qcstring.h:368: error:                 const QCString
   operator+(const char*, const QCString&)
/usr/lib/qt/include/qcstring.h:375: error:                 const QCString
   operator+(const QCString&, char)
/usr/lib/qt/include/qcstring.h:382: error:                 const QCString
   operator+(char, const QCString&)
/usr/lib/qt/include/qstring.h:1036: error:                 const QString
   operator+(const QString&, const QString&)
/usr/lib/qt/include/qstring.h:1059: error:                 const QString
   operator+(const QString&, QChar)
/usr/lib/qt/include/qstring.h:1066: error:                 const QString
   operator+(const QString&, char)
/usr/lib/qt/include/qstring.h:1073: error:                 const QString
   operator+(QChar, const QString&)
/usr/lib/qt/include/qstring.h:1081: error:                 const QString
   operator+(char, const QString&)
/usr/lib/qt/include/qpoint.h:154: error:                 const QPoint
   operator+(const QPoint&, const QPoint&)
/usr/lib/qt/include/qsize.h:168: error:                 const QSize
   operator+(const QSize&, const QSize&)
make[4]: *** [kopeteawayaction.lo] Error 1
make[4]: Leaving directory `/home/bedeabza/KIT/kopete-0.12-beta2/kopete/libkopete'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/home/bedeabza/KIT/kopete-0.12-beta2/kopete/libkopete'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/bedeabza/KIT/kopete-0.12-beta2/kopete'
make[1]: *** [all-recursive] Error 1
Comment 4 Dragos Badea 2006-03-24 16:10:07 UTC
Created attachment 15281 [details]
kopeteawayaction.cpp after the first modification

i don't think i did something wrong, so i don't see why it wouldn't compile.
Comment 5 Philip Rodrigues 2006-03-25 12:33:11 UTC
You need to apply the patch with the "patch" command:
In the directory containing kopeteawayaction.cpp, run
patch -p0 < kopete-away.diff
"man patch" should give you some hints if that doesn't work
Comment 6 Lamarque V. Souza 2011-03-17 23:54:20 UTC
This seems to be working in Kopete from KDE SC 4.x, can I close this bug?