From 3db895919a4cd36972dd5241f480a68fe0f4eb4d Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Wed, 18 Sep 2024 14:11:00 +0900 Subject: [PATCH] Clean up some unused stuff Signed-off-by: Michele Calgaro --- icons/__TODO/Icon1.png | Bin 237 -> 0 bytes icons/__TODO/edit-select-all.png | Bin 631 -> 0 bytes icons/__TODO/format-justify-left.png | Bin 515 -> 0 bytes icons/__TODO/icon2.ico | Bin 1214 -> 0 bytes icons/__TODO/icon2.png | Bin 237 -> 0 bytes icons/__TODO/icon3.png | Bin 257 -> 0 bytes icons/__TODO/qt_logo.png | Bin 984 -> 0 bytes src/CMakeLists.txt | 4 +- src/MainWindow.cpp | 5 +- src/__TODO/FindDialog.ui | 121 --------------------------- src/main.cpp | 11 +-- 11 files changed, 8 insertions(+), 133 deletions(-) delete mode 100755 icons/__TODO/Icon1.png delete mode 100755 icons/__TODO/edit-select-all.png delete mode 100755 icons/__TODO/format-justify-left.png delete mode 100755 icons/__TODO/icon2.ico delete mode 100755 icons/__TODO/icon2.png delete mode 100755 icons/__TODO/icon3.png delete mode 100755 icons/__TODO/qt_logo.png delete mode 100755 src/__TODO/FindDialog.ui diff --git a/icons/__TODO/Icon1.png b/icons/__TODO/Icon1.png deleted file mode 100755 index 7144147a0aed50a10f3417be65e4fb87e46f8059..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 237 zcmeAS@N?(olHy`uVBq!ia0vp^d_c_2!3HG#TlXXZDaPU;cPEB*=VV?2IV|apzK#qG z8~eHcB(ehe3dtTpz6=aiY77hwEes65fI-L15RjOeSEA?V8lqsNXJ%-zo8bUZiHE0)V~9p@a*EHKzw;YIK78S3 zK3s3a$b7;r$zaz{lWiB*{>_DNUs0@ diff --git a/icons/__TODO/edit-select-all.png b/icons/__TODO/edit-select-all.png deleted file mode 100755 index 107fc60741c5520b2120d166fb29594bcd06c8e0..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 631 zcmV--0*L*IP)=OuFt(=s#0QfxqS%9&xc>U~w@jtNu#h8l^A>q=~0302SVsrhzm6%u2 z>-FX!IRO3@{l4YvV7qm#)_w&5x_NlW%pipV#GC2*)zkaM1Bk$Alsp5SP6q(b6TrqYlC2gIdYtZB8%yjdMDPHDmeMm+s8Fxb zQ)E+cQFksB5!=u{7jf)NG8r?IiN4ijhT;F-d;d%r;Gd(ye+);1Fp5^qG6k#E+H>RR zq;5oMD#rt z*Q6D&DVzjIMri;{G}bi)7?1C*!1Q|OW&r*EMQ#zX+yKj(=nq;Tnk)@q+=4v9r2-W7 zK(~AL(}Lvr&jld!Kz7z*1^8273?LIviptBq6}1A8PqYL8QxCM;?cxALgdhl@&QvuP z0klp*{!*)3VEix81xT0M62N5gAl;-JtyT+K9$)~z??atwz6xmHgtAM-1c1%O*=qo7 zHYTDX0H3w?F=QL2(?{v1tYE$7v*rz}4Ul!A$d1`oB%QT!1%4Bin@pCqVFgs8GLvn` z1x={_)v8Tq&4jkH=GR$-Vdx|Q>HrSer0023T1!!x&1R zgtx_FQ32or;_G-9zyW}L#1*mqXo&!<0em2Sn7#wpd;v~F?jm#EY;OPn002ovPDHLk FV1gLP-hBW7 diff --git a/icons/__TODO/icon2.ico b/icons/__TODO/icon2.ico deleted file mode 100755 index c784369bb64003e24c932e1c962dad443dd38e85..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1214 zcmZQzU<5*8AqF5R!LWjbfkBLcfk6X^g@ITFh(Y4GKu~n7hN&eP2xwqU&xB3KP65$> zQUK5{D(W@a;|W1PC%_q4okLxFAyy#Uj@442Aa(79+X!UfvJoOqU3)Rp4=&rOYcIqW zxa~kLoDF0kyMgNV!YzVZifkR6OHvT z3WxnIN@e{HUx;OV{CIPRogVW}hUu>h zc24@H=iKj`bcp+j@U7iviu+I2r}*RqE!=xLK~M2&>6UWIUEK*aPKoZ-(*=td^(r@< iPFmc2fU{3Zg5kcN*2I9LjG{otFnGH9xvX}Rl8<3oNC%zs?F%}28J29*~C-V}>VM%xNb!1@J z*w6hZkrl{SNcITwWnidMV_;}#VPNJipOpL(x+y zHns`Jf{&Xu8g4vrDde&JR}-TZfBy3yRuEqkxtWc%`N)cF{t(gQ1UPI^*gnMG;Qi|8d(W;NE+M}L&r!!pfMXKE?s z14?{^l%%4VD>Ic=tEL%CXIIm$ZQss0!)1}n&gH_n7tZH=&+qp=UptV|C3JJK*@@ii zzDjN!FK}bW*mG`9UYxs=H^)1Aa;{FE+<5zmoWp2GZtN%r&d!b_!;U>12R643li7qr z$#P5x=ON7!L#nX6K?)ucg$RL}F6{s6Tpw&JT#RECn{m1J1PWU-(D1nm8sR+*Mm^QV z2G=+69di#Xhx=g*Y%dDLH+{DSDD?MY&c0wwI`TVk$!#%0a~2@7Bm@x! z3yDhCA)ARH$rM??L+<-QH=rFJIR7e-Q@JttDtyHc(+{${4yCF*rbd#%V|9`QS88Ph zXc1u>m??(jvl-Q& z%2-2Y%6-tLd53nL20L!*S&sRla>0OV%h6nYcpzpCA4ip-2Q-nP! z`=J%I47xsV#t`7In2UM37iRLSay6PJV<=edJKjt1+L2RMtDI0j+SpEH9UrbmOCU=pP`+GD!DaO)u1wKz|x7T zLyd@Ap@=FALsH!-6t^j$?5shDpeD7^5l - - FindDialog - - - - 0 - 0 - 347 - 227 - - - - Find - - - - - - - 0 - 0 - - - - Find what: - - - - - - - true - - - - - - - - 0 - 0 - - - - Find options - - - - - - Match case - - - - - - - Match whole word - - - - - - - Search forward - - - true - - - - - - - Use Regular Expressions - - - - - - - - - - TQt::Vertical - - - - 20 - 40 - - - - - - - - TQLayout::SetMaximumSize - - - - - Find Next - - - - - - - Close - - - - - - - - - - diff --git a/src/main.cpp b/src/main.cpp index 5f58b69..c923f60 100755 --- a/src/main.cpp +++ b/src/main.cpp @@ -19,9 +19,7 @@ #include "MainWindow.h" -// -- #include "IndentHandler.h" #include "SettingsPaths.h" -// -- #include "UiGuiIniFileParser.h" #include "UiGuiVersion.h" #include @@ -29,14 +27,12 @@ #include #include -// -- #include #include -// -- #include #include /*! - /brief Entry point to UniversalIndentGUI application. + /brief Entry point to UniversalIndentGUI-TQt application. */ int main(int argc, char *argv[]) { @@ -90,7 +86,6 @@ int main(int argc, char *argv[]) TQApplication app(argc, argv); MainWindow *mainWindow = NULL; -// -- IndentHandler *indentHandler = NULL; // Setting UTF-8 as default 8-Bit encoding TQTextCodec::setCodecForCStrings(TQTextCodec::codecForName("UTF-8")); @@ -101,7 +96,7 @@ int main(int argc, char *argv[]) try { - app.connect(&app, TQ_SIGNAL(lastWindowClosed()), &app, TQ_SLOT(quit())); // TODO: remove when no longer needed + app.connect(&app, TQ_SIGNAL(lastWindowClosed()), &app, TQ_SLOT(quit())); returnValue = app.exec(); } catch (std::exception &ex) @@ -109,8 +104,6 @@ int main(int argc, char *argv[]) tqDebug(TQString() + __LINE__ + " " + __FUNCTION__ + ": Something went terribly wrong: " + ex.what()); } -// -- delete indentHandler; delete mainWindow; - return returnValue; }